feat: the drawer is the maintenance actions' home below lg (#367) #401
<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"2b48cd6662e0cf025027c773d2d38ddfb301c40a","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->
<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-30T03:27:58.780674Z">2026-11-30T03:27:58.780674Z</relative-time> | 2b48cd6 | PR opened |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
</details>
Approved these changes.
qwts
trueline-zcode-agent[bot]
Accepted below-lg scope of the #367 proposal (the desktop-width question stays parked).
Below
lg, the drawer is the maintenance actions' home. The drawer's footer has held Check Links, Remove Duplicates, Import / Export and Options since #297 — the same handlers, acting in place — so the header's strip stops rendering them there and keeps only what has no second home: the contextual Clear search, and the view selector above the stylesheet's 40rem line. Under 40rem every bookmark view renders one column anyway, so the selector has nothing to offer and leaves too; at phone widths the strip is empty and does not render at all — the header is the mobile mockup's (bookmarkit_mobile_manager): top bar and filter row, no strip, and no controls scrolling sideways with the scrollbar hidden. At 390px the header is the mockup's two rows. Onlgwindows and up nothing changes.The two contextual entries keep their homes as the proposal sketches: the sweep starts from the drawer's Check Links and stops from the progress banner; the archive lookup lives inside Broken Links as Find Archive Snapshots.
Mechanics:
useNarrowViewporthook ((max-width: 640px), the stylesheet's 40rem line) besideuseSidebarViewport, same pre-paint read and listener idiomlgnow goes through the drawer, as a phone user mustlg(scoped to the banner — the rail's footer carries the same names), the handoff belowlg(header has none, drawer has all four), the empty strip at phone widths; plus the hook's own fivenpm run ci: 113 files / 1531 tests green (+8), version policy OKCloses #367 (the lg-and-up removal remains parked — the issue's own "maintainer's call")
<!-- agent-bot-write: ghw_38a503807cb504b5 session=acad26a80cec bot=trueline-zcode-agent[bot] -->