Repository navigation
feat(SC-136): Workers/Employers switcher + office on mobile (v1.12.0 PR4) - #362
Merged
Merged
Conversation
…PR4) - Office gating is now ROLE-based, not viewport-based: useOfficeRouteProtection gates by hasOfficeRole (isTabletOrAbove kept as an alias), so the office/ employer experience is reachable on mobile. - useAppMode: persisted worker/employer mode + active org slug (AsyncStorage). - ModeSelector: a segmented Worker/Employer control in the mobile drawer (shown only with an employer context — office role or an org membership). Employer → persists mode + routes to /employers/org/[slug] (or /employers/create); Worker → dashboard. Bottom nav left static (low-risk). Browser-verified: /office reachable on mobile (no redirect); drawer shows the Mode switcher; tapping Employer navigates to /employers/org/unicorn; 0 page errors. tsc clean. Closes SC-136 (and SC-26). Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
thinkclay
added a commit
that referenced
this pull request
Jun 23, 2026
The mutate.mjs PLAN used to close the v1.12.0 epics to Done after their PRs merged (#358–#362 + Scaffald/sdk #8/#9 + migration 335). Kept as the audit trail, consistent with prior PLAN snapshots. Co-authored-by: Claude Opus 4.8 <[email protected]>
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.
v1.12.0 PR4 — the switcher + mobile employer access (closes SC-136 and SC-26).
useOfficeRouteProtectiongates byhasOfficeRole(isTabletOrAbovekept as an alias so the office layout is unchanged), so the office/employer experience is reachable on mobile.useAppMode: persisted worker/employer mode + active org slug (AsyncStorage, web+native).ModeSelector: a segmented Worker/Employer control in the mobile drawer, shown only with an employer context (office role or an org membership). Employer → persists mode + routes to/employers/org/[slug](or/employers/create); Worker → dashboard. Bottom nav left static (low-risk).Browser-verified:
/officereachable on mobile (no redirect); the drawer shows the Mode switcher; tapping Employer navigates to/employers/org/unicorn; 0 page errors.tscclean; prepush green.🤖 Generated with Claude Code