Repository navigation
feat(desktop): screenshot card and after-capture settings - #4791
richiemcilroy wants to merge 22 commits into
Conversation
Show card, copy, save, upload and open editor as separate switches in Settings > General, with the card's position, size, auto-close and close rules. The older after-screenshot choice carries over once, and the main window's Copy and Editor rows switch the same settings.
A floating card per screenshot, newest on top, with Copy, Save, Close, Annotate and Upload on hover, keys while the pointer is over it, drag out to other apps, a right-click menu, swipe to close or fold, and Restore Last Capture in the tray and as a shortcut.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
hey @greptileai, please review the PR |
|
From #4787 (capture overlay), for when both are in: both PRs add |
210 by 150 cards 40 in from the edge, sliding in from it; a 2 pt outline on the newest; Space opens a preview beside the card; one sideways swipe closes; a card-wide frosted tab when folded; the auto-close intervals and right-click menu in the reference order.
|
hey @greptileai, please review the PR |
After Capture's Save no longer holds the card's job slot, so Upload runs too. A card stays while its save panel is open, auto-close tries again after a job, and the dragged file is a copy.
|
hey @greptileai, please review the PR |
…ards A save started by After Capture keeps updates from restarting until it is written, and a card kept only for that work goes once it is done. On Wayland the preview draws an empty frame before a capture too.
|
hey @greptileai, please review the PR |
The card moves towards the edge as the fingers go, out from under the pointer, so the rest of the gesture is followed from the window.
|
hey @greptileai, please review the PR |
Cards fade in place, the newest outline comes and goes, hover eases blur, dim and controls together, exits slide off the screen edge, Copy and Save answer with a check, folding and restoring slide with the measured curves, and tooltips wait two seconds.
Natural scrolling is undone before a swipe is judged, so a downward swipe folds the stack whichever way the setting is.
|
hey @greptileai, please review the PR |
The check after Copy or Save is held on the card so nothing new starts under it, exits and hover follow reduced motion, and restoring or emptying the stack cancels a fold still sliding down.
|
hey @greptileai, please review the PR |
|
hey @greptileai, please review the PR |
The older Do nothing choice now gets the card instead of saving files, and Settings > Shortcuts links to General > After capture rather than keeping its own picker.
The window grows below the stack while it folds into the tab or comes back, so the cards travel all the way. The card draws its own tooltips, which wait two seconds, fade in quickly and fade out slowly.
|
hey @greptileai, please review the PR |
…cked The window grows and shrinks in a task, with the cards hung from the top meanwhile, and the stored bounds follow. Tooltips fading out stay tracked until closed, so a capture closes or blanks them too.
|
hey @greptileai, please review the PR |
|
hey @greptileai, please review the PR |
Adds a card after every screenshot and an After capture section in Settings › General.
Card
Settings
postScreenshotBehaviourcarries over once (Copy, Edit, Both, Save map to the same switches, no card).For the capture overlay
screenshot::take_screenshot_with(target, CaptureOptions { copy_to_clipboard: true }, cx)copies regardless of settings. It reachesapp_windows::screenshot_finishedas theoptionsargument.Testing
Confidence Score: 5/5

The latest update appears safe to merge.Summary
Adds screenshot cards, after-capture settings, and Restore Last Capture.
Reviews (10) · Last reviewed commit: "fix(desktop): card positions follow the ..." · Reviewed by Greptile