Skip to content

fix(tui): rename sidebar Tasks panel to Activity (#4147) - #4205

Merged
Hmbown merged 1 commit into
mainfrom
codex/v0868-fix-4147
Jul 8, 2026
Merged

fix(tui): rename sidebar Tasks panel to Activity (#4147)#4205
Hmbown merged 1 commit into
mainfrom
codex/v0868-fix-4147

Conversation

@Hmbown

@Hmbown Hmbown commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Fixes #4147

Summary

The sidebar panel titled "Tasks" actually renders live tools and background jobs, not durable task state, causing a confusing label/content mismatch. This renames the panel's user-facing label to "Activity" so the title matches what it shows and no longer collides with durable tasks. This is a surgical copy/label change — one rendered title string plus the module doc-comment — with no renaming of Rust modules, structs, or functions (guard #4172).

"Activity" was chosen over the "Running"/"Live" fallbacks because it does not collide with any existing sidebar section title (Pinned / To-do / Agents / Session / Hotbar).

Acceptance criteria

Verification

  • cargo fmt --all -- --check — clean
  • cargo clippy --workspace --all-features --locked -- -D warnings <CI allow-list> — clean (exit 0)
  • cargo test --workspace --all-features --locked — passes except the pre-existing, environment-dependent startup-skill-cache test skill_hotbar_action_activates_skill_through_dollar_alias, which fails identically on the clean base commit without this change (unrelated to a sidebar label edit)
  • cargo build --release — succeeds

Generated with Claude Code

The sidebar panel titled "Tasks" renders live tools and background jobs,
not durable task state. Rename its user-facing label to "Activity" so the
title matches its contents and no longer collides with durable tasks.

"Activity" was chosen over "Running"/"Live" because it does not collide
with any existing sidebar section title (Pinned / To-do / Agents /
Session / Hotbar). The panel stays distinct from the WorkflowPanel above
the input (#4121) — no concepts merged. Internal identifiers
(render_sidebar_tasks, task_panel_*, SidebarFocus::Tasks) are unchanged
per guard #4172; this is a copy/label change only.

Implemented with agent assistance.
Copilot AI review requested due to automatic review settings July 8, 2026 07:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@claude

claude Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Claude finished @Hmbown's task in 1m 35s —— View job


Claude's Review — PR #4205

  • Gather context (diff, changed file)
  • Review correctness / provider-safety / reuse / tests / security per repo review priorities
  • Post review feedback

Summary

This is a small, well-scoped, low-risk copy change. I verified the diff (crates/tui/src/tui/sidebar.rs, +6/-2) directly rather than relying only on the PR description.

What it does:

Review findings (by priority)

  1. Correctness — No bugs. This is a literal string swap; no logic, control flow, or match arms are touched. No panics/unwraps introduced.
  2. Provider/model/route safety (EPIC v0.8.65 EPIC: Separate provider facts, model facts, offerings, and route resolution #2608) — Not applicable; no provider/model/routing code touched.
  3. Reuse/simplification — N/A for a diff this size; no duplication or dead code introduced.
  4. Tests — I searched the tui crate for any test or snapshot asserting the literal "Tasks" title string and found none, so nothing is left broken by the rename. No new test was added, but none is really warranted for a static label string — a snapshot/golden test would be the only thing that could regress here, and there isn't one to update.
  5. Security — N/A, no security-relevant surface.

Verified independently:

  • Grepped crates/tui/src for "Tasks" / "Activity" string literals — the only remaining "Activity" usage is the one added here, and no other sidebar section title collides with it ("To-do", "Agents", "Session", plus Pinned/Hotbar elsewhere) — confirms AC1/AC3.
  • Confirmed no other "Tasks" literal remained anywhere in the tui crate that would now be stale/inconsistent.
  • Read the surrounding function (render_sidebar_tasks) — the change is exactly the title string plus the doc-comment, as described.

Note: I wasn't able to independently run cargo fmt --all -- --check / cargo clippy / cargo test in this sandbox (Bash tool required approval that wasn't available for cargo invocations). The PR description states these were run and pass cleanly with one pre-existing, unrelated test failure (skill_hotbar_action_activates_skill_through_dollar_alias) reproducible on the base commit — I have no reason to doubt this given the diff's size and nature, but flagging that I couldn't verify it myself. If you'd like me to actually run the build/test/lint suite, update the allowed tools to permit cargo commands.

Verdict: Looks good — surgical, matches its stated acceptance criteria, no correctness or safety concerns found. No changes requested.

@Hmbown
Hmbown merged commit 8bae540 into main Jul 8, 2026
19 checks passed
@Hmbown
Hmbown deleted the codex/v0868-fix-4147 branch July 24, 2026 21:10
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.

v0.9.0 5.9: rename sidebar Tasks panel to match live activity semantics

2 participants