Skip to content

A blank message draws nothing; a file is captioned as the call named it; decorators read as code - #605

Merged
danbarua merged 2 commits into
mainfrom
session-view-tweaks
Sep 30, 2026
Merged

danbarua merged 2 commits into
mainfrom
session-view-tweaks

Conversation

@danbarua

@danbarua danbarua commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Three things seen on a real session reopened in the web app, which the gallery did not show.

What changes

  • Empty gap between the prompt and the tool card. The agent sent an assistant message whose text was only whitespace, drawn as an empty message with its toolbar. A message that is only whitespace is now left out, and does not break a run of tool calls into two rows.

  • Full absolute path in the caption. A new file's caption and a diff's path now show the path as the call's input named it (app.py), with the full path as the hover text. When no argument names the file, the full path is shown as before.

  • Python decorators drawn like comments. highlight.js marks a decorator, a shebang and a preprocessor line as meta, which shared the muted italic of comments. It is now coloured as code.

  • The full path where consent is given. A short caption would hide where a write lands: an input of settings.json for /Users/dan/.vscode/settings.json would read as settings.json. So the permission prompt now lists the request's locations as full paths (it showed none before), and while a request waits, the card shows the diff or new file by its full path. The short name applies once the request is answered.

Checked

  • bun run check: all 28 passed, on both commits.
  • On http://127.0.0.1:8850, the Qwen session d950ffb6-… reopened: the transcript is the prompt, the tool card and the answer with no empty message between; the caption reads app.py · new file · 133 lines, with the full path on hover; @app.route('/') is upright and coloured.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs

…it; decorators read as code

- A message whose text is only whitespace is left out of the transcript, and
  does not break a run of tool calls.
- A new file's caption and a diff's path show the path as the call's input
  named it (`app.py`), with the full path as the hover text.
- A decorator, shebang or preprocessor line is coloured as code, not in the
  muted italic used for comments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs
@github-actions github-actions Bot added the area:web The web app and shared UI: app-web, ui, design, records, view-model, acp-client label Sep 30, 2026
The prompt lists the request's locations as full paths, since the agent's own
input may name only a file. While a request waits, the call's card shows a
diff or new file by its full path too, not by the agent's name for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs
@danbarua
danbarua marked this pull request as ready for review September 30, 2026 23:55
@danbarua
danbarua merged commit 6fe1c83 into main Sep 30, 2026
10 checks passed
@danbarua
danbarua deleted the session-view-tweaks branch September 30, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:web The web app and shared UI: app-web, ui, design, records, view-model, acp-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant