Skip to content

Add confirmation dialog to logout action#324

Merged
zortos293 merged 2 commits intodevfrom
capy/logout-confirmation
Apr 16, 2026
Merged

Add confirmation dialog to logout action#324
zortos293 merged 2 commits intodevfrom
capy/logout-confirmation

Conversation

@zortos293
Copy link
Copy Markdown
Collaborator

@zortos293 zortos293 commented Apr 16, 2026

This PR adds a browser confirmation dialog when users click the logout button, requiring them to confirm the action before proceeding. The check is added in the handleLogout handler (src/renderer/src/App.tsx), guarding the logout flow with window.confirm("Are you sure you want to log out?"). If the user cancels, the function returns early and no logout action is taken.

Open OPE-069 OPE-069

@zortos293 zortos293 added the capy Generated by capy.ai label Apr 16, 2026 — with Capy AI
@zortos293 zortos293 merged commit a6e2f85 into dev Apr 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capy Generated by capy.ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant