Skip to content

refactor: hook up renderer auth logic to service#1365

Merged
jonathanlab merged 1 commit intomainfrom
03-30-refactor_hook_up_renderer_auth_logic_to_service
Apr 1, 2026
Merged

refactor: hook up renderer auth logic to service#1365
jonathanlab merged 1 commit intomainfrom
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

@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
Copy link
Copy Markdown
Contributor Author

jonathanlab commented Apr 1, 2026

Merge activity

@jonathanlab jonathanlab changed the base branch from refactor_pass_tokens_by_reference_not_by_value to graphite-base/1365 April 1, 2026 10:01
@jonathanlab jonathanlab changed the base branch from graphite-base/1365 to main April 1, 2026 10:11
@jonathanlab jonathanlab force-pushed the 03-30-refactor_hook_up_renderer_auth_logic_to_service branch from 7255c9c to b5bab25 Compare April 1, 2026 10:11
@jonathanlab jonathanlab merged commit 915bd26 into main Apr 1, 2026
16 checks passed
@jonathanlab jonathanlab deleted the 03-30-refactor_hook_up_renderer_auth_logic_to_service branch April 1, 2026 10: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