Skip to content

feat(composer): fold the plan into the background-task chip and drop the plan flow - #846

Merged
devswha merged 4 commits into
mainfrom
feat/merge-plan-into-background-button
Oct 11, 2026
Merged

devswha merged 4 commits into
mainfrom
feat/merge-plan-into-background-button

Conversation

@devswha

@devswha devswha commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Summary

A pane's plan moves out of the app header and into the composer's background-task chip, so the two things an agent works through besides its answer share one control and one list. The plan's flow of boxes, its modal dialog and its two settings are removed.

What changes

  • Chip (BackgroundTasks.tsx): with a plan it starts with the list-checks glyph, Plan and done/total; running background tasks follow after a hairline as their glyph and number (Plan 1/3 | ≋ 2). It shows when there is a plan or under the existing background-task rules. A narrow card keeps the glyphs and numbers. It keeps the working tint while a step or a task is left.
  • List: one popover with a Plan heading (N of M done) and the steps in wave order (status glyph, name, what a running step does now, state · time · teammate), then a Background tasks heading over the existing tasks list. Each section reads its own endpoint only while open (/api/pane/plan, /api/pane/omo-tasks), so a failure in one leaves the other intact.
  • Plumbing: App → PaneTerminal → Composer pass plan, null for an offline PC's cached plan, as before.
  • Removed: PlanButton/PlanDialog (+ CSS), flowLayout/FLOW in lib/plan.ts (planWaves stays), the Plan flow and Plan count in the header settings and their strings in all dictionaries.
  • Telemetry: planFlow/planButton leave REPORTED_SETTINGS and become RETIRED_SETTINGS. The server accepts and drops them, so a stored state or a page loaded before the update is not refused. The Worker keeps counting them from older installs; only a comment changed there, so it does not need a redeploy.
  • DESIGN.md, docs/guide.md and the changelog are updated. The sidebar's per-agent plan count (.plan-count) is unchanged.

Verification

  • bun run typecheck; bun run test:unit (2745 pass, 0 fail).
  • scripts/sidebar-activity-demo-regression.ts and scripts/composer-fit-demo-regression.ts pass; the plan check now opens the chip's list on a desktop and a phone.
  • bun run check run --build bun scripts/ui-regression.ts passes on this commit, including the rewritten plan checks (desktop chip and list, focus return, offline PC shows no plan chip, phone chip fits the card).
  • Desktop and phone screenshots from the demo were reviewed and approved by the owner before this PR.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6476814c-3c60-4b34-ad64-8f9baa3b7cbf

📥 Commits

Reviewing files that changed from the base of the PR and between 1675499 and 011a39d.


📒 Files selected for processing (26)
  • CHANGELOG.md
  • DESIGN.md
  • docs/guide.md
  • scripts/deep-link-demo-regression.ts
  • scripts/sidebar-activity-demo-regression.ts
  • scripts/ui-regression.ts
  • server/telemetry.test.ts
  • shared/telemetry.ts
  • src/App.tsx
  • src/components/BackgroundTasks.css
  • src/components/BackgroundTasks.tsx
  • src/components/Composer.tsx
  • src/components/PaneTerminal.tsx
  • src/components/PlanDialog.css
  • src/components/PlanDialog.tsx
  • src/components/SettingsDialog.tsx
  • src/lib/i18n.ja.ts
  • src/lib/i18n.ko.ts
  • src/lib/i18n.tr.ts
  • src/lib/i18n.zh.ts
  • src/lib/plan.test.ts
  • src/lib/plan.ts
  • src/lib/settings.test.ts
  • src/lib/settings.ts
  • telemetry/worker.test.ts
  • telemetry/worker.ts

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

PlanDialog is gone here, so main's Back handling for it (#842) moves to
the background-task list that holds the plan now, and the phone deep-link
check opens the plan from the composer's chip.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Review finding (Codex, pre-merge): with the list open, a plan emptied or
a PC gone left the control mounted with no sections and no name. The list
closes and the control goes; ui-regression covers the emptied plan.

Not changed: an observer (view-only window) has no composer and so no
plan chip; the sidebar's count stays its view of the plan.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@devswha
devswha merged commit 1214621 into main Oct 11, 2026
17 checks passed
@devswha
devswha deleted the feat/merge-plan-into-background-button branch October 11, 2026 22:46
devswha added a commit that referenced this pull request Oct 12, 2026
## Change

Release 0.4.8, from main at ca6db6e (20 PRs since v0.4.7: the 0.4.7
mobile walk-through fixes, two contributor PRs and the revived #793).

- `package.json` and `herdr-plugin.toml`: 0.4.8.
- CHANGELOG: `[Unreleased]` becomes `[0.4.8] - 2026-10-12`, with the
compare links. Twelve entries that had no PR link get theirs (#835 #837
#838 #840 #842 #843 #844+#848 #845 #847 #849 #851 #852). A Maintenance
line says the remote-PC runtime is now version 27.
- `release-summaries.json`: 0.4.8 in en/ko/ja/zh/tr (3 new, 6 improved,
8 fixed). The Turkish lines are not checked by a native speaker.
- `REMOTE_BUNDLE_VERSION` 26 -> 27: #836 adds the `pending-hold` server
feature and #787 serves precompressed assets, so `remote-v27` is
published before the app release.

Every PR merged since v0.4.7 is linked in the section: #787 #788 #793
#835 #836 #837 #838 #839 #840 #841 #842 #843 #844 #845 #846 #847 #848
#849 #851 #852.

## Validation

- `bun scripts/release-notes.ts 0.4.8` renders the summaries and the
full changelog (116 lines).
- `bun run check fast`: generated types, typecheck, build and 2800+ unit
tests pass.

## Release

After this merges and its CI on `main` passes: push `remote-v27`, wait
for its release, then run the Release workflow with `0.4.8`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Fable 5.1 <[email protected]>
Haeminway1 added a commit to Haeminway1/herdr-web-ui that referenced this pull request Oct 12, 2026
Conflicts: version 0.4.801; the classic tab strip and one-pane canvas kept beside
upstream devswha#835's pane actions in the touch tab menu; the open latest work prop kept
with devswha#788's immutable turn revisions. Upstream devswha#846 removed the header's plan button
and its dialog: they stay as the default, and its plan in the background-task chip
is Settings → Appearance → Plan in the message box, off (on under automation).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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