Repository navigation
fix(panel): follow-ups to the events, GitHub and session launcher changes - #276
Merged
Merged
Conversation
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.
Follow-ups to things that went in with #234, #270 and #273.
gh auth statusran synchronously on main fromloadFromConfig, so at launch and on every Settings open, for anyone with gh installed whether or not GitHub was turned on. It checks the token with github.com so on a slow network the panel froze for up to 10s, and PRIVACY.md says GitHub isn't contacted until you turn it on. It now runs off main and only once PR links or activity is on. Turning PR links on asks gh first and only starts the device flow if neither gh nor the app is signed in.gh apialso gets--hostname github.comso it can't pick another host up from the environmentreviewfeed events on the same PR, which included feat(github): GitHub activity in the feed and a PRs tab #270's approved / changes requested decisions. The decision disappeared into "N new comments" and gave the row itsdecision:key, so the next decision replaced every comment. Keyed events don't group any moreclearConfirmKeyAction, pure and tested), and leaving Events disarms it so coming back and pressing C asks againcdis typed into your login shell, a folder with a quote, backslash or control character in it is refused (beeps, panel stays up) instead of typed, and only transcripts named like a session id are offered for resume. Ghostty takes the folder as a property so it's unaffectedNot in here: #270's 30 day re-announce of old comments, and the #273 relaunch issues Hisku left on that PR (keyed replacements and history-off markers). Happy to do those next.
Tests: new ones for each of the above in
IntegrationPageTests,EventsListTestsandSessionLauncherTests. Those suites plus the GitHub, sessions and settings ones pass locally (130 tests), and CI's fullswift testis green.