Skip to content

v0.7.0: extension tools and recordings open in the video player - #16

Merged
imnakul merged 10 commits into
masterfrom
feat/pick-and-comment
Nov 27, 2026
Merged

imnakul merged 10 commits into
masterfrom
feat/pick-and-comment

Conversation

@imnakul

@imnakul imnakul commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Summary

Release 0.7.0. The browser extension gets three tools (Pick and comment, Font, Colour) and a restyle to match the dashboard. Screen recordings now open in your default video player, and each card can copy the file or show it in its folder.

extension  popup + panels restyled · Pick and comment · Font · Colour · orphaned-script fix
desktop    recording card → open_recording / copy_recording / reveal_recording (MP4 inside recordings folder only)
release    0.6.2 → 0.7.0

Evidence

  • Pick and comment after an extension reload: before, it showed "Couldn't start Pick and comment here." The old content script's guard survived the reload, so the new one never ran. Now the old instance is disposed and replaced; covered by instance.test.ts.
  • Copied notes: the output is compact plain text with a two-line header an AI agent can follow; the exact text is tested in format.test.ts.
  • Recording card: before, the in-app player's full-screen button broke the dashboard window. Now the card opens the file in the system's video player. Path validation is tested in video_path_tests (rejects other folders, non-MP4 files, missing files and .. paths). The clicks and error messages are tested in RecordView.test.tsx.
  • Screenshots: to add: the extension popup, and a recording card on hover showing Copy and Show in folder.

Merge danger

  • Door: two-way (cheap to undo). No data migration.
  • Blast radius: the recording cards on the Record page, the extension popup and its on-page tools. Recordings saved in a folder chosen earlier in Settings show an error instead of opening.
  • Checks: typecheck ✅ · lint ✅ · tests ✅ (desktop 612, extension 119, protocol 12) · cargo fmt ✅ clippy ✅ test ✅ (155; one timing-sensitive test failed once and then passed 4 times) · version check ✅

Click elements, comment on each, and copy short Markdown (URL, component
name, visible text, selector, source, position) for AI agents. Start it with
Alt+Shift+C, the popup button, or right-click -> CapKit. Inspect and Pick
never run together; each mounts its own frame in the shared shadow root.
Popup and page panels use the dashboard tokens, Geist and compact buttons.
Font tool copies an element's font as CSS; Colour tool locks an element to
copy its colours as HEX and picks any pixel with the eyedropper (E).
Shortcuts Alt+Shift+F and Alt+Shift+K, four items in the CapKit menu.
Icons are rendered from apps/desktop/src-tauri/icons/icon.svg at 16, 32, 48
and 128 px; the toolbar gets 16 and 32. The popup header draws the same mark.
After the extension reloads, the old script stays in open tabs and keeps its
load flag but can no longer receive messages, so a fresh injection did
nothing and every tool failed with "Couldn't start" until the page reloaded.
The new script now tears down the earlier instance and installs itself.
Recording cards show the first frame as a button instead of an inline
player; its full-screen mode broke the frameless dashboard window. The new
open_recording command checks the file is an MP4 inside the recordings
folder, then opens it with the default app, or Windows Open with when none
is set.
Hovering a recording card reveals Copy, which puts the MP4 on the clipboard
as a file, and Show in folder, which opens Explorer with the video selected.
Both validate that the path is an MP4 inside the recordings folder.
The copied feedback opens with an instruction and labels each item as a
change with where to find it, so pasting it into an agent needs no extra
prompt. An empty comment asks the agent to review the element.
Copy now writes plain text: a two-line header that explains the list, then
one short item per pick with its note and a single details line. A note can
be a request or a pointer, so the header no longer assumes a change.
@vercel

vercel Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
snaphub Ready Ready Preview Nov 27, 2026 10:05am UTC

@imnakul
imnakul merged commit b166b7a into master Nov 27, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 476db4e4 Deployed Nov 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant