Commit graph

5 commits

Author SHA1 Message Date
ytahdn
4fd72b3ce3
feat(web-shell): polish chat UI and table rendering (#6099)
* feat(web-shell): polish chat UI and table rendering

* fix(web-shell): address review follow-ups

---------

Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-07-01 16:20:19 +08:00
ytahdn
a384c4a21a
feat(web-shell): polish chat UI (#5893)
* style(web-shell): polish chat UI

* fix(web-shell): address chat polish review feedback

---------

Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-06-26 15:38:23 +00:00
ytahdn
83e09f2b5b
refactor(web-shell): restructure chat UI (#5775)
Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-06-23 22:43:19 +08:00
ytahdn
9641532a10
Polish web-shell execution display (#5190)
* fix(web-shell): correct prompt turn metrics

* feat(web-shell): clarify turn execution traces

* fix(web-shell): stabilize thinking trace display

* style(web-shell): polish execution display

* style(web-shell): refine command and tool displays

* fix(web-shell): address review feedback on execution display polish

- Remove unused trace field and withTrace() helper from DisplayItem
- Simplify getRowClassName to a single ternary, drop unused index param
- Restore !content guard on thinking preview tail-scroll
- Add CSS comment documenting margin-left cross-file coupling
- Rename isNonAssistantStep to isExecutionWorkStep for clarity
- Replace APL glyphs (⌄/⌃) with Geometric Shapes (▼/▲)
- Add keyboard accessibility tests for tool row expand (Enter/Space)

* fix(web-shell): address execution display review

---------

Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-06-16 23:07:21 +08:00
Shaojin Wen
84d01e7070
feat(web-shell): show message time on hover (#5079)
* fix(acp-bridge): preserve original timestamp when replaying session history

History replay re-emits each persisted record with its original epoch-ms time nested in update._meta, but BridgeClient.sessionUpdate published the frame without lifting it to the envelope. EventBus.publish then stamped envelope _meta.serverTimestamp with publish-time Date.now(), which the client's extractServerTimestamp picks up at higher priority than the nested original — so a resumed session rendered every historical message at the resume moment instead of when it was sent.

Lift update._meta.timestamp (or serverTimestamp) to the envelope serverTimestamp so EventBus preserves it. Live updates without such a timestamp keep the Date.now() fallback unchanged.

* feat(web-shell): show each history message's time on hover

Carry each transcript block's wall-clock time (serverTimestamp ?? clientReceivedAt) onto every message and reveal it as a CSS-only hover tooltip in the message list. Same-day messages show HH:mm:ss; older ones show yyyy-MM-dd HH:mm:ss (local time, zero-padded).
2026-06-13 15:30:44 +08:00