Skip to content

Commit cfd178e

Browse files
committed
docs: update fork-features tracking for header toggle
1 parent d701f63 commit cfd178e

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

script/sync/fork-features.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,25 @@
499499
"title": "Toggle session header visibility",
500500
"author": "fork",
501501
"status": "fork-only",
502-
"description": "Command palette option to hide/show the session header when sidebar is hidden",
503-
"files": ["packages/opencode/src/cli/cmd/tui/routes/session/index.tsx", "packages/opencode/src/config/config.ts"]
502+
"description": "Command palette option to hide/show the session header when sidebar is hidden. Persists preference via KV store.",
503+
"files": ["packages/opencode/src/cli/cmd/tui/routes/session/index.tsx"],
504+
"criticalCode": [
505+
{
506+
"file": "packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
507+
"description": "headerVisible signal declaration persisted to KV store",
508+
"markers": ["const [headerVisible, setHeaderVisible] = kv.signal(\"header_visible\""]
509+
},
510+
{
511+
"file": "packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
512+
"description": "Command palette entry for toggling header visibility",
513+
"markers": ["Hide session header", "Show session header", "session.header.toggle", "header_toggle"]
514+
},
515+
{
516+
"file": "packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
517+
"description": "Show condition for Header including headerVisible check",
518+
"markers": ["&& headerVisible()"]
519+
}
520+
]
504521
},
505522
{
506523
"pr": 0,

0 commit comments

Comments
 (0)