Repository navigation
fix(mobile): the keyboard and command palette offer New thread only to people who can start one - #1227
Open
Jacksondr5 wants to merge 2 commits into
Open
fix(mobile): the keyboard and command palette offer New thread only to people who can start one#1227Jacksondr5 wants to merge 2 commits into
Jacksondr5 wants to merge 2 commits into
Conversation
…o people who can start one Closes #1102 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
This review includes 5 billable files and costs up to $1.25.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 45 minutes for your next included review. View limit details
|
…the person can start one Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Problem
#1100 hid New thread and Add project from people who can't use them, but a few doors on wide layouts (iPad, the tablet sidebar, the unfolded Duo, a phone with a keyboard) still offered them. Using one led to "Nothing to start a thread in". Closes #1102.
What changed
The v0.1.11 advance (#1205) had already gated the wide layouts' visible buttons with
useStartsSomewhere: the empty detail pane, the iPad header and unfolded Duo compose (useWorkspaceCompose), the split-view list's New task, and the Android rail and floating tabs. What was left were the keyboard doors and one menu item upstream added at v0.1.11:HardwareKeyboardCommandProvider.tsx):newTaskis enabled only whileuseStartsSomewhereholds.AdaptiveWorkspaceLayoutalso registersnewTask, so the provider removes it rather than just not adding it. The native module ignores commands that aren't enabled.CommandPalette.tsx):useStartsSomewhere.useAddsProjectSomewhere.useStartableProjects.thread-list-v2-items.tsx, on the Chats list and the split-view sidebar) is offered only whileuseCanStartTaskInholds for the row's project. Without that check, a thread-only Collaborator landed on a read-only draft. The council found this door in round 1.These use the same rule as the phone layout: start permission plus upstream's "Operate tasks". No new rule was added.
UI changes
Pending: the tester is capturing the thread-row menu, before and after, as a thread-only Collaborator and as an Owner, on iOS in light and dark.
Not captured: ⌘K (the palette) and ⌘N. agent-device has no key-chord API, and the device rules don't allow injecting keys another way. Those two are covered by the seam test and by the rule's own tests only. Android is not captured: the rig's Android emulator is blocked until #1218 reaches a nightly.
Live testing
Pending the tester's report.
Upstream impact
All three files are upstream's, and all three are recorded under FORK.md case 90 with file-table rows.
apps/mobile/src/j5/upstreamSeams.test.tsgets a row for each, so an upstream advance that drops a call fails the test.Checklist
packages/client-runtime/src/j5/sharing.test.ts.FORK.md(case text and file-table row) in this PRSeen, not fixed
features/shortcuts/appShortcuts.ts,/new) is ungated on every layout. It predates fix(mobile): the name question clears the status bar, and Owner-only pages and start doors fit the person #1100 and lands on the "Nothing to start a thread in" screen, not a read-only draft.Council review
6104917938)Claude Opus 5.5, Claude Code in J5 Code (builder seat).
🤖 Generated with Claude Code