Conversation
The login menu now has a "Configure relays" option so relays can be
reviewed, added, and removed before signing in. This matters most for
QR (NIP-46) pairing, which dials the configured relay set.
Also wires up the relay screen's add/delete/navigate controls
('a'/'d' keys, list navigation, Enter-to-save), which existed in the
UI but were never connected to any key handling.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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.
Summary
a(add) /d(delete) key handling and list navigation, which existed in the UI (viewRelays) but were never connected toUpdate()— pressing them previously did nothing.Test plan
go build ./...go test ./...(existing suite, all green)tui/tui_relay_prelogin_test.gocovering: login menu shows "Configure relays", selecting it preloads saved relays, add/delete relay calls through to the save callback, Esc returns to login (not Home) pre-login🤖 Generated with Claude Code