Skip to content

fix(desktop): show archived actions inline - #4375

Open
Phoenix500526 wants to merge 2 commits into
apache:mainfrom
Phoenix500526:fix/archived-task-icon-actions
Open

fix(desktop): show archived actions inline#4375
Phoenix500526 wants to merge 2 commits into
apache:mainfrom
Phoenix500526:fix/archived-task-icon-actions

Conversation

@Phoenix500526

@Phoenix500526 Phoenix500526 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Archived task rows exposed Restore as a text button while hiding their only
other action, Delete, behind an overflow menu. Show both actions directly as
compact icon buttons, rename Restore to the more precise Unarchive, and use a
matched Archive/Unarchive icon pair so the inverse relationship is visible.

The existing permanent-delete confirmation and task cleanup flow are unchanged.

Fixes #4370

Verification

  • npm run format:check -- apps/desktop/e2e/parent-session-deletion.spec.ts apps/desktop/src/renderer/locales/settings-tasks-copy.ts apps/desktop/src/renderer/settings/tasks-settings-page.tsx packages/ui/src/__tests__/icons.test.tsx packages/ui/src/icons.tsx — passed
  • npm --workspace @maka/ui run typecheck — passed
  • npm --workspace @maka/desktop run typecheck — passed
  • npm --workspace @maka/ui run build — passed
  • node --test packages/ui/dist/__tests__/icons.test.js — 1 test passed
  • Manually verified the inline actions and neutral default styling in the running Desktop UI
  • Not run locally: apps/desktop/e2e/parent-session-deletion.spec.ts; CI is pending

Before Change

image

After Change

image

AI use

Select exactly one:

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: Codex — implementation, tests, and PR preparation.

Checklist

  • Tests cover the change and fail without it
  • Lint, format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@github-actions github-actions Bot added the effort/M Under 500 readable lines label Aug 31, 2026
@Phoenix500526
Phoenix500526 force-pushed the fix/archived-task-icon-actions branch from 4f2d198 to daae984 Compare August 31, 2026 15:45
Archived task rows mixed a text action with a one-item overflow menu.
Direct icon actions make both choices visible without redundant chrome.

CLOSES apache#4370

Signed-off-by: Jiawei Zhao <Phoenix500526@163.com>
Signed-off-by: Jiawei Zhao <Phoenix500526@163.com>
@Phoenix500526
Phoenix500526 force-pushed the fix/archived-task-icon-actions branch 2 times, most recently from daae984 to 6189e6b Compare September 1, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/M Under 500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize(Setting UI): show archived task actions inline

1 participant