Skip to content

feat(apple-ui): iPad/Mac Library split-view + dark-mode purple fix - #7

Merged
MatheusKindrazki merged 1 commit into
mainfrom
feat/library-ipad-mac-and-dark-fix
Apr 21, 2026
Merged

feat(apple-ui): iPad/Mac Library split-view + dark-mode purple fix#7
MatheusKindrazki merged 1 commit into
mainfrom
feat/library-ipad-mac-and-dark-fix

Conversation

@MatheusKindrazki

Copy link
Copy Markdown
Owner

Duas entregas num build:

1. iPad & macOS Library split-view

Novo layout baseado no protótipo:

  • NavigationSplitView com sidebar (BrandLockup + filtros Library/Screenshots/Sent today/Expiring soon + DEVICE footer)
  • Detail com overline amber "NEXT TO EXPIRE · 40S", título "N active links", botão "+ DROP FILE" violet
  • Tabela densa: urgency strip + glyph + filename + size mono + /s/{token} violet + UrgencyRing countdown
  • Context menu per-row: Copy / Share / Revoke
  • Bundle-aware: "{N} files" com stack glyph

Dispatch:

  • iOS horizontalSizeClass == .regular → LibraryView (iPad)
  • iOS .compact → HistoryView (iPhone, intacto)
  • macOS → LibraryView

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 = #0d0625 e darkCanvas = #140a38 — navy-purple customizado que a gente mantinha no redesign.

Substituí os computed getters em HistoryView, ScreenshotBanner e LibraryView por semantic colors (.systemGroupedBackground, .systemBackground, .label, .secondaryLabel, .separator) no branch dark. Light continua cream branded onde é intencional (LibraryView Hub).

Test plan

  • iPhone 17 build SUCCEEDED
  • iPad Pro 13" build SUCCEEDED
  • iPhone em dark mode: Home sem roxo, semantic system
  • Screenshot banner sem roxo
  • iPad em landscape: split-view visível
  • macOS: LibraryView substitui MacCompanionView

🤖 Generated with Claude Code

…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.
@coderabbitai

coderabbitai Bot commented Apr 21, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@MatheusKindrazki has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 2 minutes and 25 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a022d45c-2376-4041-aee7-05639977b42e

📥 Commits

Reviewing files that changed from the base of the PR and between 131a359 and 5d53a75.

📒 Files selected for processing (5)
  • apple/FastSharedApp/FastSharedApp.swift
  • apple/FastSharedApp/RootView.swift
  • apple/FastSharedApp/Scenes/HistoryView.swift
  • apple/FastSharedApp/Scenes/LibraryView.swift
  • apple/FastSharedApp/Screenshot/ScreenshotBanner.swift
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/library-ipad-mac-and-dark-fix

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@MatheusKindrazki
MatheusKindrazki merged commit 8713746 into main Apr 21, 2026
2 checks passed
@MatheusKindrazki
MatheusKindrazki deleted the feat/library-ipad-mac-and-dark-fix branch April 21, 2026 17:03
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