Skip to content

perf(threads): bound activity previews and tooltips - #1054

Merged
nixuuu merged 1 commit into
devfrom
perf/optimize-large-tooltips
Nov 20, 2026
Merged

nixuuu merged 1 commit into
devfrom
perf/optimize-large-tooltips

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 20, 2026

Copy link
Copy Markdown
Member

Change

  • Remove native tooltips that duplicate collapsed work, tool-group, command, and mini-transcript previews. Keep a tooltip when a short, single-line path or URL adds context to a tool label.
  • Use the first line and at most 120 characters of content for command and tool-argument previews and live activity hints on web, desktop, and mobile. Expanded details expose the full command, script, and result.
  • Document the preview behavior in docs/timeline-folding.md.

Verification

  • Chromium at 390 px and 1440 px, light and dark. Checked the collapsed DOM with a multiline script, running status, the short path tooltip, opening the group by keyboard and touch, and reading the full command and script after expansion.
  • Native Android emulator. Tapped the group and expanded a multiline command and a long single-line shell call. Both showed compact previews when closed and the full command after expansion.
  • Web and mobile typechecks, targeted Oxlint and Expo lint, edited-file formatting, and git diff --check passed. Spot checks covered long lines, CRLF, Unicode, and tooltip eligibility. GitHub CI runs the full gate.

Copy audit

The previous tooltips repeated the command or group summary in full. The updated headers keep the existing action and status wording, mark shortened previews with an ellipsis, and expose full text in the disclosure. Checked short and typical labels and long inputs at desktop and phone widths. Counts, running status, and expanded-state semantics remain available to assistive technology.

Fixes: #668

Keep full commands and scripts in expanded details. Avoid copying
tool input into the title attributes of collapsed activity.

Fixes: #668
@nixuuu
nixuuu enabled auto-merge (squash) November 20, 2026 11:21
@nixuuu
nixuuu merged commit 40bc31b into dev Nov 20, 2026
16 checks passed
@nixuuu
nixuuu deleted the perf/optimize-large-tooltips branch November 20, 2026 11:29
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