Repository navigation
Run, pause, delete, create and edit a Bot's routines from the mobile profile - #1902
Merged
Merged
Conversation
…profile Tapping a routine in the Bot profile opens a sheet with its trigger, next run and recent runs, with Run now, Pause/Resume, Edit and Delete (asked in place). New routine and Edit author daily, weekly and every-N-hours routines with a live preview from the Host; other triggers open the full client. Every change goes through the existing Bot Schedule bridge methods as the Human, so the desktop Schedules entry sees the same state. Issue: #1897 Agent-Task: claude/cloud/session_01QvN8ywuXcKzbbQRkufut27 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QvN8ywuXcKzbbQRkufut27
|
Warning Review limit reachedYou'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 57 minutes. View limit details
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. Comment |
Issue: #1897 Agent-Task: claude/cloud/session_01QvN8ywuXcKzbbQRkufut27 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QvN8ywuXcKzbbQRkufut27
Issue: #1897 Agent-Task: claude/cloud/session_01QvN8ywuXcKzbbQRkufut27 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QvN8ywuXcKzbbQRkufut27
DoodleBears
added a commit
that referenced
this pull request
Oct 15, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
Batch QA — head e5ad68c (merged on
|
| Step | Result |
|---|---|
| 1. DM → chip → profile: Routines rows with chevrons, list ends with "New routine" | ✅ pass |
| 2. Tap a routine: sheet with title, "Daily at 09:00 · Next …", Run now + Pause, Instruction, Recent runs, Edit, Delete | ✅ pass |
| 3. Pause → button becomes Resume, subtitle "Off"; Host shows it paused; Resume | ✅ pass (Host enabled: false → true, checked through the CLI rather than the desktop Schedules view) |
| 4. Run now → "Started a run." and a "Run now · …" row under Recent runs | ✅ pass |
| 5. Edit: Title, Instruction, When chips, Time field, Next runs; Cancel | ✅ pass — |
| 6. New routine: Weekly, Mon/Wed/Fri, 18:30 → Next runs updates (Fri Oct 16, Mon Oct 19, Wed Oct 21 at 6:30 PM); Create closes the sheet and the row appears; the Host shows the same next run (09:30Z = 18:30 Tokyo) | ✅ pass. Nice touch: an invalid time shows "Enter a time such as 09:00." and holds back Next runs. |
| 7. Delete: in-place confirm ("It will not run again. This cannot be undone."), then Delete removes the row | ✅ pass — note the Delete row in the routine sheet is not exposed to accessibility (no button role/label), so VoiceOver/automation can't reach it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


















Requested by Vain · project thread
Why the change
On the phone a PersonaBot's routines were a read-only list, so stopping a noisy routine or running one now meant going back to the computer.
Closes #1897 (parent #1893). Agent claim: #1897 (comment), task
claude/cloud/session_01QvN8ywuXcKzbbQRkufut27.Special things to note
apps/mobile/src/host/routines.ts(scheduleCreate {slug, input},scheduleUpdate {slug, id, change}), which the device gateway matches against the remote method's parameter names.pnpm lint,pnpm format:check, mobiletypecheckandpnpm vitest run apps/mobile(307 passed) pass. Newnode scripts/e2e-mobile-routines-web.mjsdrove the web export against a fresh isolated Host and passed all 7 checks: Pause and Resume changeenabledon the Host, Run now adds a manual firing toscheduleHistory, Delete only after confirming, a cron routine offers the full client, and a new weekly routine's preview matches the Host'sschedulePreviewand lands on the Host. Not run: a native development build on a phone or Simulator (owed in the simulator batch).scripts/ci-plan.mjsrule changed.Change outline
Weekdays are ISO (Monday 1 to Sunday 7) as the Host takes them; the existing label lookup now also names Sunday 7, which used to print nothing.
Screenshots: 390 × 844 web export against a live isolated Host, light on the left and dark on the right in each row.
Control: profile, detail, paused, after Run now
Before: the profile's routine rows had no chevrons and no New routine row, and tapping did nothing (not re-captured; the web export of main was not rebuilt for this PR). After, top to bottom: the Routines section with tappable rows and New routine; the routine sheet; the same routine paused (Off, Resume); after Run now, with the manual firing under Recent runs.
Delete asks in place; a schedule the phone cannot express
Authoring: Edit, New routine with the Host's next runs, profile after Create
🤖 Generated with Claude Code
https://claude.ai/code/session_01QvN8ywuXcKzbbQRkufut27