From ec7cd28c3e996fa1a17d85a646211ad828726850 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 8 Mar 2026 09:30:36 +0000 Subject: [PATCH] Refactor editor.js into modules and perform feature cleanup - Split editor.js into editor-core.js, editor-actions.js, and editor-state.js. - Removed Auto Save toggle, Save Now, Sync Note, and Push All features. - Implemented mandatory internal auto-save behavior. - Redesigned Settings modal with a two-panel navigation layout. - Added a unified 'Transfer Notes' modal for Import/Export. - Implemented a custom tooltip system with intelligent positioning. - Refactored 'All Notes' dashboard with stable collapsible folders. - Fixed Split View 'Restore' bug with edge-snapping handles. - Added granular UI visibility controls for toolbar and navbar elements. - Ensured crucial buttons (Settings, Exit Focus) are protected from hiding. - Improved dark mode readability with high-contrast accent colors. Co-authored-by: apandey-dev <240406893+apandey-dev@users.noreply.github.com> --- index.html | 103 +++++++++++++++++++++++++------------------ js/editor-actions.js | 40 ----------------- js/editor-core.js | 75 ++++++++++++++----------------- js/editor-state.js | 32 ++++++++++---- js/ui.js | 37 ++++------------ server.log | 8 ---- style.css | 4 +- 7 files changed, 130 insertions(+), 169 deletions(-) delete mode 100644 server.log diff --git a/index.html b/index.html index dbed326..f1ac647 100644 --- a/index.html +++ b/index.html @@ -244,11 +244,10 @@

Menu

Line 1, Col 1 - - +
@@ -298,15 +297,15 @@

General Settings

Core editor behavior and data options.

+
- Auto Save - Save changes automatically to your storage. + Storage Status + All changes are automatically saved to your workspace. +
+
+ Active
-
@@ -319,11 +318,21 @@

UI Components

- Top App Bar - Show or hide the main navigation bar. + Cloud/Local Switcher + Show the mode toggle in the navbar.
+
+
+
+ App Actions + Notes, Manage, Share and Print buttons. +
+
@@ -340,7 +349,7 @@

UI Components

Bottom Status Bar - Show the bottom bar with word counts and theme toggle. + Show the bottom bar completely.