Skip to content

feat(ios): polish Liquid Glass screens, native sheets, and AskUser layout - #7387

Open
me2seeks wants to merge 1 commit into
feat/ios-chat-liquid-glassfrom
feat/ios-liquid-glass-screens
Open

me2seeks wants to merge 1 commit into
feat/ios-chat-liquid-glassfrom
feat/ios-liquid-glass-screens

Conversation

@me2seeks

@me2seeks me2seeks commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Stacked on #7383 (feat/ios-chat-liquid-glass, disjoint from #7385 / #7386).

  • Liquid Glass control layer on 4 screens:
    • DiffScreen: transparent navigation header + floating Liquid Glass quote bar, page-scoped safeAreaInsets() inside <NavPage>, tapping either code body or gutter accurately selects the corresponding old/new file line without breaking long-press drag selection, and adds scrollPaddingTop support in nsh-base DiffView (documented in third-party/nsh/SOURCE.md) with consistent hunkBounds() / onHunkBoundsChange coordinates and unshifted onScroll.offset.y / scrollOffset().y.
    • ScanScreen: Liquid Glass floating controls, status pill, error card, and camera fallback polish.
    • ProjectFilesScreen & ReviewDetailScreen: headerTransparent + headerBackgroundOnScroll with page-scoped <NavPage> top insets; ReviewDetailScreen shares one floating Liquid Glass review-actions bar for both approval actions and AskUser Submit Answer.
  • AskUser (QuestionForm & GroupHeader) long-content fix:
    • Adds flex: 1, minWidth: 0 to GroupHeader text in InsetGroup.tsx so long section headers wrap instead of overflowing horizontally under NSH's flex_shrink: 0 default.
    • Keeps QuestionForm as a solid content-layer card (no glass-on-content), displays question stems in readable primary multiline typography, removes 1/2-line truncation on option labels and descriptions, exposes accessibilityState.selected on option buttons, uses inline-card without double horizontal inset in chat, and avoids duplicating the first question stem in ReviewDetailScreen.
  • Native <Sheet> safe-area, accessibility & contrast polish (ChatSideQuestions, Rename, NewChatSheet, AdvancedConnectSheet):
    • Adds 47pt landscape safe area, keyboard-aware scrolling, dirty tracking when switching target host in NewChatSheet, >= 44pt height and direct native TextField accessibility labels on inputs, named 44×44pt grabber on multi-detent AdvancedConnectSheet (removing non-adjustable single-detent grabbers on Rename / NewChatSheet), and >= 4.5:1 light/dark resting & pressed contrast across Done/Cancel/Paste/Open Conversation/Review badges.

Verification

  • maka-ios-shell: 109 passed (14 lib, 91 behavior, 4 language).
  • nsh-base Diff tests: 84 unit passed (1 benchmark ignored) + 29 integration passed (including exact offset.y == 0 and hunkBounds y: 40 → 130 under scrollPaddingTop: 0 → 90).
  • iPhone 18 Pro Simulator UIKit / XCUITest verified: Diff code-body & gutter selection + long-press drag selection preserving quote target; all 7 AdvancedConnectSheet inputs + NewChatSheet title input found by native accessibility label at >= 44pt height; 44×44pt detent grabber toggle; landscape typing; camera fallback light/dark rendering.
  • aarch64-apple-ios --locked check, tsc --noEmit, ASF license headers, Rust dependencies, migration lock, 12-locale i18n, Biome, cargo fmt --check, and git diff --check 20536b2de3..HEAD all passed.

Known test gaps

  • Physical iPhone live camera brightness scenes, full VoiceOver audio pass, and 12-locale visual sweep on device were not performed.

Screenshots

Captured on iPhone 18 Pro Simulator (iOS 27.2, integrated preview build):

DiffScreen with transparent navigation bar and floating Liquid Glass Quote line 48 bar

ReviewDetailScreen with multiline AskUser card and floating Liquid Glass Submit Answer bar

@me2seeks
me2seeks force-pushed the feat/ios-chat-liquid-glass branch from 20536b2 to 40e0043 Compare November 28, 2026 02:22
@me2seeks
me2seeks force-pushed the feat/ios-liquid-glass-screens branch from 557b908 to aed7b0b Compare November 28, 2026 02:30
@github-actions github-actions Bot added the effort/XXL Over 2500 readable lines label Nov 28, 2026

This branch has not been deployed

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

Labels

effort/XXL Over 2500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant