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,7 +1,20 @@
|
||||
import 'uno.css';
|
||||
|
||||
import DialogProvider from '@views/components/common/DialogProvider/DialogProvider';
|
||||
import ExtensionRoot from '@views/components/common/ExtensionRoot/ExtensionRoot';
|
||||
import { MigrationDialog } from '@views/components/common/MigrationDialog';
|
||||
import PopupMain from '@views/components/PopupMain';
|
||||
import SentryProvider from '@views/contexts/SentryContext';
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(<PopupMain />);
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<SentryProvider fullInit>
|
||||
<ExtensionRoot>
|
||||
<DialogProvider>
|
||||
<MigrationDialog />
|
||||
<PopupMain />
|
||||
</DialogProvider>
|
||||
</ExtensionRoot>
|
||||
</SentryProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user