fix: close What's New popup by calling modal.hide()#3356
Conversation
The onOpenChange handler called modal.resolve() to settle the promise but never called modal.hide(), so the dialog stayed visible. Every other dialog in the codebase calls both — this one was missing hide(). Fixes BloopAI#3348
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1dc304a. Configure here.
| modal.resolve(); | ||
| modal.hide(); | ||
| } | ||
| }} |
There was a problem hiding this comment.
Missing modal.remove() call unlike all other dialogs
Medium Severity
Every other dialog in the codebase (SettingsDialog, KeyboardShortcutsDialog, WorkspacesGuideDialog, OAuthDialog) calls modal.hide(), modal.resolve(), and modal.remove() when closing. This handler omits modal.remove(), which means the component remains mounted in the React tree after dismissal, preserving stale state and preventing cleanup. The call order also differs — other dialogs call hide() before resolve(), but here resolve() is called first.
Reviewed by Cursor Bugbot for commit 1dc304a. Configure here.
Aggressive review summary — PR #33567-line fix to Why the fix is correctNiceModal pattern: Repo-wide convention checkThe PR follows the dominant Findings
VerdictApprove. — Reviewed by automated single-pass review (convention-conformance triage; full 4-tool battery skipped — diff is 7 lines and exactly mirrors the repo-wide pattern). |


Fixes #3348. Fixed the What's New popup not being closeable — the
onOpenChangehandler calledmodal.resolve()but nevermodal.hide(), so the dialog promise resolved but the modal stayed visible. Every other dialog in the codebase calls both.I maintain PRISM, a post-session diagnostics tool for Claude Code — CLAUDE.md adherence analysis and session health scoring. Vibe-kanban users running multi-agent workflows are exactly the audience who'd benefit from session health diagnostics.
Note
Low Risk
Low risk UI behavior change limited to the Release Notes dialog close handler; it now hides the modal in addition to resolving its promise.
Overview
Fixes the "What�s New" / release notes dialog so closing it actually dismisses the modal:
onOpenChangenow calls bothmodal.resolve()andmodal.hide()when the dialog is closed.Reviewed by Cursor Bugbot for commit 1dc304a. Bugbot is set up for automated code reviews on this repo. Configure here.