Repository navigation
feat(mobile): manage bot routines and conversation actions - #389
Merged
Merged
Conversation
nixuuu
force-pushed
the
feat/mobile-parity-3-2
branch
from
November 9, 2026 10:39
4ed840a to
02cea7b
Compare
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 22, 2026
## Change On tablets and unfolded phones, deleting a bot from the sidebar could leave its conversation open in the right pane with “Reconnecting…”. The sidebar menu and bot settings now share one deletion flow. After the gateway confirms deletion, the bot leaves the sidebar and the right pane returns to the conversation chooser if that bot was open. On narrow screens the app returns to the Bots list. Deleting a different bot keeps the current conversation open. ## Verification - Mobile typecheck, lint on edited files, and `git diff --check` passed. - Six local scenarios passed using the Expo Router stack reducer and a stubbed deletion response. These covered narrow and wide navigation, deleting a different bot, switching during deletion, request failure, and an ended pairing. - The Android emulator was occupied. On-device verification of the split-pane interaction is pending. - GitHub CI runs the repository checks. UI copy is unchanged. Fixes: #389
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.
Mobile bot details now pause, activate and delete routines and cancel reminders. Sidebar bot menus add pin/unpin and movement, preserve editing/archive/delete, and expose archived conversations. Actions respect the available home and live connection; routine deletion explains its effect and asks for confirmation.
Bot creation starts with model selection. Web and mobile share pure duplicate-name validation and shorthand colour normalization through
packages/domain. A pending approval card opens the bot's approval-policy picker through the existing update route; changing policy does not answer the card, and the gateway remains authoritative.Validation:
bun install,bun run gen:check,bun run typecheck,bun run lint,bun run format:check, foregroundbun run check:tmpandapps/web'sbun run buildpassed. Full suite: 1868 passed, 162 skipped, zero failures, 21587 assertions across 330 files; no test temp entries left. The web build reports a chunk-size warning. All layers were rebased ontoacd4a9f1(including fix(computers): resync linked thread views when their stream stalls #386/fix(interactions): show the request countdown in the card header #387) before the full checks. Final fingerprint generation was repeated on every layer after squashing review fixes; the final tree matches the tested tree.Production runtime fingerprints, before → after this layer:
2a0ef03a2a0fda8e7fad2e3df8609803d2edbda32a0ef03a2a0fda8e7fad2e3df8609803d2edbda3c5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07dc5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07dGenerated with
bunx [email protected] fingerprint:generate --platform <ios|android> --build-profile production --json --non-interactive.Copy audit (docs/copy.md §8): read-only routine/reminder rows → “Pause routine”, “Activate routine”, “Delete routine” and “Cancel reminder”; each action names its object. Delete confirmation repeats the verb and explains queued/active runs and irreversibility. Silent duplicate-name rejection → shared “A bot with this name already exists. Choose another name.” Errors state the failure and recovery; titles use sentence case and bot/routine terminology. No humour, new glossary terms or icon-only meaning. Visual short/typical/long-name audit remains manual and unverified.
Manual QA still required; installed simulator clients cannot execute this checkout. Use an existing compatible client after the JS changes are available. Repeat light/dark at phone (~390 dp) and Fold (~720 dp) widths, with short, typical and 80-character names:
#abc, then save. Verify duplicate feedback and normalized colour. Retry an unconfirmed creation unchanged.Keep this PR and the entire stack in draft; do not merge individual layers.