Skip to content

refactor: hook up renderer auth logic to service#1365

Open
jonathanlab wants to merge 1 commit intorefactor_pass_tokens_by_reference_not_by_valuefrom
03-30-refactor_hook_up_renderer_auth_logic_to_service
Open

refactor: hook up renderer auth logic to service#1365
jonathanlab wants to merge 1 commit intorefactor_pass_tokens_by_reference_not_by_valuefrom
03-30-refactor_hook_up_renderer_auth_logic_to_service

Conversation

@jonathanlab
Copy link
Copy Markdown
Contributor

@jonathanlab jonathanlab commented Mar 30, 2026

Problem

We've now hooked up our main services to the auth service, but the auth store is just a thin unreliable wrapper around the main service. We want to rely on trpc queries with tanstack query instead.

Changes

  • Gets rid of the auth store
  • Moves onboarding logic into its own store
  • Moves auth ui state into its own store
  • Add a bunch of hooks for querying and mutating the auth state via the main auth service

one test fails here (preferred org persistence), we can just forge merge with CI bypass this one since it's fixed in the next PR in the stack

Copy link
Copy Markdown
Contributor Author

jonathanlab commented Mar 30, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jonathanlab jonathanlab marked this pull request as ready for review March 30, 2026 14:34
@jonathanlab jonathanlab force-pushed the refactor_pass_tokens_by_reference_not_by_value branch from 7a165a4 to 98a1093 Compare March 31, 2026 11:50
@jonathanlab jonathanlab force-pushed the 03-30-refactor_hook_up_renderer_auth_logic_to_service branch 2 times, most recently from ddd1bec to f3b186c Compare March 31, 2026 13:44
@jonathanlab jonathanlab force-pushed the refactor_pass_tokens_by_reference_not_by_value branch from 98a1093 to 5cb9976 Compare March 31, 2026 13:44
@jonathanlab jonathanlab force-pushed the 03-30-refactor_hook_up_renderer_auth_logic_to_service branch from f3b186c to 1e35e6d Compare March 31, 2026 13:52
@jonathanlab jonathanlab force-pushed the 03-30-refactor_hook_up_renderer_auth_logic_to_service branch from 1e35e6d to 7255c9c Compare March 31, 2026 14:20
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.

2 participants