Skip to content

feat: custom TopSheet with expandable, sticky header, vibrant purple#26

Open
DerpcatMusic wants to merge 13 commits intomasterfrom
feat/topsheet-expandable-sticky-vibrant-purple
Open

feat: custom TopSheet with expandable, sticky header, vibrant purple#26
DerpcatMusic wants to merge 13 commits intomasterfrom
feat/topsheet-expandable-sticky-vibrant-purple

Conversation

@DerpcatMusic
Copy link
Owner

Summary

  • Custom TopSheet component with directional snapping behavior (snaps based on drag direction)

  • New TopSheet props:

    • stickyHeader - Content that always sticks to top
    • stickyFooter - Content that always sticks to bottom
    • revealOnExpand - Content that only shows when expanded
    • expandMode - "resize" or "overlay" - controls whether expanded sheet pushes content or overlaps
    • topInsetColor - Separate color for status bar vs sheet content
  • Bug fixes:

    • Fix safeBottom ReferenceError in calendar-tab-screen
    • Fix TopSheet colors: use primary (purple) for status bar inset
    • Change default size from 20% to 16%
  • Design updates:

    • Make purple more vibrant (#8B5CF6 light, #A78BFA dark)
  • New features:

    • Add expandable TopSheet to map tab with sticky search bar
    • Add ContextSheet wrapper component
    • Add TopSheet to jobs tab with proper colors

… purple

- Add custom TopSheet component with directional snapping behavior
- Add stickyHeader, stickyFooter, revealOnExpand props for flexible content
- Add expandMode ('resize' | 'overlay') for controlling page content behavior
- Add topInsetColor prop for separate status bar vs content colors
- Fix safeBottom ReferenceError in calendar-tab-screen
- Update default size from 20% to 16%
- Fix TopSheet colors: use primary (purple) for status bar inset
- Make purple more vibrant in brand colors (#8B5CF6 light, #A78BFA dark)
- Add expandable TopSheet to map tab with sticky search bar
- Add ContextSheet wrapper component
- Add TopSheet to jobs tab with proper colors
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Codex Agent added 12 commits March 15, 2026 02:47
- Add topInsetColor prop to TopSheetSurface for purple status bar
- Update ProfileHeroSheet to use purple topInsetColor
- Update home-header-sheet to use purple topInsetColor
- Update calendar tab TopSheet with proper colors
- TopSheet resize mode now adds marginTop: safeTop
- TopSheetSurface adds top: safeTop when using absolute positioning
- Restore fallbackBackgroundColor to use surfaceAlt (original behavior)
- Remove marginTop from TopSheet resize mode (not needed)
- Restore TopSheetSurface to original style (with topInsetColor support)
- TopSheet defaults to purple background
- Added topInsetColor for purple status bar
- Removed backgroundColor={palette.surface} that was overriding purple
- Handle case where gate is undefined
- Handle case where user context isn't initialized
- This fixes the 'stale' property access error
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.

1 participant