Fahd Arafat
c7303ea465
Add new workflow button in topbar for tab view ( #1903 )
2024-12-13 14:14:13 -08:00
filtered
929e3a5733
Add native context menu when using desktop ( #1875 )
...
* Add system menu to elements
* Add desktop text context menu control
* Update electron types
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-12-11 11:29:14 -08:00
filtered
c2145b6f45
Adjust UI theme slightly ( #1853 )
...
* Format CSS - prettier
* Cast Minor Shadows
Adds faint shadows to the top and side bars
* Darken the sidebar slightly
* Add theme config for bar shadows
* Fix menu item alignment and spacing
* [Refactor] Prefer canvas setDirty over draw
- nits
- types
2024-12-09 15:03:14 -08:00
Chenlei Hu
7986aebf27
Translate command label on top command dropdown menu ( #1792 )
...
* collect i18n with playwright
* Add command label translation
* Normalize i18n object key
2024-12-04 13:19:53 -05:00
Chenlei Hu
1856479de9
Translate topbar command menu ( #1784 )
...
* Rename script
* Translate menu labels
* Update translations
* Display translated menu items
2024-12-03 22:51:15 -05:00
pythongosssss
89a9288154
Support closing tab with middle click ( #1761 )
2024-12-02 15:09:46 -05:00
pythongosssss
17b7ef18d6
Add context menu to tabs ( #1759 )
...
* Add context menu to tabs
* Flatten menu
Translate
* Add translations
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-12-02 13:19:39 -05:00
Chenlei Hu
069dc67c30
Reland "Fix undo / redo filling with empty steps" ( #1653 )
...
* Revert "Revert "Fix undo / redo filling with empty steps (#1649 )" (#1652 )"
This reverts commit 7623810166 .
* Update test expectations
* Add dirty flag if workflow is not persisted
* Add dirty flag to other UI areas for new workflows
* Remove redundant code
* Fix regression: undo / redo steps lost on refresh
The history is still be cleared, but any changes made by issuing undo / redo comands prior to refresh are not lost.
* Update test expectations
Partially reverts f8cc2c0d67 - adds dirty flags back to unsaved workflows.
---------
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2024-11-23 09:49:12 -05:00
Chenlei Hu
0a7000328a
Add menu button to toggle focus mode ( #1446 )
...
* Add focus mode toggle button
* handle menu position
* nit
2024-11-06 20:56:32 -05:00
Chenlei Hu
c56533bb23
Workflow Management Reworked ( #1406 )
...
* Merge temp userfile
Basic migration
Remove deprecated isFavourite
Rename
nit
nit
Rework open/load
Refactor save
Refactor delete
Remove workflow dep on manager
WIP
Change map to record
Fix directory
nit
isActive
Move
nit
Add unload
Add close workflow
Remove workflowManager.closeWorkflow
nit
Remove workflowManager.storePrompt
move from commandStore
move more from commandStore
nit
Use workflowservice
nit
nit
implement setWorkflow
nit
Remove workflows.ts
Fix strict errors
nit
nit
Resolves circular dep
nit
nit
Fix workflow switching
Add openworkflowPaths
Fix store
Fix key
Serialize by default
Fix proxy
nit
Update path
Proper sync
Fix tabs
WIP
nit
Resolve merge conflict
Fix userfile store tests
Update jest test
Update tabs
patch tests
Fix changeTracker init
Move insert to service
nit
Fix insert
nit
Handle bookmark rename
Refactor tests
Add delete workflow
Add test on deleting workflow
Add closeWorkflow tests
nit
* Fix path
* Move load next/previous
* Move logic from store to service
* nit
* nit
* nit
* nit
* nit
* Add ChangeTracker.initialState
* ChangeTracker load/unload
* Remove app.changeWorkflow
* Hook to app.ts
* Changetracker restore
* nit
* nit
* nit
* Add debug logs
* Remove unnecessary checkState on graphLoad
* nit
* Fix strict
* Fix temp workflow name
* Track ismodified
* Fix reactivity
* nit
* Fix graph equal
* nit
* update test
* nit
* nit
* Fix modified state
* nit
* Fix modified state
* Sidebar force close
* tabs force close
* Fix save
* Add load remote workflow test
* Force save
* Add save test
* nit
* Correctly handle delete last opened workflow
* nit
* Fix workflow rename
* Fix save
* Fix tests
* Fix strict
* Update playwright tests
* Fix filename conflict handling
* nit
* Merge temporary and persisted ref
* Update playwright expectations
* nit
* nit
* Fix saveAs
* Add playwright test
* nit
2024-11-05 11:03:27 -05:00
Chenlei Hu
97c38583e9
Rename workspaceStateStore to workspaceStore ( #1374 )
2024-10-30 09:49:23 -04:00
Chenlei Hu
35fab0bef3
Focus mode ( #1365 )
...
* Menu hamburger
* Focus
* nit
* nit
* nit
* Update test expectations [skip ci]
---------
Co-authored-by: github-actions <github-actions@github.com >
2024-10-29 17:25:18 -04:00
Chenlei Hu
d142893244
Add bottom panel support ( #1294 )
...
* Add bottom panel
* Bottom panel store
* Extract ExtensionSlot component
* Tab rendering
* Add toggle button on top menu bar
* nit
* Add toggle button tooltip
* Add command
2024-10-24 15:15:19 -04:00
Chenlei Hu
59a5f5f5d0
Add help menu on command menu bar ( #1197 )
...
* Add help menu on command menu bar
* nit
2024-10-09 20:35:17 -04:00
Chenlei Hu
c92ff79231
Add workflow tab tooltip to show full path ( #1134 )
2024-10-06 12:10:54 -04:00
bymyself
3c70c1e463
Show keybinding on topbar dropdown menus ( #1127 )
...
* Show keybinding on topbar dropdown menus, resolve #1092
* Add text-muted to tailwind config
* Add Playwright test
* Preserve Primevue classes in menu item template
* Extend MenuItem
* Revert adding undo/redo to core keybindings
* Change test selector
* refactor
* Extract as component
* refactor
* nit
* fix extension API
---------
Co-authored-by: huchenlei <huchenlei@proton.me >
2024-10-06 12:08:16 -04:00
Chenlei Hu
2c90735bb1
Restore top/bottom menu location setting ( #1123 )
...
* Rename floating to top
* Adjust teleport target
* Fix dropdown direction for bottom menubar
* Fix z-index
2024-10-05 18:08:48 -04:00
Chenlei Hu
ad55722662
Docking action bar on top menu bar ( #1119 )
...
* Teleport when docked
* Docking logic
* Remove unnecessary v-show
* Docked panel style
* Drop zone highlight
* Rename test
* Add playwright test
2024-10-05 14:06:29 -04:00
bymyself
224c0080ee
Fix topbar submenu width on mobile/tablet ( #1047 )
...
* Fix topbar submenu width on tablet
* Add Playwright test
* Use better selector
* nit
---------
Co-authored-by: Chenlei Hu <chenlei.hu@mail.utoronto.ca >
2024-09-30 15:21:09 -04:00
Chenlei Hu
3585cb69f5
Allow extension register custom topbar menu command ( #982 )
...
* Refactor command store
* Rename coreMenuStore to menuStore
* Extension API to register command
* Update README
* Add playwright test
2024-09-26 10:44:15 +09:00
Chenlei Hu
4ab3aa9a39
Backward compatibility with extension injections on legacy menu bar ( #970 )
...
* Compatible to legacy top menu extensions
* Rework css
* nit
2024-09-25 16:01:50 +09:00
Chenlei Hu
6a8287e192
Show opened workflows as topbar tabs ( #952 )
...
* Basic tab switching
* Closing tabs
* Style buttons
* wip
* Fix scroll style
* Add setting
* Add playwright test
* Add unsaved status
* nit
2024-09-25 16:01:50 +09:00
Chenlei Hu
0d28c108d2
Add topbar dropdown menu ( #937 )
...
* Add basic menu
* Add workflows/edit to menu bar
* Add command store
* Fix z-index
* Fix beta menu setting switch
* nit
* Drop to center
* Fix command invocation
2024-09-25 16:01:50 +09:00