Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsindex 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.tsindex 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.tsxindex 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.tsxindex 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.tsxindex 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.tsxindex 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.tsxindex 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.tsindex 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.baksimilarity index 100%rename from apps/client/src/widgets/note_detail.tsrename to apps/client/src/widgets/note_detail.ts.bakdiff --git a/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsx b/apps/client/src/widgets/ribbon/BasicPropertiesTab.tsxindex 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.tsxnew file mode 100644index 0000000000..e69de29bb2diff --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.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/abstract_code_type_widget.tsrename to apps/client/src/widgets/type_widgets_old/abstract_code_type_widget.tsdiff --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.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/abstract_split_type_widget.tsrename to apps/client/src/widgets/type_widgets_old/abstract_split_type_widget.tsdiff --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.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/abstract_svg_split_type_widget.tsrename to apps/client/src/widgets/type_widgets_old/abstract_svg_split_type_widget.tsdiff --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.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/abstract_text_type_widget.tsrename to apps/client/src/widgets/type_widgets_old/abstract_text_type_widget.tsdiff --git a/apps/client/src/widgets/type_widgets/ai_chat.ts b/apps/client/src/widgets/type_widgets_old/ai_chat.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ai_chat.tsrename to apps/client/src/widgets/type_widgets_old/ai_chat.tsdiff --git a/apps/client/src/widgets/type_widgets/attachment_detail.ts b/apps/client/src/widgets/type_widgets_old/attachment_detail.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/attachment_detail.tsrename to apps/client/src/widgets/type_widgets_old/attachment_detail.tsdiff --git a/apps/client/src/widgets/type_widgets/attachment_list.ts b/apps/client/src/widgets/type_widgets_old/attachment_list.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/attachment_list.tsrename to apps/client/src/widgets/type_widgets_old/attachment_list.tsdiff --git a/apps/client/src/widgets/type_widgets/book.ts b/apps/client/src/widgets/type_widgets_old/book.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/book.tsrename to apps/client/src/widgets/type_widgets_old/book.tsdiff --git a/apps/client/src/widgets/type_widgets/canvas.ts b/apps/client/src/widgets/type_widgets_old/canvas.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/canvas.tsrename to apps/client/src/widgets/type_widgets_old/canvas.tsdiff --git a/apps/client/src/widgets/type_widgets/canvas_el.tsx b/apps/client/src/widgets/type_widgets_old/canvas_el.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/canvas_el.tsxrename to apps/client/src/widgets/type_widgets_old/canvas_el.tsxdiff --git a/apps/client/src/widgets/type_widgets/ckeditor/config.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/config.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/config.tsrename to apps/client/src/widgets/type_widgets_old/ckeditor/config.tsdiff --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.csssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.cssrename to apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.cssdiff --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.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/mobile_editor_toolbar.tsxrename to apps/client/src/widgets/type_widgets_old/ckeditor/mobile_editor_toolbar.tsxdiff --git a/apps/client/src/widgets/type_widgets/ckeditor/snippets.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/snippets.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/snippets.tsrename to apps/client/src/widgets/type_widgets_old/ckeditor/snippets.tsdiff --git a/apps/client/src/widgets/type_widgets/ckeditor/toolbar.spec.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.spec.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/toolbar.spec.tsrename to apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.spec.tsdiff --git a/apps/client/src/widgets/type_widgets/ckeditor/toolbar.ts b/apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/ckeditor/toolbar.tsrename to apps/client/src/widgets/type_widgets_old/ckeditor/toolbar.tsdiff --git a/apps/client/src/widgets/type_widgets/content/backend_log.ts b/apps/client/src/widgets/type_widgets_old/content/backend_log.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/content/backend_log.tsrename to apps/client/src/widgets/type_widgets_old/content/backend_log.tsdiff --git a/apps/client/src/widgets/type_widgets/content_widget.tsx b/apps/client/src/widgets/type_widgets_old/content_widget.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/content_widget.tsxrename to apps/client/src/widgets/type_widgets_old/content_widget.tsxdiff --git a/apps/client/src/widgets/type_widgets/doc.ts b/apps/client/src/widgets/type_widgets_old/doc.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/doc.tsrename to apps/client/src/widgets/type_widgets_old/doc.tsdiff --git a/apps/client/src/widgets/type_widgets/editable_code.ts b/apps/client/src/widgets/type_widgets_old/editable_code.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/editable_code.tsrename to apps/client/src/widgets/type_widgets_old/editable_code.tsdiff --git a/apps/client/src/widgets/type_widgets/editable_text.ts b/apps/client/src/widgets/type_widgets_old/editable_text.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/editable_text.tsrename to apps/client/src/widgets/type_widgets_old/editable_text.tsdiff --git a/apps/client/src/widgets/type_widgets/empty.ts b/apps/client/src/widgets/type_widgets_old/empty.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/empty.tsrename to apps/client/src/widgets/type_widgets_old/empty.tsdiff --git a/apps/client/src/widgets/type_widgets/file.ts b/apps/client/src/widgets/type_widgets_old/file.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/file.tsrename to apps/client/src/widgets/type_widgets_old/file.tsdiff --git a/apps/client/src/widgets/type_widgets/image.ts b/apps/client/src/widgets/type_widgets_old/image.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/image.tsrename to apps/client/src/widgets/type_widgets_old/image.tsdiff --git a/apps/client/src/widgets/type_widgets/mermaid.ts b/apps/client/src/widgets/type_widgets_old/mermaid.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/mermaid.tsrename to apps/client/src/widgets/type_widgets_old/mermaid.tsdiff --git a/apps/client/src/widgets/type_widgets/mind_map.ts b/apps/client/src/widgets/type_widgets_old/mind_map.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/mind_map.tsrename to apps/client/src/widgets/type_widgets_old/mind_map.tsdiff --git a/apps/client/src/widgets/type_widgets/none.ts b/apps/client/src/widgets/type_widgets_old/none.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/none.tsrename to apps/client/src/widgets/type_widgets_old/none.tsdiff --git a/apps/client/src/widgets/type_widgets/note_map.ts b/apps/client/src/widgets/type_widgets_old/note_map.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/note_map.tsrename to apps/client/src/widgets/type_widgets_old/note_map.tsdiff --git a/apps/client/src/widgets/type_widgets/options/advanced.tsx b/apps/client/src/widgets/type_widgets_old/options/advanced.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/advanced.tsxrename to apps/client/src/widgets/type_widgets_old/options/advanced.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/ai_settings.tsx b/apps/client/src/widgets/type_widgets_old/options/ai_settings.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/ai_settings.tsxrename to apps/client/src/widgets/type_widgets_old/options/ai_settings.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets_old/options/appearance.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/appearance.tsxrename to apps/client/src/widgets/type_widgets_old/options/appearance.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/backup.tsx b/apps/client/src/widgets/type_widgets_old/options/backup.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/backup.tsxrename to apps/client/src/widgets/type_widgets_old/options/backup.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/code_notes.css b/apps/client/src/widgets/type_widgets_old/options/code_notes.csssimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/code_notes.cssrename to apps/client/src/widgets/type_widgets_old/options/code_notes.cssdiff --git a/apps/client/src/widgets/type_widgets/options/code_notes.tsx b/apps/client/src/widgets/type_widgets_old/options/code_notes.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/code_notes.tsxrename to apps/client/src/widgets/type_widgets_old/options/code_notes.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/AutoReadOnlySize.tsx b/apps/client/src/widgets/type_widgets_old/options/components/AutoReadOnlySize.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/AutoReadOnlySize.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/AutoReadOnlySize.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/CheckboxList.tsx b/apps/client/src/widgets/type_widgets_old/options/components/CheckboxList.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/CheckboxList.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/CheckboxList.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsRow.css b/apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.csssimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/OptionsRow.cssrename to apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.cssdiff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsRow.tsx b/apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/OptionsRow.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/OptionsRow.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/OptionsSection.tsx b/apps/client/src/widgets/type_widgets_old/options/components/OptionsSection.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/OptionsSection.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/OptionsSection.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/RelatedSettings.tsx b/apps/client/src/widgets/type_widgets_old/options/components/RelatedSettings.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/RelatedSettings.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/RelatedSettings.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/components/TimeSelector.tsx b/apps/client/src/widgets/type_widgets_old/options/components/TimeSelector.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/components/TimeSelector.tsxrename to apps/client/src/widgets/type_widgets_old/options/components/TimeSelector.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/etapi.tsx b/apps/client/src/widgets/type_widgets_old/options/etapi.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/etapi.tsxrename to apps/client/src/widgets/type_widgets_old/options/etapi.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/i18n.tsx b/apps/client/src/widgets/type_widgets_old/options/i18n.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/i18n.tsxrename to apps/client/src/widgets/type_widgets_old/options/i18n.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/images.tsx b/apps/client/src/widgets/type_widgets_old/options/images.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/images.tsxrename to apps/client/src/widgets/type_widgets_old/options/images.tsxdiff --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.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/multi_factor_authentication.tsxrename to apps/client/src/widgets/type_widgets_old/options/multi_factor_authentication.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/other.tsx b/apps/client/src/widgets/type_widgets_old/options/other.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/other.tsxrename to apps/client/src/widgets/type_widgets_old/options/other.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/password.tsx b/apps/client/src/widgets/type_widgets_old/options/password.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/password.tsxrename to apps/client/src/widgets/type_widgets_old/options/password.tsxdiff --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.txtsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/samples/code_note.txtrename to apps/client/src/widgets/type_widgets_old/options/samples/code_note.txtdiff --git a/apps/client/src/widgets/type_widgets/options/shortcuts.tsx b/apps/client/src/widgets/type_widgets_old/options/shortcuts.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/shortcuts.tsxrename to apps/client/src/widgets/type_widgets_old/options/shortcuts.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx b/apps/client/src/widgets/type_widgets_old/options/spellcheck.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/spellcheck.tsxrename to apps/client/src/widgets/type_widgets_old/options/spellcheck.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/sync.tsx b/apps/client/src/widgets/type_widgets_old/options/sync.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/sync.tsxrename to apps/client/src/widgets/type_widgets_old/options/sync.tsxdiff --git a/apps/client/src/widgets/type_widgets/options/text_notes.tsx b/apps/client/src/widgets/type_widgets_old/options/text_notes.tsxsimilarity index 100%rename from apps/client/src/widgets/type_widgets/options/text_notes.tsxrename to apps/client/src/widgets/type_widgets_old/options/text_notes.tsxdiff --git a/apps/client/src/widgets/type_widgets/protected_session.ts b/apps/client/src/widgets/type_widgets_old/protected_session.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/protected_session.tsrename to apps/client/src/widgets/type_widgets_old/protected_session.tsdiff --git a/apps/client/src/widgets/type_widgets/read_only_code.ts b/apps/client/src/widgets/type_widgets_old/read_only_code.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/read_only_code.tsrename to apps/client/src/widgets/type_widgets_old/read_only_code.tsdiff --git a/apps/client/src/widgets/type_widgets/read_only_text.ts b/apps/client/src/widgets/type_widgets_old/read_only_text.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/read_only_text.tsrename to apps/client/src/widgets/type_widgets_old/read_only_text.tsdiff --git a/apps/client/src/widgets/type_widgets/relation_map.ts b/apps/client/src/widgets/type_widgets_old/relation_map.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/relation_map.tsrename to apps/client/src/widgets/type_widgets_old/relation_map.tsdiff --git a/apps/client/src/widgets/type_widgets/render.ts b/apps/client/src/widgets/type_widgets_old/render.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/render.tsrename to apps/client/src/widgets/type_widgets_old/render.tsdiff --git a/apps/client/src/widgets/type_widgets/type_widget.ts b/apps/client/src/widgets/type_widgets_old/type_widget.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/type_widget.tsrename to apps/client/src/widgets/type_widgets_old/type_widget.tsdiff --git a/apps/client/src/widgets/type_widgets/web_view.ts b/apps/client/src/widgets/type_widgets_old/web_view.tssimilarity index 100%rename from apps/client/src/widgets/type_widgets/web_view.tsrename to apps/client/src/widgets/type_widgets_old/web_view.ts