Repository navigation
fix(desktop): show why a prompt was not sent and retry in place - #16
Merged
Merged
Conversation
|
PR test build retired — merged into |
Hona
added a commit
that referenced
this pull request
Nov 11, 2026
… start edge, as Desktop's aside's do. The side region's slot clipped the card's elevation (outside its box) at its start, so the 0.5 pt ring and its shadow were missing down the card's left side; a clip 4 pt wider on that side lets them show while the region is open or sliding, and none once it rests shut. At 1x the card's start edge now reads #f9 #f8 #e6 | #ff in light and #8 #7 #15 | #16 in dark, Desktop's #f9 #f8 #e6 | #ff and #8 #7 #16 | #16, where it read #fa #fa #fa | #ff.
This branch was previously deployed
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.
A rejected prompt keeps its words and a Retry button together. Pressing Enter on the untouched restored draft is also a retry of that bubble, not a second message. Connection trouble appears in the session header rather than a toast.
🔍 Origin: follow-up to the durable outbox, comparing recovery with the iOS client.
❌ Before: A server error could be labeled as a lost connection, Retry was hidden in a menu, and an offline follow-up could lose its Pending status as soon as a busy session accepted it.
✅ After: A lost reply says Checking delivery. Confirmed absence shows Not sent and a plain reason. A rejection offers Retry. Admission to a busy session is Pending until delivery; a late acknowledgment cannot move it backward.
👀 Read: the loopback restart test exercises both sides of admission. Only a confirmed absence permits another POST. Shell commands are not replayed by this change.
Checks run
cargo test --locked -p opencode-desktop -- send_failed:: reconnect::tests new_session::tests session_stall_tests queue::order_tests queue::edges_tests: 46 passed. Captured and inspected the rejected-message fixture headlessly.