Skip to content

feat: Desktop auth handoff, cross-device keybinds, and edge-triggered chat UI#46

Merged
sanks011 merged 1 commit into
sanks011:masterfrom
aninda8680:master
May 27, 2026
Merged

feat: Desktop auth handoff, cross-device keybinds, and edge-triggered chat UI#46
sanks011 merged 1 commit into
sanks011:masterfrom
aninda8680:master

Conversation

@aninda8680
Copy link
Copy Markdown
Collaborator

@aninda8680 aninda8680 commented May 27, 2026

Pull Request

Summary

Introduced an automated deep-link flow to authenticate the desktop client, added cross-device syncing for user keybinds, refined the room chat UI with hover interactions, and fixed a critical MongoDB indexing bug.

Related issue

Changes

  • Desktop Authentication: Built an authentication handoff flow using callu:// custom protocols to securely pass session tokens to the desktop client.
  • Keybinds Sync (Backend & UI): Added a new global "Toggle Mute" keybind. Updated the User schema and created a lightweight PATCH /api/users/keybinds route to sync user shortcuts (PTT & Mute) across all devices.
  • Chat UI Enhancement: Added an invisible edge-trigger to the extreme right side of the screen in voice rooms, allowing the chat sidebar to slide open on hover and auto-close on mouse leave.
  • Bug Fix: Removed a conflicting mobile_1 index that was causing a duplicate key error (E11000) for users without a mobile number during signup.

Testing

  • Initiated a desktop login from the web browser and verified the token was successfully handed off to the Electron client.
  • Verified that changing keybinds on the web instantly saves to MongoDB and accurately overrides the local cache on page reload.
  • Tested the room chat panel to ensure hovering the right edge smoothly opens it and moving the cursor out automatically closes it.
  • Tested new user signup to confirm the duplicate key error is entirely resolved.

Checklist

  • I linked the related issue with Fixes #45 .
  • I added or updated tests if needed.
  • I updated docs if needed.
  • I verified the change locally.

@github-actions
Copy link
Copy Markdown

PR Validation Passed

Your PR title and description meet all requirements:

4 similar comments
@github-actions
Copy link
Copy Markdown

PR Validation Passed

Your PR title and description meet all requirements:

@github-actions
Copy link
Copy Markdown

PR Validation Passed

Your PR title and description meet all requirements:

@github-actions
Copy link
Copy Markdown

PR Validation Passed

Your PR title and description meet all requirements:

@github-actions
Copy link
Copy Markdown

PR Validation Passed

Your PR title and description meet all requirements:

@sanks011 sanks011 merged commit ede3ce3 into sanks011:master May 27, 2026
5 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.

Desktop login not synced be web, socket issue, toggle mute keybind, ui bugs

2 participants