The tui should keep track of the active last project #61
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When closing the tui, it should persist the last selected server so it can start with that on next start.
Implemented in
c1cfaa3.tui.last_serverto the shared CLI configuration and save it atomically when the TUI exits cleanly.--server NAMEstill takes precedence and becomes the remembered server after exit.TESTING.mdand added regression coverage for round-trip persistence, rename/deletion handling, remembered startup, explicit override, and stale-name fallback.Verification:
cargo fmt --all -- --checkRUSTFLAGS="-D warnings" cargo check --workspace --all-targetscargo clippy --workspace --all-targets -- -D warningscargo test --workspace(49 passed)git.rfc1437.detocodeberg.orgin the Servers screen, quit, and confirmed a no-argument relaunch restoredcodeberg.org; also confirmed--server git.rfc1437.deoverrides and becomes the subsequent restored profile. The originalgit.rfc1437.deselection was restored after testing.This is a TUI issue, so no iPhone release build or deployment was performed, as requested.