GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — fix(app): keep the @ menu open while it searches by kitlangton · Pull Request #59425 · anomalyco/opencode Conversation
Contributor
The @ menu in the composer no longer jumps or empties out on every keystroke. 🔍 Origin: seen in real use, typing ❌ Before
✅ After
- keystroke -> file rows = [] -> wait for search -> file rows = new results + keystroke -> keep last file rows -> wait for search -> file rows = new results + menu closed, empty query, or a space -> file rows = [] 📊 Proof
Before, typing at-menu-before.mp4After: at-menu-after.mp4The new component test fails on the current branch (old rows gone while the next search is pending) and passes with the change, 10 of 10 repeats. Visual<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none"> <style> .caret { animation: blink 1s steps(1) infinite; } .row2 { animation: swap 2.4s ease-in-out infinite; } @keyframes blink { 50% { opacity: 0; } } @keyframes swap { 0%, 40% { opacity: 1; } 50% { opacity: .6; } 60%, 100% { opacity: 1; } } @media (prefers-reduced-motion: reduce) { .caret, .row2 { animation: none; } } </style> <rect x="20.5" y="4.5" width="199" height="34" rx="6" stroke="currentColor" stroke-opacity=".25"/> <rect x="25" y="9" width="190" height="11" rx="3" fill="currentColor" fill-opacity=".1"/> <rect x="30" y="13" width="70" height="3" rx="1.5" fill="currentColor" fill-opacity=".6"/> <g class="row2"><rect x="30" y="27" width="96" height="3" rx="1.5" fill="currentColor" fill-opacity=".55"/></g> <rect x="20.5" y="42.5" width="199" height="25" rx="6" stroke="currentColor" stroke-opacity=".35"/> <text x="30" y="59" font-family="ui-monospace, monospace" font-size="10" fill="currentColor" fill-opacity=".8">@res</text> <rect class="caret" x="55" y="50" width="1" height="11" fill="currentColor"/> </svg> 👀 Read: The clips use the composer story with a simulated 250 ms file search. Checks run
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The fix works. With the PR's slow-file-search story applied to the base, the new component test fails: the previous file rows vanish while the next search is pending. With this change the rows stay until the new results replace them. The test passed 5 of 5 repeats, and the full The public API is unchanged: this only touches the app's internal composer state and a story. One small inline note: a failed search now leaves the previous query's results on screen.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that results are kept from one query to the next, a failed search leaves the previous query's file rows listed for the new query until another search succeeds. Before this change they disappeared. Clearing them on failure, for example
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new commit only adds a blank line in the story, so there was nothing new to check. My earlier note about rows from a failed search staying listed for the new query is still open. The public API is unchanged.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |