Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/auth provider proposal #116

Merged
merged 9 commits into from
Jan 17, 2025
Merged

Conversation

guillermomachado
Copy link

@guillermomachado guillermomachado commented Jan 15, 2025

What does this do?

Propose a AuthProvider to handle tokens and authenticated flags in the app.

Why did you do this?

This way we don't need to stick with zustand just to store and expose auth tokens.

Copy link

github-actions bot commented Jan 15, 2025

💯 Test Coverage

Lines Statements Branches Functions
Coverage: 53%
52.71% (340/645) 43.91% (119/271) 38.35% (84/219)

😎 Tests Results

Tests Skipped Failures Errors Time
75 0 💤 0 ❌ 0 🔥 30.801s ⏱️
👀 Tests Details • (53%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files52.7143.9138.3553.22 
api010000 
   types.ts0000 
api/auth010000 
   use-user.tsx01000013–21
app0000 
   _layout.tsx000021–78
app/(app)0000 
   _layout.tsx000014–64
   settings.tsx000018–24
components/providers69.3338.8862.568.91 
   auth.tsx69.3338.8862.568.9159–74, 80–96, 130, 148, 152–158, 182
components/settings0000 
   items-container.tsx000011–12
core53.12035.7160.71 
   test-utils.tsx90.910080100 

@guillermomachado guillermomachado force-pushed the feat/auth-provider-proposal branch from e2b4180 to 2a85224 Compare January 16, 2025 14:58
@guillermomachado guillermomachado merged commit 745dce4 into master Jan 17, 2025
9 checks passed
@guillermomachado guillermomachado deleted the feat/auth-provider-proposal branch January 17, 2025 15:54
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.

3 participants