Skip to content

fix(macos): tasks crash, liquid glass elements, chip motion - #12522

Merged
undivisible merged 4 commits into
v5from
cursor/macos-tasks-glass-c717
Sep 1, 2026
Merged

fix(macos): tasks crash, liquid glass elements, chip motion#12522
undivisible merged 4 commits into
v5from
cursor/macos-tasks-glass-c717

Conversation

@undivisible

@undivisible undivisible commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

RN macOS only. Base is lowercase v5 (b61992ec). Four logical commits for rebase merge — do not squash. Never main. No necklace. No workers.dev default in source.

1. Tasks crash

TasksPage mounted a FlatList inside ShippingStage's Animated.View, which crashes RnRuntime on react-native-macos. The list now renders through ScrollView. desktopTaskItems keeps outcomes === null and failed reads as an empty list. Task row field access is defensive.

Regression tests render Tasks with outcomes === null, a failed outcome, and a success list, then walk Home → Tasks → Library → Rewind → Apps.

2. Even traffic-light margins and top glass inset

desktopNavTopInset is 8, matching sides and bottom (desktopWindowInset). Native lights move with that inset: x = OmiWindowInset + OmiTrafficLightLeading, y subtracts OmiWindowInset. The Home spacer is the measured cluster (3×14pt + 2×8pt) plus the same 16pt leading after the last light. Lights stay on the Home row.

3. Per-element liquid glass

The window is a quiet NSVisualEffectMaterialUnderWindowBackground backdrop — not a full-bleed OmiGlassPanelView. Interactive pieces (nav, search, chips, stage, composer) each mount their own OmiGlassPanel. On macOS 26 that is NSGlassEffectView only; HUD InkGlass is created only when the class is missing (no stacked HUD under Tahoe glass). Reduce Transparency stays opaque. Type uses --lg-on-glass (token.color.onGlass). Hairlines sit between nav, search, and stage.

4. Sliding chip selection

Home filters and Library hubs slide a glass pill behind the selected chip (120ms ease-out cubic). Reduce-motion snaps instantly. Not a per-chip background swap.

Verification

bun run --cwd react-native test -- --runInBand
bun run --cwd react-native lint
bun run --cwd react-native typecheck

147 tests passed, 0 lint errors, tsc --noEmit clean.

This Linux VM cannot open the live RnRuntime window. Confirm on a Mac: Tasks never crashes; even top glass padding; even light/Home spacing; distinct glass on nav/search/chips/stage; chips slide.

Open in Web Open in Cursor 

Review in cubic

cursoragent and others added 4 commits September 1, 2026 06:51
TasksPage mounted a FlatList inside ShippingStage's Animated.View,
which crashes react-native-macos on Home → Tasks. Render the list
through ScrollView, keep task field access defensive for null or
failed outcomes, and cover empty plus success renders.

Failure-Class: new

Verification: bun run --cwd react-native test -- src/desktop/DesktopApp.test.tsx __tests__/desktopReadClient.test.ts --runInBand

Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
Restore an even window-glass inset (top = sides = bottom) and match
the Home spacer to AppDelegate positionOmiTrafficLights: leading 16,
14pt buttons, 8pt gaps, then the same leading after the cluster.

Failure-Class: none

Verification: bun run --cwd react-native test -- src/desktop/desktopChrome.test.ts src/ui/PageShell.test.tsx src/desktop/DesktopApp.test.tsx __tests__/macOSNativeBoundary.test.ts --runInBand

Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
Keep the window on a quiet UnderWindowBackground material and give
nav, search, chips, stage, and composer their own NSGlassEffectView
panels. HUD InkGlass is fallback-only so Tahoe no longer stacks two
glasses into one smear. Type uses --lg-on-glass contrast.

Failure-Class: none

Verification: bun run --cwd react-native test -- src/desktop/DesktopApp.test.tsx src/desktop/desktopChrome.test.ts src/ui/PageShell.test.tsx __tests__/macOSNativeBoundary.test.ts --runInBand

Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
Home filters and Library hubs slide a glass pill behind the selected
chip (120ms ease-out cubic). Reduce-motion snaps instantly instead of
swapping chip backgrounds.

Failure-Class: none

Verification: bun run --cwd react-native test -- --runInBand

Co-authored-by: Max Carter 祁明思 <max@tsc.hk>
@undivisible
undivisible marked this pull request as ready for review September 1, 2026 06:58
@undivisible
undivisible merged commit 65a553f into v5 Sep 1, 2026
2 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@undivisible
undivisible deleted the cursor/macos-tasks-glass-c717 branch September 1, 2026 06:58
@cursor

cursor Bot commented Sep 1, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_fb0c57a9-6e15-463d-95f2-fbaae9b7a879)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants