Merge pull request #373 from Jstn-1g/fix/162-narrow-auto-activation

fix: avoid forcing mobile drawer on auto-activation
This commit is contained in:
Atlas Zeng
2026-09-02 23:44:06 +08:00
committed by GitHub
31 changed files with 443 additions and 118 deletions
+8 -5
View File
@@ -16,14 +16,17 @@ export interface SidebarPrefs {
/** Default panel width as a percent of the window width (20–60). */
defaultWidthPercent: number
/**
* Whether the sidebar auto-activates (opens the panel) and expands the
* Subagent page when the current conversation spawns a new subagent.
* Whether the sidebar auto-activates the Tasks page when the current
* conversation spawns a new subagent. Wide viewports also open the panel;
* narrow viewports prepare the tab without opening the full-screen drawer.
*/
autoOpenSubagent: boolean
/**
* Whether the sidebar auto-activates (opens the panel) and expands the
* Jobs page when a NEW background job appears for the current
* conversation (any new job id, not just the first one).
* Whether the sidebar auto-activates the Tasks page containing the
* background-jobs section when a NEW job appears for the current
* conversation (any new job id, not just the first one). Wide viewports also
* open the panel; narrow viewports prepare the tab without opening the
* full-screen drawer.
*/
autoOpenJobs: boolean
/**