Skip to content

Mic status#253

Merged
spring1843 merged 2 commits into
mainfrom
mic-status
Dec 1, 2025
Merged

Mic status#253
spring1843 merged 2 commits into
mainfrom
mic-status

Conversation

@spring1843

Copy link
Copy Markdown
Owner

spring1843 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
Copilot AI review requested due to automatic review settings December 1, 2025 06:45
@netlify

netlify Bot commented Dec 1, 2025

Copy link
Copy Markdown

Deploy Preview for freedevtool ready!

Name Link
🔨 Latest commit f3f4bd5
🔍 Latest deploy log https://app.netlify.com/projects/freedevtool/deploys/692d397726098b0008dccce3
😎 Deploy Preview https://deploy-preview-253--freedevtool.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread .replit
Comment on lines +54 to +55
localPort = 39615
externalPort = 4200

Copilot AI Dec 1, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copilot uses AI. Check for mistakes.
@spring1843 spring1843 merged commit 7049656 into main Dec 1, 2025
11 checks passed
@spring1843 spring1843 deleted the mic-status branch December 1, 2025 06:51
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.

2 participants