Skip to content

Replace fetch call with react query hook#543

Open
ckouder wants to merge 80 commits intomainfrom
refactor/refactor-queries
Open

Replace fetch call with react query hook#543
ckouder wants to merge 80 commits intomainfrom
refactor/refactor-queries

Conversation

@ckouder
Copy link
Contributor

@ckouder ckouder commented Feb 4, 2026

closing #534

adding details later.

Consolidate course/user download behavior behind a single internal helper with typed React Query wrappers, while keeping backward compatibility for existing callers. Make folder internal API helpers throw structured failures so query error states and rollbacks behave predictably.
Merge duplicate conversation history download paths into a single shared implementation and make internal folder/conversation helpers throw on API failures. Update affected tests and Track A progress docs.
Unify conversation download hooks behind a shared internal helper, standardize folder/conversation error propagation, and migrate hook query/mutation keys to a shared key factory without changing cache key shapes. Update affected tests and progress docs to reflect A1-A3 completion.
ckouder and others added 2 commits February 25, 2026 10:38
…ping or encoding

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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