Skip to content

Refresh slash popup in place instead of close+reopen - #519

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-6699-stop-slash-typeahead-from-opening-permission-gates-mid
Aug 22, 2026
Merged

Refresh slash popup in place instead of close+reopen#519
TheGreatAxios merged 3 commits into
mainfrom
cl-6699-stop-slash-typeahead-from-opening-permission-gates-mid

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Slash typeahead refreshed by fully closing then reopening the palette overlay on every filter keystroke; closeSlashPopup routes through closeInsetOverlay, which fires notifyOverlayClosed and can drain a queued permission/operator gate mid-typing. This mirrors the merged @-mention fix (#515): when the slash popup is already open, openSlashCommands now refreshes items via setOverlayItems in place, leaving priorOverlay stacking untouched.

Fixes CL-6699
https://linear.app/abklabs/issue/CL-6699

openSlashCommands closed and reopened the palette overlay on every
filter keystroke, and closeSlashPopup routes through closeInsetOverlay
which fires notifyOverlayClosed — releasing the host long enough for a
queued permission/operator gate to drain onto it mid-typing. Mirror the
@-mention popup fix (PR #515): when the slash popup is already open,
refresh its items via setOverlayItems instead, leaving priorOverlay
stacking untouched.
@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6699

@TheGreatAxios
TheGreatAxios merged commit 8c62769 into main Aug 22, 2026
3 of 4 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.

1 participant