-
Notifications
You must be signed in to change notification settings - Fork 182
Description
We know want to do this before Verawood, or probably even earlier so that Verawood Libraries work can build on top of it.
We agree that it'd be best to do this before the frontend-base conversion in order to de-risk that conversion.
Parts of the redux state to migrate
-
courseDetail- refactor: Migration of course details to React query #2724 -
customPages -
discussions -
assets -
pagesAndResources -
scheduleAndDetails -
advancedSettings -
studioHome(needs refactor)-
One thing I'd like to get rid of entirely is the weird "Studio Home" state which has become a kitchen sink of data (course list, library list, user permissions, feature flags, branding/theming). I think the idea was to improve loading times by loading all the data needed to render the studio home page from a single API, but it's just messy now. And today a few small parallel requests that are definitely needed are better than one big request that ends up loading unused data. So that should be broken up into smaller things (course list query, library list query, users permissions query, etc.) and more specific contexts.
-
-
models-
courseApps -
liveApps -
liveAppConfigs -
XpertSettings -
courseDetails- refactor: Migration of course details to React query #2724 -
sequences -
assets -
videos -
discussionTopics
-
-
live -
courseTeam -
courseUpdates -
processingNotification -
helpUrls- refactor: Migrate Help Urls to React Query #2714 -
courseExport -
courseOptimizer -
generic -
courseImport -
videos -
courseOutline- started in PR #2830, lots still to do -
courseUnit -
courseChecklist -
accessibilityPage- Switch from Redux to React Query + Context #2540 -
certificates -
groupConfigurations -
textbooks - editor state is in a separate ticket: Tracking Issue: Refactors for Visual Editors #2088
Other tasks:
- Remove redux and related packages from this repo's dependencies.
- Consider installing
@tanstack/react-query-devtools?