feat(apple-ui): iPad/Mac Library split-view + dark-mode purple fix - #7
Conversation
…mode
Dois fixes agregados num build só:
### 1. iPad (regular) + macOS: LibraryView split-view
Novo layout inspirado no prototipo que o user mandou: NavigationSplitView
com sidebar (BrandLockup, filtros Library/Screenshots/Sent today/
Expiring soon, DEVICE footer) e detail (overline "NEXT TO EXPIRE · 40S"
amber, titulo "N active links", botao "+ DROP FILE" violet, tabela
densa com urgency strip, glyph, size mono, link /s/{token} violet e
UrgencyRing countdown).
Dispatch:
- iOS horizontalSizeClass=.regular → LibraryView (iPad)
- iOS .compact → HistoryView (iPhone, intacto)
- macOS → LibraryView substitui MacCompanionView
### 2. Dark mode: remover navy-purple vazando
FriendlyPalette dark tokens (friendlyGroundDark = #0d0625,
friendlyCanvasDark = #140a38) estavam pintando a Home e o
ScreenshotBanner em roxo escuro quando o iPhone estava em dark mode.
Substitui os computed getters em HistoryView e ScreenshotBanner por
semantic colors (.systemGroupedBackground, .systemBackground, .label,
.secondaryLabel, .separator).
LibraryView mantem cream branded no light (Hub intencional) mas
tambem migra para semantic em dark — mesmo problema.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 2 minutes and 25 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Duas entregas num build:
1. iPad & macOS Library split-view
Novo layout baseado no protótipo:
NavigationSplitViewcom sidebar (BrandLockup + filtros Library/Screenshots/Sent today/Expiring soon + DEVICE footer)/s/{token}violet + UrgencyRing countdownDispatch:
horizontalSizeClass == .regular→ LibraryView (iPad).compact→ HistoryView (iPhone, intacto)2. Fix: navy-purple vazando no dark mode
Users reportaram Home e ScreenshotBanner com fundo roxo escuro quando iPhone estava em dark mode. Causa:
FriendlyPalette.darkGround = #0d0625edarkCanvas = #140a38— navy-purple customizado que a gente mantinha no redesign.Substituí os computed getters em
HistoryView,ScreenshotBannereLibraryViewpor semantic colors (.systemGroupedBackground,.systemBackground,.label,.secondaryLabel,.separator) no branch dark. Light continua cream branded onde é intencional (LibraryView Hub).Test plan
🤖 Generated with Claude Code