mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-21 07:45:38 +00:00
* Archive the active workspace from the shortcut while its sidebar row is collapsed The workspace.archive handler was registered by each sidebar row and only enabled on the selected row, so a collapsed project or status group left no handler and the shortcut did nothing. Move it to one always-mounted handler keyed on the active route selection, as #2299 did for the pin shortcut. Fixes #10246 * fix(app): keep archive shortcuts available during another archive A worktree teardown keeps the previous archive request pending after the user opens another workspace. Read the active target from the workspace list so the first archive only hides its own workspace. Co-authored-by: hiennd <74246327+neihyud@users.noreply.github.com> * fix(app): share pending archives by workspace Hold an archive attempt from its checkout check through the daemon reply. The row button and shortcut now share that attempt for the same workspace, and another workspace can still archive while it runs. * fix(app): preserve archive after undo and theme changes The archive guard protects a workspace through confirmation and dispatch. The optimistic workspace state takes over when dispatch hides the workspace, so Undo can restore it for another archive. Keep the shortcut host outside the appearance boundary so its pending redirect keeps reading the active workspace after a theme change. * test(app): verify theme changes during workspace archive Use the platform modifier for the theme shortcut and wait for the sidebar to remount before opening the next workspace. --------- Co-authored-by: hiennd <hiennd@aidia.vn> Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com> Co-authored-by: hiennd <74246327+neihyud@users.noreply.github.com>