Skip to content

Build your personal knowledge base with Trilium Notes

chore(react/type_widget): move old widgets

Elian Doran1fb329565fcd
diff --git a/apps/client/src/components/app_context.ts b/apps/client/src/components/app_context.ts
index ce33d14470..49fab20c0d 100644
--- a/apps/client/src/components/app_context.ts
+++ b/apps/client/src/components/app_context.ts
@@ -21,8 +21,8 @@ import type LoadResults from "../services/load_results.js";
import type { Attribute } from "../services/attribute_parser.js";
import type NoteTreeWidget from "../widgets/note_tree.js";
import type { default as NoteContext, GetTextEditorCallback } from "./note_context.js";
-import type TypeWidget from "../widgets/type_widgets/type_widget.js";
-import type EditableTextTypeWidget from "../widgets/type_widgets/editable_text.js";
+import type TypeWidget from "../widgets/type_widgets_old/type_widget.js";
+import type EditableTextTypeWidget from "../widgets/type_widgets_old/editable_text.js";
import type { NativeImage, TouchBar } from "electron";
import TouchBarComponent from "./touch_bar.js";
import type { CKTextEditor } from "@triliumnext/ckeditor5";
diff --git a/apps/client/src/components/note_context.ts b/apps/client/src/components/note_context.ts
index 1bc4e5498e..2197117383 100644
--- a/apps/client/src/components/note_context.ts
+++ b/apps/client/src/components/note_context.ts
@@ -9,7 +9,7 @@ import hoistedNoteService from "../services/hoisted_note.js";
import options from "../services/options.js";
import type { ViewScope } from "../services/link.js";
import type FNote from "../entities/fnote.js";
-import type TypeWidget from "../widgets/type_widgets/type_widget.js";
+import type TypeWidget from "../widgets/type_widgets_old/type_widget.js";
import type { CKTextEditor } from "@triliumnext/ckeditor5";
import type CodeMirror from "@triliumnext/codemirror";
import { closeActiveDialog } from "../services/dialog.js";
diff --git a/apps/client/src/layouts/layout_commons.tsx b/apps/client/src/layouts/layout_commons.tsx
index 292006011a..7f187baa06 100644
--- a/apps/client/src/layouts/layout_commons.tsx
+++ b/apps/client/src/layouts/layout_commons.tsx
@@ -26,11 +26,11 @@ import PopupEditorDialog from "../widgets/dialogs/popup_editor.js";
import FlexContainer from "../widgets/containers/flex_container.js";
import NoteIconWidget from "../widgets/note_icon";
import PromotedAttributesWidget from "../widgets/promoted_attributes.js";
-import NoteDetailWidget from "../widgets/note_detail.js";
import CallToActionDialog from "../widgets/dialogs/call_to_action.jsx";
import NoteTitleWidget from "../widgets/note_title.jsx";
import { PopupEditorFormattingToolbar } from "../widgets/ribbon/FormattingToolbar.js";
import NoteList from "../widgets/collections/NoteList.jsx";
+import NoteDetail from "../widgets/NoteDetail.jsx";
export function applyModals(rootContainer: RootContainer) {
rootContainer
@@ -65,7 +65,7 @@ export function applyModals(rootContainer: RootContainer) {
.child(<NoteTitleWidget />))
.child(<PopupEditorFormattingToolbar />)
.child(new PromotedAttributesWidget())
- .child(new NoteDetailWidget())
+ .child(<NoteDetail />)
.child(<NoteList displayOnlyCollections />))
.child(<CallToActionDialog />);
}
diff --git a/apps/client/src/layouts/mobile_layout.tsx b/apps/client/src/layouts/mobile_layout.tsx
index 1bc9444185..a825d80614 100644
--- a/apps/client/src/layouts/mobile_layout.tsx
+++ b/apps/client/src/layouts/mobile_layout.tsx
@@ -13,7 +13,7 @@ import PromotedAttributesWidget from "../widgets/promoted_attributes.js";
import SidebarContainer from "../widgets/mobile_widgets/sidebar_container.js";
import type AppContext from "../components/app_context.js";
import TabRowWidget from "../widgets/tab_row.js";
-import MobileEditorToolbar from "../widgets/type_widgets/ckeditor/mobile_editor_toolbar.js";
+import MobileEditorToolbar from "../widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.js";
import { applyModals } from "./layout_commons.js";
import FilePropertiesTab from "../widgets/ribbon/FilePropertiesTab.jsx";
import { useNoteContext } from "../widgets/react/hooks.jsx";
diff --git a/apps/client/src/widgets/NoteDetail.tsx b/apps/client/src/widgets/NoteDetail.tsx
index c45a11fa77..bdc35bf619 100644
--- a/apps/client/src/widgets/NoteDetail.tsx
+++ b/apps/client/src/widgets/NoteDetail.tsx
@@ -11,6 +11,9 @@ import NoteContext from "../components/note_context";
*/
type ExtendedNoteType = Exclude<NoteType, "launcher" | "text" | "code"> | "empty" | "readOnlyCode" | "readOnlyText" | "editableText" | "editableCode" | "attachmentDetail" | "attachmentList" | "protectedSession" | "aiChat";
+/**
+ * The note detail is in charge of rendering the content of a note, by determining its type (e.g. text, code) and using the appropriate view widget.
+ */
export default function NoteDetail() {
const { note, type } = useNoteInfo();
diff --git a/apps/client/src/widgets/dialogs/add_link.tsx b/apps/client/src/widgets/dialogs/add_link.tsx
index 97440491da..6128dca946 100644
--- a/apps/client/src/widgets/dialogs/add_link.tsx
+++ b/apps/client/src/widgets/dialogs/add_link.tsx
@@ -6,7 +6,7 @@ import NoteAutocomplete from "../react/NoteAutocomplete";
import { useRef, useState, useEffect } from "preact/hooks";
import tree from "../../services/tree";
import note_autocomplete, { Suggestion } from "../../services/note_autocomplete";
-import { default as TextTypeWidget } from "../type_widgets/editable_text.js";
+import { default as TextTypeWidget } from "../type_widgets_old/editable_text.js";
import { logError } from "../../services/ws";
import FormGroup from "../react/FormGroup.js";
import { refToJQuerySelector } from "../react/react_utils";
diff --git a/apps/client/src/widgets/dialogs/include_note.tsx b/apps/client/src/widgets/dialogs/include_note.tsx
index 911ed0dc09..dc3498430c 100644
--- a/apps/client/src/widgets/dialogs/include_note.tsx
+++ b/apps/client/src/widgets/dialogs/include_note.tsx
@@ -8,7 +8,7 @@ import Button from "../react/Button";
import { Suggestion, triggerRecentNotes } from "../../services/note_autocomplete";
import tree from "../../services/tree";
import froca from "../../services/froca";
-import EditableTextTypeWidget, { type BoxSize } from "../type_widgets/editable_text";
+import EditableTextTypeWidget, { type BoxSize } from "../type_widgets_old/editable_text";
import { useTriliumEvent } from "../react/hooks";
export default function IncludeNoteDialog() {
@@ -83,4 +83,4 @@ async function includeNote(notePath: string, textTypeWidget: EditableTextTypeWid
} else {
textTypeWidget.addIncludeNote(noteId, boxSize);
}
-}
\ No newline at end of file
+}
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.ts
index 3c06dd5dfa..0ec6adfebc 100644
--- a/apps/client/src/widgets/dialogs/popup_editor.ts
+++ b/apps/client/src/widgets/dialogs/popup_editor.ts
@@ -3,7 +3,7 @@ import NoteContext from "../../components/note_context.js";
import { openDialog } from "../../services/dialog.js";
import BasicWidget from "../basic_widget.js";
import Container from "../containers/container.js";
-import TypeWidget from "../type_widgets/type_widget.js";
+import TypeWidget from "../type_widgets_old/type_widget.js";
const TPL = /*html*/`\
<div class="popup-editor-dialog modal fade mx-auto" tabindex="-1" role="dialog">
diff --git a/apps/client/src/widgets/note_detail.ts b/apps/client/src/widgets/note_detail.ts.bak
similarity index 100%
rename from apps/client/src/widgets/note_detail.ts
rename to apps/client/src/widgets/note_detail.ts.bak
diff --git a/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsx b/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsx
index 2232503db3..ab3003640c 100644
--- a/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsx
+++ b/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsx
@@ -18,8 +18,8 @@ import sync from "../../services/sync";
import HelpButton from "../react/HelpButton";
import { TabContext } from "./ribbon-interface";
import Modal from "../react/Modal";
-import { CodeMimeTypesList } from "../type_widgets/options/code_notes";
-import { ContentLanguagesList } from "../type_widgets/options/i18n";
+import { CodeMimeTypesList } from "../type_widgets_old/options/code_notes";
+import { ContentLanguagesList } from "../type_widgets_old/options/i18n";
export default function BasicPropertiesTab({ note }: TabContext) {
return (
diff --git a/apps/client/src/widgets/type_widgets/Empty.tsx b/apps/client/src/widgets/type_widgets/Empty.tsx
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/apps/client/src/widgets/type_widgets/abstract_code_type_widget.ts b/apps/client/src/widgets/type_widgets_old/abstract_code_type_widget.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/abstract_code_type_widget.ts
rename to apps/client/src/widgets/type_widgets_old/abstract_code_type_widget.ts
diff --git a/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts b/apps/client/src/widgets/type_widgets_old/abstract_split_type_widget.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts
rename to apps/client/src/widgets/type_widgets_old/abstract_split_type_widget.ts
diff --git a/apps/client/src/widgets/type_widgets/abstract_svg_split_type_widget.ts b/apps/client/src/widgets/type_widgets_old/abstract_svg_split_type_widget.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/abstract_svg_split_type_widget.ts
rename to apps/client/src/widgets/type_widgets_old/abstract_svg_split_type_widget.ts
diff --git a/apps/client/src/widgets/type_widgets/abstract_text_type_widget.ts b/apps/client/src/widgets/type_widgets_old/abstract_text_type_widget.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/abstract_text_type_widget.ts
rename to apps/client/src/widgets/type_widgets_old/abstract_text_type_widget.ts
diff --git a/apps/client/src/widgets/type_widgets/ai_chat.ts b/apps/client/src/widgets/type_widgets_old/ai_chat.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ai_chat.ts
rename to apps/client/src/widgets/type_widgets_old/ai_chat.ts
diff --git a/apps/client/src/widgets/type_widgets/attachment_detail.ts b/apps/client/src/widgets/type_widgets_old/attachment_detail.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/attachment_detail.ts
rename to apps/client/src/widgets/type_widgets_old/attachment_detail.ts
diff --git a/apps/client/src/widgets/type_widgets/attachment_list.ts b/apps/client/src/widgets/type_widgets_old/attachment_list.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/attachment_list.ts
rename to apps/client/src/widgets/type_widgets_old/attachment_list.ts
diff --git a/apps/client/src/widgets/type_widgets/book.ts b/apps/client/src/widgets/type_widgets_old/book.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/book.ts
rename to apps/client/src/widgets/type_widgets_old/book.ts
diff --git a/apps/client/src/widgets/type_widgets/canvas.ts b/apps/client/src/widgets/type_widgets_old/canvas.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/canvas.ts
rename to apps/client/src/widgets/type_widgets_old/canvas.ts
diff --git a/apps/client/src/widgets/type_widgets/canvas_el.tsx b/apps/client/src/widgets/type_widgets_old/canvas_el.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/canvas_el.tsx
rename to apps/client/src/widgets/type_widgets_old/canvas_el.tsx
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/config.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/config.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/config.ts
rename to apps/client/src/widgets/type_widgets_old/ckeditor/config.ts
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.css b/apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.css
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.css
rename to apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.css
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.tsx b/apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.tsx
rename to apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.tsx
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/snippets.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/snippets.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/snippets.ts
rename to apps/client/src/widgets/type_widgets_old/ckeditor/snippets.ts
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/toolbar.spec.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.spec.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/toolbar.spec.ts
rename to apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.spec.ts
diff --git a/apps/client/src/widgets/type_widgets/ckeditor/toolbar.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/ckeditor/toolbar.ts
rename to apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.ts
diff --git a/apps/client/src/widgets/type_widgets/content/backend_log.ts b/apps/client/src/widgets/type_widgets_old/content/backend_log.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/content/backend_log.ts
rename to apps/client/src/widgets/type_widgets_old/content/backend_log.ts
diff --git a/apps/client/src/widgets/type_widgets/content_widget.tsx b/apps/client/src/widgets/type_widgets_old/content_widget.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/content_widget.tsx
rename to apps/client/src/widgets/type_widgets_old/content_widget.tsx
diff --git a/apps/client/src/widgets/type_widgets/doc.ts b/apps/client/src/widgets/type_widgets_old/doc.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/doc.ts
rename to apps/client/src/widgets/type_widgets_old/doc.ts
diff --git a/apps/client/src/widgets/type_widgets/editable_code.ts b/apps/client/src/widgets/type_widgets_old/editable_code.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/editable_code.ts
rename to apps/client/src/widgets/type_widgets_old/editable_code.ts
diff --git a/apps/client/src/widgets/type_widgets/editable_text.ts b/apps/client/src/widgets/type_widgets_old/editable_text.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/editable_text.ts
rename to apps/client/src/widgets/type_widgets_old/editable_text.ts
diff --git a/apps/client/src/widgets/type_widgets/empty.ts b/apps/client/src/widgets/type_widgets_old/empty.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/empty.ts
rename to apps/client/src/widgets/type_widgets_old/empty.ts
diff --git a/apps/client/src/widgets/type_widgets/file.ts b/apps/client/src/widgets/type_widgets_old/file.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/file.ts
rename to apps/client/src/widgets/type_widgets_old/file.ts
diff --git a/apps/client/src/widgets/type_widgets/image.ts b/apps/client/src/widgets/type_widgets_old/image.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/image.ts
rename to apps/client/src/widgets/type_widgets_old/image.ts
diff --git a/apps/client/src/widgets/type_widgets/mermaid.ts b/apps/client/src/widgets/type_widgets_old/mermaid.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/mermaid.ts
rename to apps/client/src/widgets/type_widgets_old/mermaid.ts
diff --git a/apps/client/src/widgets/type_widgets/mind_map.ts b/apps/client/src/widgets/type_widgets_old/mind_map.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/mind_map.ts
rename to apps/client/src/widgets/type_widgets_old/mind_map.ts
diff --git a/apps/client/src/widgets/type_widgets/none.ts b/apps/client/src/widgets/type_widgets_old/none.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/none.ts
rename to apps/client/src/widgets/type_widgets_old/none.ts
diff --git a/apps/client/src/widgets/type_widgets/note_map.ts b/apps/client/src/widgets/type_widgets_old/note_map.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/note_map.ts
rename to apps/client/src/widgets/type_widgets_old/note_map.ts
diff --git a/apps/client/src/widgets/type_widgets/options/advanced.tsx b/apps/client/src/widgets/type_widgets_old/options/advanced.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/advanced.tsx
rename to apps/client/src/widgets/type_widgets_old/options/advanced.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/ai_settings.tsx b/apps/client/src/widgets/type_widgets_old/options/ai_settings.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/ai_settings.tsx
rename to apps/client/src/widgets/type_widgets_old/options/ai_settings.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets_old/options/appearance.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/appearance.tsx
rename to apps/client/src/widgets/type_widgets_old/options/appearance.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/backup.tsx b/apps/client/src/widgets/type_widgets_old/options/backup.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/backup.tsx
rename to apps/client/src/widgets/type_widgets_old/options/backup.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/code_notes.css b/apps/client/src/widgets/type_widgets_old/options/code_notes.css
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/code_notes.css
rename to apps/client/src/widgets/type_widgets_old/options/code_notes.css
diff --git a/apps/client/src/widgets/type_widgets/options/code_notes.tsx b/apps/client/src/widgets/type_widgets_old/options/code_notes.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/code_notes.tsx
rename to apps/client/src/widgets/type_widgets_old/options/code_notes.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/AutoReadOnlySize.tsx b/apps/client/src/widgets/type_widgets_old/options/components/AutoReadOnlySize.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/AutoReadOnlySize.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/AutoReadOnlySize.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/CheckboxList.tsx b/apps/client/src/widgets/type_widgets_old/options/components/CheckboxList.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/CheckboxList.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/CheckboxList.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsRow.css b/apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.css
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/OptionsRow.css
rename to apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.css
diff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsRow.tsx b/apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/OptionsRow.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsSection.tsx b/apps/client/src/widgets/type_widgets_old/options/components/OptionsSection.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/OptionsSection.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/OptionsSection.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/RelatedSettings.tsx b/apps/client/src/widgets/type_widgets_old/options/components/RelatedSettings.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/RelatedSettings.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/RelatedSettings.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/components/TimeSelector.tsx b/apps/client/src/widgets/type_widgets_old/options/components/TimeSelector.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/components/TimeSelector.tsx
rename to apps/client/src/widgets/type_widgets_old/options/components/TimeSelector.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/etapi.tsx b/apps/client/src/widgets/type_widgets_old/options/etapi.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/etapi.tsx
rename to apps/client/src/widgets/type_widgets_old/options/etapi.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/i18n.tsx b/apps/client/src/widgets/type_widgets_old/options/i18n.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/i18n.tsx
rename to apps/client/src/widgets/type_widgets_old/options/i18n.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/images.tsx b/apps/client/src/widgets/type_widgets_old/options/images.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/images.tsx
rename to apps/client/src/widgets/type_widgets_old/options/images.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/multi_factor_authentication.tsx b/apps/client/src/widgets/type_widgets_old/options/multi_factor_authentication.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/multi_factor_authentication.tsx
rename to apps/client/src/widgets/type_widgets_old/options/multi_factor_authentication.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/other.tsx b/apps/client/src/widgets/type_widgets_old/options/other.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/other.tsx
rename to apps/client/src/widgets/type_widgets_old/options/other.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/password.tsx b/apps/client/src/widgets/type_widgets_old/options/password.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/password.tsx
rename to apps/client/src/widgets/type_widgets_old/options/password.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/samples/code_note.txt b/apps/client/src/widgets/type_widgets_old/options/samples/code_note.txt
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/samples/code_note.txt
rename to apps/client/src/widgets/type_widgets_old/options/samples/code_note.txt
diff --git a/apps/client/src/widgets/type_widgets/options/shortcuts.tsx b/apps/client/src/widgets/type_widgets_old/options/shortcuts.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/shortcuts.tsx
rename to apps/client/src/widgets/type_widgets_old/options/shortcuts.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx b/apps/client/src/widgets/type_widgets_old/options/spellcheck.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/spellcheck.tsx
rename to apps/client/src/widgets/type_widgets_old/options/spellcheck.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/sync.tsx b/apps/client/src/widgets/type_widgets_old/options/sync.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/sync.tsx
rename to apps/client/src/widgets/type_widgets_old/options/sync.tsx
diff --git a/apps/client/src/widgets/type_widgets/options/text_notes.tsx b/apps/client/src/widgets/type_widgets_old/options/text_notes.tsx
similarity index 100%
rename from apps/client/src/widgets/type_widgets/options/text_notes.tsx
rename to apps/client/src/widgets/type_widgets_old/options/text_notes.tsx
diff --git a/apps/client/src/widgets/type_widgets/protected_session.ts b/apps/client/src/widgets/type_widgets_old/protected_session.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/protected_session.ts
rename to apps/client/src/widgets/type_widgets_old/protected_session.ts
diff --git a/apps/client/src/widgets/type_widgets/read_only_code.ts b/apps/client/src/widgets/type_widgets_old/read_only_code.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/read_only_code.ts
rename to apps/client/src/widgets/type_widgets_old/read_only_code.ts
diff --git a/apps/client/src/widgets/type_widgets/read_only_text.ts b/apps/client/src/widgets/type_widgets_old/read_only_text.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/read_only_text.ts
rename to apps/client/src/widgets/type_widgets_old/read_only_text.ts
diff --git a/apps/client/src/widgets/type_widgets/relation_map.ts b/apps/client/src/widgets/type_widgets_old/relation_map.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/relation_map.ts
rename to apps/client/src/widgets/type_widgets_old/relation_map.ts
diff --git a/apps/client/src/widgets/type_widgets/render.ts b/apps/client/src/widgets/type_widgets_old/render.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/render.ts
rename to apps/client/src/widgets/type_widgets_old/render.ts
diff --git a/apps/client/src/widgets/type_widgets/type_widget.ts b/apps/client/src/widgets/type_widgets_old/type_widget.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/type_widget.ts
rename to apps/client/src/widgets/type_widgets_old/type_widget.ts
diff --git a/apps/client/src/widgets/type_widgets/web_view.ts b/apps/client/src/widgets/type_widgets_old/web_view.ts
similarity index 100%
rename from apps/client/src/widgets/type_widgets/web_view.ts
rename to apps/client/src/widgets/type_widgets_old/web_view.ts