Open pages from search by keyboard once the palette is final - #365
Merged
Merged
Conversation
openPage clicked a Search Buzz action by position. After a reload that restores a conversation, the channel list arrives after the palette opens and adds rows above Actions, so the target moves about 190px. A click at the old position lands between rows and the dialog stays open (thread-unread.spec.mjs:45 on webkit in CI). The palette also starts as a placeholder until the community connects. The connected palette replaces it, which resets selection and option ids. openPage now waits for the connected palette, selects the action with the keyboard, and presses Enter. Selection follows the action's key, so rows that arrive later cannot move it. Tests that hold or fail the relay session pass connected: false, and openPage checks that the placeholder is showing. A new global-search test holds the membership read so the rows arrive after selection, and checks that the action moved and stays selected. Signed-off-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
loganj
force-pushed
the
larry/search-choices-settle
branch
from
September 28, 2026 21:17
b210909 to
ef2d98d
Compare
loganj
marked this pull request as ready for review
September 28, 2026 21:47
kalvinnchau
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖
Summary
openPage. It clicked the action by its position on screen. Sometimes the click missed, the dialog stayed open, and the test failed. CI recently showed this inthread-unread.spec.mjson WebKit.Details
openPage(page, name, { connected: false }), and the helper checks that the placeholder is showing.global-search.spec.mjs: it holds the channel-membership read (the relay query that lists your channels) across a reload so the rows arrive after an action is selected. It checks that the action moved and is still selected, then presses Enter and checks that the page opened.