Skip to content

fix(extension): respect recording lock on camera toggle - #3137

Merged
richiemcilroy merged 1 commit into
CapSoftware:mainfrom
AksharP5:camera-toggle-lock
Oct 24, 2026
Merged

richiemcilroy merged 1 commit into
CapSoftware:mainfrom
AksharP5:camera-toggle-lock

Conversation

@AksharP5

@AksharP5 AksharP5 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The standalone extension recorder's camera toggle ignored the recording lock. Pressing it could clear the selected and remembered camera while the locked picker prevented restoring that choice.

The status button now uses the selector's existing disabled flag. Idle toggling and permission handling keep their existing behavior.

Closes #3136.

Same popup and remembered camera camera-1 Before After
Click or Enter while recording, paused or uploading Camera ID cleared; one settings update Camera ID retained; no settings update
Idle click or Enter Camera turns off Same behavior

Three focused tests cover locked native/ARIA status and enabled idle behavior. Both new lock cases fail on baseline; all 33 extension tests pass with the fix. Full-popup DOM replays also confirm persisted preference and message outcomes. The existing extension unit-test command now runs in PR CI.

The full-popup fixture uses real React 19.2.4 with mocked Chrome IO and some cached dependency versions outside the lockfile. Native Chrome, hardware recording, permission prompts and CSS rendering remain unverified. Frozen-install CI passed all 33 extension tests, 192 web tests and the full workspace typecheck. CI Biome format and lint checks also passed.

The related web microphone disabled-prop review in #1363 is separate from this extension camera fix.

Independent Astra HIGH review: approved the final patch and independently verified mouse/Enter/Space, pending Start, and stored-camera behavior. After rebasing onto current main, production/test bytes and the extension-test CI step remain unchanged; all 33 tests passed again.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

The camera status button now respects the selector’s existing recording lock.

  • The camera status button stays disabled while the popup locks camera controls.

Review checks were static; tests and browser interactions were not run during this review.

Reviews (1) · Last reviewed commit: "fix(extension): respect recording lock o..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

@AksharP5 is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

@richiemcilroy
richiemcilroy merged commit 68989d0 into CapSoftware:main Oct 24, 2026
33 of 35 checks passed
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.

Extension camera toggle clears remembered camera while recording is locked

2 participants