feat(ui): rebuild the UX around two surfaces — a glance popover and a session window
The menu-bar popover was being used as a session manager: status, five text fields, thumbnails, three buttons, a history list and eight more flat rows in 320 pt. The redesign splits the product by job, from a UX pass whose mockups are kept under design/ux-rework/. - Popover: only the current session. Review details as one line plus a pencil that opens the window with the Lane field focused, at most three thumbnails, a Capture and a Send row, a New Session and Open Redline row, one status line when something happened, and a footer with the send channel, the retention policy and a ... menu for Settings / updates / quit. - Window: sidebar of sessions grouped Today / Yesterday / This week / by month with a Current tag and each session's state, the selected session's pages as cards (select, Delete or Remove Page, sent sessions read-only), and an inspector with editable review details, the PDF facts (file name, pages, channel, status) and the session facts (started, id, files). Past sessions show their details read-only. - Settings: three labelled groups (Capture, Sending, Sessions) replacing the headings-plus-grid layout. - Sessions list/search/grouping/state live on the model, so the window and the popover read the same truth (came-back-marked state comes from the return ledger). - Verification: 159 tests, the headless panel self-test, and an end-to-end run against the active app (scripts/run-e2e-ui.sh) which opens the real window, types into the Lane field with key events and clicks New Session, reporting what the launch mode could and could not deliver.
This commit is contained in:
@@ -7,19 +7,33 @@ A macOS menu-bar app that captures a remembered screen region, builds a one-scre
|
||||
- **⌥⇧1** — pick a new region, then capture it.
|
||||
- **⌥⇧2** — capture the remembered region instantly (no picker).
|
||||
|
||||
## Where things live
|
||||
|
||||
Two surfaces, two jobs:
|
||||
|
||||
- **Menu-bar popover** — only the current session: its review details on one line, its
|
||||
pages, then Capture, Send, New Session, Open Redline, and one status line when
|
||||
something happened. Nothing else, so it never scrolls.
|
||||
- **Redline window** (Open Redline) — the workspace: every session in a sidebar grouped
|
||||
by day, the selected session's pages in the middle, and its review details, PDF facts
|
||||
and session facts in the inspector. History, text entry and file facts live here
|
||||
because they need room and a window that stays open.
|
||||
- **Settings** (⌘, in the popover's … menu) — capture, sending, and the session age limit.
|
||||
|
||||
## Sessions
|
||||
|
||||
Every review is a session. Captures go into the open session; "New session" closes it
|
||||
and keeps it in the Past sessions list, named and dated, whether or not it was sent.
|
||||
Every review is a session. Captures go into the open session; "New Session" closes it
|
||||
and keeps it in the sidebar, named and dated, whether or not it was sent.
|
||||
|
||||
- **Nothing is deleted by default.** A session is kept until you delete it.
|
||||
- **Settings > Sessions > Delete after** sets an age limit (7 days … 1 year). Sessions
|
||||
older than the limit are removed on the next launch and by **Clean up now**.
|
||||
Only Redline's own saved screenshots are removed; a PDF that was already sent stays
|
||||
in the folder it was sent to.
|
||||
- **Details** on the current session records what is being reviewed: lane/environment,
|
||||
the deployed build, the commit, the reviewer (pre-filled with this Mac's user) and a
|
||||
free note. A new session inherits the previous session's details.
|
||||
- **Review details** (inspector) record what is being reviewed: lane/environment, the
|
||||
deployed build, the commit, the reviewer (pre-filled with this Mac's user) and a free
|
||||
note. A new session inherits the previous session's details, and past sessions show
|
||||
them read-only.
|
||||
|
||||
## Files and PDF metadata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user