Repository navigation
fix(zbugs-swift): open the first issue on launch on a Mac or an iPad - #183
Merged
Merged
Conversation
With no saved selection, the detail column said No Issue Selected until an issue was clicked, while zbugs-gpui and zbugs-rune opened at the issue they had saved. Now a Mac or an iPad selects the list's first issue once the list has rows. A saved selection still comes first, and an iPhone still opens on the list rather than over it. Amp-Thread-ID: https://ampcode.com/threads/T-4feab53a-cd8c-4a4a-94d5-b776ada08725 Co-authored-by: tmm <tmm@tmm.dev>
tmm
added a commit
that referenced
this pull request
Nov 13, 2026
…ne (#190) As zbugs-swift does since #183: with no saved selection, zbugs-gpui and zbugs-rune opened with no issue selected. Now each selects the list's first issue once the list has rows. A saved selection still comes first, and it happens once per launch, so deleting the selected issue later still leaves none selected. The e2e runs check it: zbugs-gpui's online run starts with nothing saved and waits for the list's first issue to be selected, and e2e.sh launches zbugs-rune with empty settings and compares the selection it saves with the first open issue in Postgres. Amp-Thread-ID: https://ampcode.com/threads/T-01a1d36c-4ffc-7241-95ec-d56d1643dc77 Co-authored-by: Amp <amp@ampcode.com>
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.
With no saved selection, zbugs-swift's detail column said No Issue Selected until you clicked an issue. zbugs-gpui and zbugs-rune open at the issue they saved.
Now, when nothing is selected, a Mac or an iPad selects the list's first issue as soon as the list has rows. A saved selection still wins. An iPhone (compact width) still opens on the list, so no detail view gets pushed over it.
Checked on a Mac (Xcode 26.1.1) against
apps/zbugs-swift/server: the UI test's launch screenshot ("1 Issues") shows the first issue open in the detail column.Amp-Thread-ID: https://ampcode.com/threads/T-4feab53a-cd8c-4a4a-94d5-b776ada08725