mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(sessions): move the session picker into the desktop right tool panel
Replace the tool rail's Activity tool with a Sessions tool that renders the full session picker (Activity, This project and Projects tabs, linked-server selector, add repository), shared with the mobile sheet via RouteSessionPicker. - A docked panel stays open and follows navigation (picker navigation mode 'panel'); the floating overlay closes on select (mode 'replace'). - The session page's sessions shortcut and /sessions open the panel; the collapsed sidebar opens it when a tool rail is mounted and falls back to the modal dialog otherwise. - useToolPanelToggle is the single panel toggle for the rail, shortcuts and sidebar. - Remove ActivityList, the fixed activity panel width and the window label.
This commit is contained in:
1 parent
82c46bbdb2
commit
d26ab578f0
25 files changed
+639
-695
No files matched your search
@@ -5,7 +5,6 @@ import { useMobile } from './useMobile'
|
||||
export const TOOL_PANEL_MIN_WIDTH = 320
|
||||
export const TOOL_PANEL_MAX_WIDTH = 720
|
||||
export const TOOL_PANEL_DEFAULT_WIDTH = 600
|
||||
export const TOOL_PANEL_ACTIVITY_WIDTH = 320
|
||||
export const TOOL_PANEL_RAIL_WIDTH = 44
|
||||
export const MAIN_CONTENT_MIN_WIDTH = 420
|
||||
|
||||
|
||||
Reference in new issue
Block a user