Skip to content

fix(chat): keep messages in place during delivery and startup - #1008

Merged
nixuuu merged 2 commits into
devfrom
fix/prevent-status-layout-shift
Nov 19, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/prevent-status-layout-shift

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 19, 2026

Copy link
Copy Markdown
Member

Changes

Mobile threads show send progress in the existing send button. The work header carries the turn from “Starting” to “Working” in place. A slow confirmation shows a message above the composer without resizing the conversation.

Web and desktop keep the send button width stable while its icon changes. Pending bot messages stay dimmed until confirmation on all clients. Delivery failures retain their visible “Not sent” label.

Fixes: #276

Verification

  • Measured 0 px of vertical movement for the tested message and composer transitions on Android at 320 and 411 dp, in light and dark themes.
  • Checked the shared web and desktop components in Chromium at 390 and 1280 px in both themes. The work header, message bubbles and Steer button kept their positions across the tested transitions.
  • Mobile typecheck, lint on the edited mobile files, formatting and diff checks passed locally. The visual checks used locally controlled delivery states. Native iOS, a separate Electron window and a live gateway send were outside the local verification. Full repository checks run in CI.

Copy audit

Passed the §8 audit. Previously, “Starting” appeared twice and a temporary “Sending…” caption repeated the progress indicator. The work header now reports startup once. The send controls expose progress to assistive technology. Slow delivery and failure messages still explain their states. Checked short and multiline messages and the waiting notice with a long computer name.

@nixuuu
nixuuu enabled auto-merge (squash) November 19, 2026 06:30
…out-shift

# Conflicts:
#	docs/linked-computers.md
#	docs/mobile.md
@nixuuu
nixuuu merged commit 84e6043 into dev Nov 19, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/prevent-status-layout-shift branch November 19, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant