Skip to content

Commit

Permalink
feat: sc-4309 GDS User UI implement user Profile component
Browse files Browse the repository at this point in the history
  • Loading branch information
elysee15 committed Nov 8, 2022
1 parent 5c2468a commit 4208443
Show file tree
Hide file tree
Showing 27 changed files with 4,615 additions and 426 deletions.
8 changes: 6 additions & 2 deletions web/gds-user-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@chakra-ui/icons": "^1.1.7",
"@chakra-ui/react": "^1.8.5",
"@chakra-ui/storybook-addon": "^4.0.4",
"@emotion/jest": "^11.10.5",
"@emotion/react": "^11",
"@emotion/styled": "^11.10.4",
"@hookform/resolvers": "^2.8.8",
Expand Down Expand Up @@ -68,7 +69,7 @@
"cy:open": "cypress open",
"start": "react-scripts start",
"build": "yarn compile && react-scripts build",
"test": "react-scripts test --coverage --watchAll=false -u --passWithNoTests",
"test": "react-scripts test --coverage --watchAll=false --passWithNoTests",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
Expand Down Expand Up @@ -177,6 +178,9 @@
"lines": 20,
"statements": 20
}
}
},
"snapshotSerializers": [
"@emotion/jest/serializer"
]
}
}
8 changes: 8 additions & 0 deletions web/gds-user-ui/src/application/routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import IntegrateAndComply from 'components/Section/IntegrateAndComply';
import CertificateManagement from '../../components/CertificateManagement';
import VerifyPage from 'modules/verify';
import Collaborators from 'modules/dashboard/collaborators/Collaborators';
import UserProfile from 'components/UserProfile';

const Overview = lazy(() => import('modules/dashboard/overview'));
const CertificateRegistrationPage = lazy(
Expand Down Expand Up @@ -134,6 +135,13 @@ const appRoutes = [
layout: 'dashboard',
route: '/certificate-management'
},
{
path: '/dashboard/user-profile',
name: 'Profile',
component: UserProfile,
layout: 'dashboard',
route: '/user-profile'
},
{
path: '/dashboard/logout',
name: 'Logout',
Expand Down
4 changes: 4 additions & 0 deletions web/gds-user-ui/src/assets/carbon_add-alt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions web/gds-user-ui/src/assets/copy-link.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions web/gds-user-ui/src/assets/edit-input.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions web/gds-user-ui/src/assets/ph_user-circle-plus-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4208443

Please sign in to comment.