Repository navigation
feat(devknobs): grab many elements at once, with notes - #112
Merged
Merged
Conversation
… in a dragged box
This was referenced Nov 26, 2026
mertbuilds
added a commit
that referenced
this pull request
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
njumps into a note, shift and enter picks the boxed element, backspace takes it out, enter,c, cmd+enter or the button copies them all.noteon each entry and on the payload./docs/graband its reference page) and the changelog's Unreleased section are updated. No version bump, no release.License note
The idea comes from agentation's multi-select. agentation is licensed under PolyForm Shield 1.0.0, and knobs grab is a competing tool, so nothing from it was copied, ported or imported: no code, styles or assets. Only its behavior was studied, from a screen recording. This implementation is written from scratch.
Proof
Real browser (ego, Chromium), https://knobs.localhost dev server from this branch, landing page "try it here" stage:
n, type a note, click "Note for all", type, cmd+enter. Clipboard text:execCommand("copy")once (traced in the page).prefers-reduced-motion: reducethe tray's animation isnone, otherwisetray-in150 ms.packages/extension,bun run build) bundles the tray indist/content.js.Recordings and screenshots (light, dark, 390 px, mid-drag preview) are local:
~/.claude/orchestrator/queue/assets/knobs-multi-grab/(multi-grab-light.mp4,multi-grab-dark.mp4,light-3-tray.png,dark-3-tray.png,phone-3-picks.png,drag-preview.png).Tests:
bun testin packages/devknobs, 4699 pass, 0 fail (new: numbered output and notes, the drag box selection, tray note alignment, drag never copies, shift release never copies, shift and enter, backspace,n, keys typed in the tray are left to it, a removed element takes its own note).pnpm typecheckclean,pnpm buildok.Weakened checks
None.
Risk
Tier: normal. Area: grab's keyboard and pointer handling on the user's page (capture phase), the clipboard. Dev tool only, no release in this PR.
How to revert
Revert the merge commit. Nothing is released; the next release picks up whatever is on main.
Test plan