From ccf52be431489ec397a18a1b81e08ade128f57fa Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 18 Aug 2025 18:47:18 +0300 Subject: [PATCH] feat(react/settings): port tray options --- .../widgets/type_widgets/content_widget.tsx | 11 +------ .../widgets/type_widgets/options/other.tsx | 20 ++++++++++- .../type_widgets/options/other/tray.ts | 33 ------------------- 3 files changed, 20 insertions(+), 44 deletions(-) delete mode 100644 apps/client/src/widgets/type_widgets/options/other/tray.ts diff --git a/apps/client/src/widgets/type_widgets/content_widget.tsx b/apps/client/src/widgets/type_widgets/content_widget.tsx index ba5150c76..8757df2b4 100644 --- a/apps/client/src/widgets/type_widgets/content_widget.tsx +++ b/apps/client/src/widgets/type_widgets/content_widget.tsx @@ -1,15 +1,5 @@ import TypeWidget from "./type_widget.js"; -import SearchEngineOptions from "./options/other/search_engine.js"; -import TrayOptions from "./options/other/tray.js"; -import NoteErasureTimeoutOptions from "./options/other/note_erasure_timeout.js"; -import RevisionsSnapshotIntervalOptions from "./options/other/revisions_snapshot_interval.js"; -import RevisionSnapshotsLimitOptions from "./options/other/revision_snapshots_limit.js"; -import NetworkConnectionsOptions from "./options/other/network_connections.js"; -import HtmlImportTagsOptions from "./options/other/html_import_tags.js"; -import BackendLogWidget from "./content/backend_log.js"; -import AttachmentErasureTimeoutOptions from "./options/other/attachment_erasure_timeout.js"; import MultiFactorAuthenticationOptions from './options/multi_factor_authentication.js'; -import ShareSettingsOptions from "./options/other/share_settings.js"; import AiSettingsOptions from "./options/ai_settings.js"; import type FNote from "../../entities/fnote.js"; import type NoteContextAwareWidget from "../note_context_aware_widget.js"; @@ -30,6 +20,7 @@ import ShortcutSettings from "./options/shortcuts.js"; import TextNoteSettings from "./options/text_notes.jsx"; import CodeNoteSettings from "./options/code_notes.jsx"; import OtherSettings from "./options/other.jsx"; +import BackendLogWidget from "./content/backend_log.js"; const TPL = /*html*/`