Skip to content

Commit

Permalink
feat: added contact details page with catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Aug 16, 2024
1 parent 558a507 commit 00b4978
Show file tree
Hide file tree
Showing 17 changed files with 976 additions and 53 deletions.
3 changes: 2 additions & 1 deletion packages/web-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@sphereon/did-uni-client": "0.6.3",
"@sphereon/ssi-sdk.credential-store": "0.29.1-next.5",
"@sphereon/oid4vci-common": "0.15.1-next.9",
"@sphereon/oid4vci-client": "0.15.1-next.9",
"@sphereon/ssi-sdk-ext.did-resolver-ebsi": "0.24.1-next.3",
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-next.3",
"@sphereon/ssi-sdk-ext.did-resolver-key": "0.24.1-next.3",
Expand All @@ -62,7 +63,7 @@
"@sphereon/ssi-types": "0.29.1-next.5",
"@sphereon/ui-components.core": "0.3.0",
"@sphereon/ui-components.credential-branding": "0.3.0",
"@sphereon/ui-components.ssi-react": "0.3.0",
"@sphereon/ui-components.ssi-react": "file://C:\\Git\\Sphereon-Opensource\\UI-Components\\packages\\ssi-react\\sphereon-ui-components.ssi-react-0.3.4-bram.tgz",
"web-did-resolver": "^2.0.27",
"@supabase/postgrest-js": "1.15.2",
"@supabase/storage-js": "2.6.0",
Expand Down
7 changes: 5 additions & 2 deletions packages/web-wallet/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ const _app = (props: React.PropsWithChildren<unknown>) => {

const resources: Array<ResourceProps> = [
{
name: DataResource.PERSON_CONTACTS,
name: DataResource.CONTACTS,
list: MainRoute.CONTACTS,
create: `${MainRoute.CONTACTS}/${ContactRoute.NATURAL_PERSON}/${MainRoute.SUB_CREATE}`,
show: `${MainRoute.CONTACTS}/${MainRoute.SUB_ID}`,
},
{
name: DataResource.PERSON_CONTACTS,
create: `${MainRoute.CONTACTS}/${ContactRoute.NATURAL_PERSON}/${MainRoute.SUB_CREATE}`,
},
{
name: DataResource.ORGANIZATION_CONTACTS,
create: `${MainRoute.CONTACTS}/${ContactRoute.ORGANIZATION}/${MainRoute.SUB_CREATE}`,
Expand Down
2 changes: 1 addition & 1 deletion packages/web-wallet/pages/assets/create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import DefineProductModal from '@components/modals/DefineProductModal'
import {useAssetMachine} from '@typings'
import style from './index.module.css'
import {Outlet} from 'react-router-dom'
import {staticPropsWithSST} from '../../../src/i18n/server'
import {staticPropsWithSST} from '@/src/i18n/server'

const FINISH_STEP = 4

Expand Down
5 changes: 5 additions & 0 deletions packages/web-wallet/pages/contacts/show/index.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.container {
display: flex;
flex-direction: column;
flex-grow: 1;
}
Loading

0 comments on commit 00b4978

Please sign in to comment.