feat(capture): choose what to capture — area, window, browser page or screen

Capture is now a decision, not a hidden setting. The popover shows a four-way scope control with the target named under it (800 x 600 on Display 1, the frontmost window, the front browser window, the whole display), and the window header carries the same choice beside the verbs. Picking Window or Browser hides Redline, dims the screen, names the app under the pointer and highlights its window; a click captures exactly that window, Escape cancels, and the desktop highlights the whole screen. New Session is one click: the current captures stay in their own folder, a fresh session opens, and the area picker comes straight up with the saved area pre-selected — Return keeps it, a drag replaces it. Settings is consolidated into one door (the popover gear, plus Cmd-,): what to capture, saved area, shortcut, ask-on-new-session, sending, session age limit, and a new Updates group with automatic install (on by default; installs only when nothing is unsent). The footer filler and the extra-actions menu are gone.
This commit is contained in:
Claude Fable 5
2026-11-01 11:47:58 +04:00
parent 1ae8351b04
commit 3fb9b504f4
18 changed files with 1601 additions and 152 deletions
+21 -2
View File
@@ -2,6 +2,19 @@
A macOS menu-bar app that captures a remembered screen region, builds a one-screenshot-per-page PDF, AirDrops it to an iPad for markup, then watches for the annotated file to come back.
## What Capture takes
Four scopes, chosen in the popover (or the window's capture menu) and kept with the session:
- **Area** — the saved rectangle. `Choose Area…` picks a new one at any time.
- **Window** — the window under the pointer. Redline hides itself, dims the screen, names
the app under the cursor and highlights its window; click to capture it, Escape cancels.
- **Browser** — the front browser window (Safari, Chrome, Edge, Brave, Arc, Firefox,
Vivaldi, Opera).
- **Screen** — the whole display your saved area is on.
Window and Browser capture a single window, so nothing overlapping it ends up in the shot.
## Hotkeys
- **⌥⇧1** — pick a new region, then capture it.
@@ -18,13 +31,19 @@ Two surfaces, two jobs:
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.
- **Settings** — one door: the gear in the popover header, or ⌘,. Capture, sending,
- sessions and updates all live there.
- **Updates are automatic.** A downloaded update installs the next time nothing is
- waiting to be sent; turn it off in Settings › Updates.
## Sessions
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.
- **New Session** keeps the current captures in their own folder, starts a fresh
- session, and immediately asks where to capture (Return keeps the saved area, a drag
- picks a new one). Turn that question off in Settings › Capture.
- **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**.
@@ -64,7 +83,7 @@ The grant is bound to the bundle identifier `ai.flowmaster.shotdeck` plus the co
```bash
swift build && swift test
./scripts/build-app.sh # signed .app for daily use
open .build/Redline.app
./scripts/install-local.sh # install it into /Applications and relaunch
```
## Verification scripts