feat: UTRP v2 migration (#292)
* feat: wip add course by url * chore: update imports * feat: add useCourseFromUrl hook * chore: extract logic into async function * feat: add checkLoginStatus.ts * feat: add useCourseMigration hook * feat: working course migration * fix: active schedule bug * feat: refactor logic and add to onUpdate * feat: update ui style * feat: add changelog functionality to settings * chore: update packages * feat: migration + sentry stuffs * feat: improve migration flow * docs: add sentry jsdocs * chore: fix lint and format * chore: cleanup + fix race condition --------- Co-authored-by: Samuel Gunter <sgunter@utexas.edu> Co-authored-by: Razboy20 <razboy20@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import DialogProvider from '@views/components/common/DialogProvider/DialogProvider';
|
||||
import ExtensionRoot from '@views/components/common/ExtensionRoot/ExtensionRoot';
|
||||
import Settings from '@views/components/settings/Settings';
|
||||
import SentryProvider from '@views/contexts/SentryContext';
|
||||
import useKC_DABR_WASM from 'kc-dabr-wasm';
|
||||
import React from 'react';
|
||||
|
||||
@@ -13,10 +14,12 @@ import React from 'react';
|
||||
export default function SettingsPage() {
|
||||
useKC_DABR_WASM();
|
||||
return (
|
||||
<ExtensionRoot>
|
||||
<DialogProvider>
|
||||
<Settings />
|
||||
</DialogProvider>
|
||||
</ExtensionRoot>
|
||||
<SentryProvider fullInit>
|
||||
<ExtensionRoot>
|
||||
<DialogProvider>
|
||||
<Settings />
|
||||
</DialogProvider>
|
||||
</ExtensionRoot>
|
||||
</SentryProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user