Mic status#253
Merged
Merged
Conversation
spring1843
commented
Dec 1, 2025
Owner
- Mic status improvement. similar to feat(webcam): improve permission status detection #247 for webcam
added 2 commits
December 1, 2025 06:38
Implement microphone permission status checks and display using the Permissions API and a Badge component within the CardTitle. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1a4d0308-8145-4f5a-b2e4-caf2f388d8ec Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: e80e1199-58f3-40e1-be02-b84aa906ce32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/46062f4a-48c0-4bc7-8f40-e3917ba2ed87/1a4d0308-8145-4f5a-b2e4-caf2f388d8ec/G1T5F85
Implement a permission status badge in the microphone test tool, mirroring the webcam tool's approach, to show whether microphone access has been granted, denied, or not yet requested. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1a4d0308-8145-4f5a-b2e4-caf2f388d8ec Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 4c647d3c-670a-4292-b27f-bab88495a7aa Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/46062f4a-48c0-4bc7-8f40-e3917ba2ed87/1a4d0308-8145-4f5a-b2e4-caf2f388d8ec/B94UNBz
✅ Deploy Preview for freedevtool ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds microphone permission status display to the microphone test tool, mirroring the implementation from PR #247 for the webcam test tool.
- Implements permission status checking using the Permissions API with fallback to device label detection
- Displays permission status (Not Requested, Granted, Denied) in a badge in the card header
- Ensures consistent UX between microphone and webcam test tools
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| client/src/pages/tools/microphone-test.tsx | Adds permission status checking on mount and displays status badge in the card header, following the same pattern as webcam-test.tsx |
| .replit | Adds port configuration for localPort 39615 mapping to externalPort 4200 - appears unrelated to the microphone status feature |
Comment on lines
+54
to
+55
| localPort = 39615 | ||
| externalPort = 4200 |
There was a problem hiding this comment.
This port configuration appears to be unrelated to the microphone status feature. It looks like this change was accidentally included in the PR. Consider removing it unless it's intentionally needed for this feature.
Suggested change
| localPort = 39615 | |
| externalPort = 4200 |
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.