Repository navigation
fix(extension): respect recording lock on camera toggle - #3137
Merged
Merged
Conversation
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. |
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.
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
disabledflag. Idle toggling and permission handling keep their existing behavior.Closes #3136.
camera-1Three 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.


Confidence 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.
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