Skip to content

fix(threads): align background task rows and show status as an icon - #586

Merged
nixuuu merged 1 commit into
devfrom
fix/background-tasks-rows
Nov 12, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/background-tasks-rows

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 12, 2026

Copy link
Copy Markdown
Member

Background-task rows now fill the panel width. Status uses a blue running dot, neutral stopped square, red failure icon or green completion check. Names truncate with their full text and status in the tooltip and accessible label.

Desktop metadata shares one right edge; hover or keyboard focus swaps the running duration for Stop without moving the name. Touch and native mobile keep Stop beside the duration. Finished rows use that trailing space for duration · age ago, with no empty action column. Both values remain because runtime and recency answer different questions. Native changes are JavaScript only.

Validation on the isolated SSH review computer:

  • bun install, bun run gen:check, bun run typecheck, bun run lint, bun run format:check, and bun run --filter @canopy/web build passed.
  • Chromium review covered mixed running/stopped/failed/completed rows, short and long names, full-width hover, keyboard focus and Stop access, desktop/narrow/phone layouts, light/dark themes and the output dialog. No web UI tests were added.
  • Local Expo fingerprint generation matched the base for both platforms: iOS 6ddec9ef559ee0095ac33e94ff9418a942053b17, Android 5f6eae3ab278f1cd543e9ed763f923a319b65ec9. eas fingerprint:generate was attempted for both platforms but requires an Expo login on that computer; the comparison used expo-updates fingerprint:generate with the same fingerprint engine and nightly channel. Native device rendering was not reviewed.
  • Full integration/temp tests were left to CI; this task's local verification authorization covers the requested checks and browser review.

Copy audit (§8): visible Stopped/Failed (N)/exit N → status icons with the reason and exit code retained in accessible labels and web tooltips; bare finished age → 7m ago to distinguish recency from runtime; native Done → Completed; native Show full output → the row action with the same accessible instruction. Sentence case, action verbs, glossary and punctuation checked. No new errors, empty states, jargon or humorous copy. Status remains available without colour, and full names remain accessible. Short, typical and long names checked at desktop and phone widths.

Fixes: #392

@nixuuu
nixuuu marked this pull request as ready for review November 12, 2026 20:48
Use full-width task rows with trailing metadata, icon statuses and a duration/stop hover swap. Keep touch controls visible and use the same compact row structure in native mobile.

Fixes: #392
@nixuuu
nixuuu force-pushed the fix/background-tasks-rows branch from 4c70679 to a037f4e Compare November 12, 2026 20:52
@nixuuu
nixuuu merged commit cebc4a7 into dev Nov 12, 2026
9 checks passed
@nixuuu
nixuuu deleted the fix/background-tasks-rows branch November 12, 2026 21:04
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