Open recent dropwdown (#588)

* set up open recent basic UI

* fix sorting bug

* add overflow

* handle no saved diagrams

* better dates and translations

* bug fix open recent not updating when diagram opened through modal

* fix for test cases

* updates as guided

* bumped down luxon changed diagrams variable name and added translation usage for see all

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* Update src/components/EditorHeader/ControlPanel.jsx

Co-authored-by: 1ilit <1ilit@proton.me>

* cleanup suggestions

* reveret non required changes

---------

Co-authored-by: 1ilit <1ilit@proton.me>
This commit is contained in:
Nimit Sharma
2025-09-27 02:39:38 +05:30
committed by GitHub
parent a2e453f398
commit 7359cb72c6
4 changed files with 118 additions and 26 deletions

View File

@@ -15,7 +15,9 @@ const en = {
file: "File",
new: "New",
new_window: "New window",
no_saved_diagrams: "You have no saved diagrams",
open: "Open",
open_recent: "Open Recent",
save: "Save",
save_as: "Save as",
save_as_template: "Save as template",
@@ -276,6 +278,7 @@ const en = {
cache_cleared: "Cache cleared",
failed_to_record_version: "Failed to record version",
failed_to_load_diagram: "Failed to load diagram",
see_all: "See all",
},
};