Skip to content

fix(chat): show why a message did not go above the message box - #851

Merged
devswha merged 4 commits into
mainfrom
fix/composer-note-above-box
Oct 11, 2026
Merged

devswha merged 4 commits into
mainfrom
fix/composer-note-above-box

Conversation

@devswha

@devswha devswha commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Problem

From 0.4.7 testing of #728: the refusal note ("Not sent: Claude Code's input box in the terminal already holds “heelo”." + Clear it and send) rendered as small red text below the composer card, looking detached from the box and sitting at the very bottom edge on a phone.

Change

  • Composer: the note (plain or with its action) renders before .composer-surface instead of after it, with a TriangleAlert icon; one element for both variants.
  • Composer.css: .composer-note is a band — danger tint, hairline border, --radius-lg, --fs-sm, the box's width (min(100%, var(--chat-w)) as before) — with the action pushed to the end and wrapping under the text on a narrow row.

The "untranslated" part of the report was the PC browser's app language: with Korean selected the note renders in Korean (verified in the demo); the strings shipped in 0.4.7.

Tests

  • composer-fit-demo-regression: the "Update this PC" note now also asserts it sits above the message box and is as wide as it.
  • bun run check fast, composer-fit-demo-regression, ui-regression pass.
  • Screenshots (demo, input_draft refusal faked on the socket) at 1100px and 390px checked.

🤖 Generated with Claude Code

The refusal note (a draft in Claude Code's terminal input box, an old
bridge, an unconfirmed send) was small red text under the composer,
detached from the box it was about and at the very bottom of a phone.
It is now a band on the box's top edge, the box's width, with a warning
icon and Clear it and send at its end.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 25 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f5d24842-50ff-4271-b0ac-e2056636138e

📥 Commits

Reviewing files that changed from the base of the PR and between 1bb5e49 and 56c222e.


📒 Files selected for processing (4)
  • CHANGELOG.md
  • scripts/composer-fit-demo-regression.ts
  • src/components/Composer.css
  • src/components/Composer.tsx

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

devswha and others added 3 commits October 12, 2026 08:19
Review finding (Codex, pre-merge): on a touch screen the grip's hit area
rises further above the box than the band's margin, so a strip along the
bottom of "Clear it and send" started a resize instead. The band keeps
the grip's height clear.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@devswha
devswha merged commit bf7ab41 into main Oct 11, 2026
15 of 17 checks passed
@devswha
devswha deleted the fix/composer-note-above-box branch October 11, 2026 23:40
devswha added a commit that referenced this pull request Oct 12, 2026
## Change

Release 0.4.8, from main at ca6db6e (20 PRs since v0.4.7: the 0.4.7
mobile walk-through fixes, two contributor PRs and the revived #793).

- `package.json` and `herdr-plugin.toml`: 0.4.8.
- CHANGELOG: `[Unreleased]` becomes `[0.4.8] - 2026-10-12`, with the
compare links. Twelve entries that had no PR link get theirs (#835 #837
#838 #840 #842 #843 #844+#848 #845 #847 #849 #851 #852). A Maintenance
line says the remote-PC runtime is now version 27.
- `release-summaries.json`: 0.4.8 in en/ko/ja/zh/tr (3 new, 6 improved,
8 fixed). The Turkish lines are not checked by a native speaker.
- `REMOTE_BUNDLE_VERSION` 26 -> 27: #836 adds the `pending-hold` server
feature and #787 serves precompressed assets, so `remote-v27` is
published before the app release.

Every PR merged since v0.4.7 is linked in the section: #787 #788 #793
#835 #836 #837 #838 #839 #840 #841 #842 #843 #844 #845 #846 #847 #848
#849 #851 #852.

## Validation

- `bun scripts/release-notes.ts 0.4.8` renders the summaries and the
full changelog (116 lines).
- `bun run check fast`: generated types, typecheck, build and 2800+ unit
tests pass.

## Release

After this merges and its CI on `main` passes: push `remote-v27`, wait
for its release, then run the Release workflow with `0.4.8`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <[email protected]>
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