feat(phase-0): wire glass chrome and debug sign-in to unblock flow#2
Merged
Conversation
- popover.appearance = nil enables NSPopover glass chrome on macOS 26 - add KuraGlassContainer wrapper abstracting GlassEffectContainer availability - apply interactive glass to Sign in with Apple and sign-out buttons - add AuthManager.debugSignIn() behind #if DEBUG to test the full flow without an approved Apple Developer account Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- mark KeychainHelper nonisolated so Task.detached actually reads the Keychain off the main thread and compiles under Swift 6 language mode - drop glass from the opaque Sign in with Apple button (no visible effect, Apple HIG forbids altering the SIWA button) - remove nested glass on the sign-out button; glass stays only on the header bar to avoid glass-sampling-glass artifact Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Completa o código da Fase 0 com o chrome Liquid Glass e um caminho de sign-in para desenvolvimento:
popover.appearance = nilnoAppDelegate— habilita o chrome glass automático doNSPopoverno macOS 26.KuraGlassContaineremTheme.swift— wrapper que abstrai o#available(macOS 26, *)doGlassEffectContainer; em versões anteriores renderiza o conteúdo sem wrapper.LoginView) e ao botão sign-out do header (DashboardView).AuthManager.debugSignIn()atrás de#if DEBUG+ botão "Dev Sign In" naLoginView.CLAUDE.mdatualizado: itens marcados como done, novas decisões técnicas documentadas.Why
A aprovação da conta Apple Developer está demorando, e o entitlement Sign in with Apple é o único bloqueio real da Fase 0. O
debugSignInusa o mesmo fluxo de Keychain eauthStateda produção, permitindo testar login → dashboard → sign-out sem o entitlement — sem retrabalho: ao ativar o Firebase, basta deletar os blocos#if DEBUG. Os itens de glass não dependiam da conta e estavam pendentes sem motivo.How
KuraGlassContainercentraliza o guard de disponibilidade para que as call sites fiquem livres de#if available.CLAUDE.md.debugSignInisolado em#if DEBUGgarante que o código é excluído da release build — caminho de produção intocado.xcodebuild buildcomBUILD SUCCEEDED.