Skip to content

fix(call): keep Leave pill, drop screenshot, gate share stage - #213

Merged
Anuraj-dev merged 1 commit into
mainfrom
fix/in-call-controls
Aug 18, 2026
Merged

Anuraj-dev merged 1 commit into
mainfrom
fix/in-call-controls

Conversation

@Anuraj-dev

Copy link
Copy Markdown
Owner

Summary

In-call chrome no longer flashes a black presentation stage when you click Share, screenshot is gone, and the dedicated red Leave pill stays.

Changes

  • Gate hasScreen on a real local or remote screen stream, not share intent
  • Remove the screenshot feature (overflow item, RoomPage capture path, capture helpers and tests)
  • Keep the Meet-style red Leave pill; clean the 3-dots menu (copy link, mini player, sound, secondary Leave)
  • Keep canvas compositing for picture-in-picture

Why

Clicking Present switched the room to a black stage before a stream existed. Screenshot was a leftover menu action Raja asked to delete. Leave should stay as a visible pill, not only a menu item.

Testing

  • Unit tests (useScreenShare, ControlBar, full client suite + coverage floors)
  • npm run typecheck
  • Integration tests
  • Manual verification (Raja: join a call, open ⋮, Present then cancel)

Checklist

  • Scope is focused and atomic
  • No debug logs or dead code
  • Naming is clear and consistent
  • No unrelated changes
  • Follows code style guidelines

Presentation layout now waits for a real local or remote MediaStream
so Share no longer flashes a black stage. Screenshot capture is gone
from the overflow menu and the client; the dedicated red Leave pill
stays, with Leave kept as a secondary menu path.
@vercel

vercel Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
a-meet Ready Ready Preview Aug 18, 2026 3:51pm

@Anuraj-dev
Anuraj-dev merged commit 29588fe into main Aug 18, 2026
15 of 19 checks passed
@Anuraj-dev
Anuraj-dev deleted the fix/in-call-controls branch August 18, 2026 17:18

This branch was successfully deployed

1 active deployment
Preview — 747402fc Deployed Aug 18, 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