Repository navigation
OPE-58 Add Commands sheet client slash actions - #74
Merged
Merged
Conversation
Ship the composer Commands entry and curated new/fork/undo/redo/compact behaviors on iOS and Android so session lifecycle actions stay separate from typed server-command suggestions. Co-authored-by: Cursor <[email protected]>
OPE-58 Slash actions
ParentOPE-56 — Slash & @ Commands What to buildAdd a composer Commands entry: Typed AllowlistOne-line rows:
Out of this ticket: Behavior
Acceptance criteria
Out of scope
Docs
Related
Branch
|
Transient errors and client-action notices auto-dismiss via a shared snackbar instead of permanent timeline chrome. Co-authored-by: Cursor <[email protected]>
Include bottom safe-area inset and the system drag indicator in measured compact detents so short action lists like Commands fit all rows. Co-authored-by: Cursor <[email protected]>
Keep the intrinsic content height when compact re-layout reports a clipped size, wrap entries in a fixed-size VStack, and raise the compact max so Commands-length lists fit. Co-authored-by: Cursor <[email protected]>
Start Commands-style sheets on a content detent without a selection binding, and use tight bottom padding so the home-indicator band does not read as a tall empty gap. Co-authored-by: Cursor <[email protected]>
Use path-based NavigationStack for session open so live home updates do not pop chat, stabilize bottom-sheet host layout to avoid present crashes, and tighten action-list bottom padding for the Show all sessions sheet.
8 tasks
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.
Summary
/button and bottom sheet for curated client slash actions (new,fork,undo,redo,compact) on iOS and Android/as server-command-only; client actions never callPOST …/commandrevertfor redo/undo visibility and record the intentional iOS push-vs-replace navigation gapDocs
docs/features/slash-and-at-commands/ope-58-plan.mddocs/features/slash-and-at-commands/progress.mddocs/features/slash-and-at-commands/parity-gaps.mdTest plan
/after Attach; confirm allowlist hide rules/suggestions remain server commands onlynew,fork(name → Open/Stay),undo,redo,compacton both platforms./gradlew :app:testDebugUnitTest --tests 'dev.opencode.mobile.domain.command.ClientSlashActionCatalogTest' --tests 'dev.opencode.mobile.ui.sessionchat.SessionChatViewModelTest'ClientSlashActionCatalogTests+SessionChatViewModelTestsLinear
Risks / Follow-ups
Made with Cursor
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.