-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Release activity library for everyone
- Loading branch information
1 parent
62fd775
commit 38b452f
Showing
17 changed files
with
63 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
packages/client/modules/userDashboard/components/UserDashMain.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React, {lazy, Suspense} from 'react' | ||
import {Route, RouteComponentProps, Switch} from 'react-router' | ||
import DashContent from '~/components/Dashboard/DashContent' | ||
import LoadingComponent from '~/components/LoadingComponent/LoadingComponent' | ||
import StartMeetingFAB from '~/components/StartMeetingFAB' | ||
import {LoaderSize} from '~/types/constEnums' | ||
|
||
interface Props extends RouteComponentProps {} | ||
|
||
const UserTaskViewRoot = lazy( | ||
() => | ||
import(/* webpackChunkName: 'MyDashboardTasksRoot' */ '../../../components/UserTaskViewRoot') | ||
) | ||
const MyDashboardTimelineRoot = lazy( | ||
() => | ||
import( | ||
/* webpackChunkName: 'MyDashboardTimelineRoot' */ '../../../components/MyDashboardTimelineRoot' | ||
) | ||
) | ||
|
||
const UserDashMain = (props: Props) => { | ||
const {match} = props | ||
|
||
return ( | ||
<DashContent> | ||
<Suspense fallback={<LoadingComponent spinnerSize={LoaderSize.PANEL} />}> | ||
<Switch> | ||
<Route path={`${match.url}/tasks`} component={UserTaskViewRoot} /> | ||
<Route path={match.url} component={MyDashboardTimelineRoot} /> | ||
</Switch> | ||
</Suspense> | ||
<StartMeetingFAB /> | ||
</DashContent> | ||
) | ||
} | ||
|
||
export default UserDashMain |
57 changes: 0 additions & 57 deletions
57
packages/client/modules/userDashboard/components/UserDashMain/UserDashMain.tsx
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
packages/client/modules/userDashboard/components/UserDashMain/UserDashMainRoot.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.