Skip to content

Commit

Permalink
merge: dev to qa (#746)
Browse files Browse the repository at this point in the history
* [Deno Deploy] Update .github/workflows/deploy.yml

* feat: support no ledger (#689)

* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <[email protected]>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <[email protected]>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <[email protected]>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: mapping function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: input box issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <[email protected]>

* fix: enum values

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* fixed CSS and avatar issues (#696)

* fix:css issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* feat: support no ledger (#697)

* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <[email protected]>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <[email protected]>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <[email protected]>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: mapping function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: input box issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <[email protected]>

* fix: enum values

Signed-off-by: bhavanakarwade <[email protected]>

* fix: added loading chnages

Signed-off-by: bhavanakarwade <[email protected]>

* fix: ledgerconfig object changes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved type errors

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: responsiveness of the component (#699)

* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <[email protected]>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <[email protected]>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <[email protected]>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: mapping function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: input box issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <[email protected]>

* fix: enum values

Signed-off-by: bhavanakarwade <[email protected]>

* fix: added loading chnages

Signed-off-by: bhavanakarwade <[email protected]>

* fix: ledgerconfig object changes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved type errors

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: modified responsiveness of the component

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* feat: manage keycloak client

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: updated env sample file

Signed-off-by: bhavanakarwade <[email protected]>

* fix: error messages issue from create organization and create ecosystem modals. (#698)

* fix:css issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix:clear error on pop-up close

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fix: css issues (#704)

* refactor: parameter name

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <[email protected]>

* fix: query param issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issues

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* feat: add passkey warning message for unsupported devices (#706)

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed commnets

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* Feat/passkey warning messages (#707)

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed commnets

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* feat: dedicated agent workflow (#693)

* feat:Working on dedicated agent workflow

Signed-off-by: rohit.shitre <[email protected]>

* feat/dedicated agent ui form

Signed-off-by: pranalidhanavade <[email protected]>

* feat/ conditional rendering of forms

Signed-off-by: pranalidhanavade <[email protected]>

* feat:add support for  dedicated agent

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow ui

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <[email protected]>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint duplication issue

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <[email protected]>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* feat: support for dedicated agent

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix:dedicated agent formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix: yup formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix: static values from enum

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: rohit.shitre <[email protected]>
Signed-off-by: pranalidhanavade <[email protected]>
Co-authored-by: rohit.shitre <[email protected]>

* fix: formik validations for dedicated agent workflow (#708)

* feat:Working on dedicated agent workflow

Signed-off-by: rohit.shitre <[email protected]>

* feat/dedicated agent ui form

Signed-off-by: pranalidhanavade <[email protected]>

* feat/ conditional rendering of forms

Signed-off-by: pranalidhanavade <[email protected]>

* feat:add support for  dedicated agent

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow ui

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <[email protected]>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint duplication issue

Signed-off-by: pranalidhanavade <[email protected]>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <[email protected]>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* feat: support for dedicated agent

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix:dedicated agent formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix: yup formik validations

Signed-off-by: pranalidhanavade <[email protected]>

* fix: static values from enum

Signed-off-by: pranalidhanavade <[email protected]>

* fix: polygon formik validation error

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: rohit.shitre <[email protected]>
Signed-off-by: pranalidhanavade <[email protected]>
Co-authored-by: rohit.shitre <[email protected]>

* fix: create did button restrictions (#710)

* refactor: parameter name

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <[email protected]>

* fix: query param issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* feat: changed schema payload (#711)

Signed-off-by: tipusinghaw <[email protected]>

* feat/delete wallet and organization (#712)

* feat: delete organization and wallet

Signed-off-by: pranalidhanavade <[email protected]>

* feat: delete org and wallet

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added custom card component for delet card

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed unused code

Signed-off-by: pranalidhanavade <[email protected]>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <[email protected]>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added custom message for ecosystem lead role

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added interfaces into interface file

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fix: custom-avatar-css-issues (#714)

Signed-off-by: pranalidhanavade <[email protected]>

* feat: delete wallet and organization (#715)

* feat: delete organization and wallet

Signed-off-by: pranalidhanavade <[email protected]>

* feat: delete org and wallet

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added custom card component for delet card

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed unused code

Signed-off-by: pranalidhanavade <[email protected]>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <[email protected]>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added custom message for ecosystem lead role

Signed-off-by: pranalidhanavade <[email protected]>

* feat: added interfaces into interface file

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

* fix: dark mode css issues

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* refactor: added query parameter in get all schemas API (#713)

* refactor: modified bulk issuance payload

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter in get all schemas API

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: request schema payload (#717)

Signed-off-by: bhavanakarwade <[email protected]>

* fix:client id and secret encryption (#724)

Signed-off-by: pranalidhanavade <[email protected]>

* Client id client secret encryption (#726)

* fix:client id and secret encryption

Signed-off-by: pranalidhanavade <[email protected]>

* fix: text changes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: env variable changes

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* feat: create schema flow for w3c (#718)

* feat: create schema flow for w3c

Signed-off-by: pranalidhanavade <[email protected]>

* feat: w3c create schema flow

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* wip: verification with email (#722)

* wip: email verification

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification using email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes

Signed-off-by: bhavanakarwade <[email protected]>

* wip: Implemented custom dashboard component for veriifcation and issuance dashboard

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* feat: Implement w3c issuance with connection,email and bulk. (#721)

* feat: create schema flow for w3c

Signed-off-by: pranalidhanavade <[email protected]>

* feat: w3c create schema flow

Signed-off-by: pranalidhanavade <[email protected]>

* feat: w3c issuance with connections, email and bulk

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed console statements

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed console statements in schema summarycard

Signed-off-by: pranalidhanavade <[email protected]>

* fix: fixed changes in issuance payload for w3c

Signed-off-by: pranalidhanavade <[email protected]>

* feat: w3c issuance astro route changes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: added static values from common enum

Signed-off-by: pranalidhanavade <[email protected]>

* fix: w3c button on card

Signed-off-by: pranalidhanavade <[email protected]>

* fix: comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

* fix: delete organization pop up description messages

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* feat: W3C verifcation with connections. (#729)

* feat: w3c verification flow

Signed-off-by: pranalidhanavade <[email protected]>

* fix: changes in create schema to remove version for w3c

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed commnet

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed comment

Signed-off-by: pranalidhanavade <[email protected]>

* fix: changes in enum file

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: schema creddef popup on verification list

Signed-off-by: pranalidhanavade <[email protected]>

* fix: schema creddef popup on verification list

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues by optimizing code

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fiz: removed unwanted code from astro components

Signed-off-by: pranalidhanavade <[email protected]>

* feat: oob verification using email (#732)

* wip: email verification

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification using email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes

Signed-off-by: bhavanakarwade <[email protected]>

* wip: Implemented custom dashboard component for veriifcation and issuance dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification

Signed-off-by: bhavanakarwade <[email protected]>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: interface issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <[email protected]>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: interface types

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <[email protected]>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* fix: W3C issuance schemaName not displayed correctly on ADEYA. (#733)

* fix: issuance schemaName issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: verification breadcrumb fixes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: schema card hover issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: delete organization delete svg issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarclous issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues duplication error

Signed-off-by: pranalidhanavade <[email protected]>

* fix: added highlight tag for fixing code logic

Signed-off-by: pranalidhanavade <[email protected]>

* fix: added limited attriutes value in common constant file

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* refactor: predicates number vaidations (#734)

* wip: email verification

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification using email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes

Signed-off-by: bhavanakarwade <[email protected]>

* wip: Implemented custom dashboard component for veriifcation and issuance dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification

Signed-off-by: bhavanakarwade <[email protected]>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: interface issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <[email protected]>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: interface types

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <[email protected]>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: unselected fields validations

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* Fix verification dashboard changes (#735)

* fix: issuance schemaName issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: verification breadcrumb fixes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: schema card hover issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: delete organization delete svg issue

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarclous issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarlint issues duplication error

Signed-off-by: pranalidhanavade <[email protected]>

* fix: added highlight tag for fixing code logic

Signed-off-by: pranalidhanavade <[email protected]>

* fix: added limited attriutes value in common constant file

Signed-off-by: pranalidhanavade <[email protected]>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <[email protected]>

* fix: type errors in schemaList

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fix: email input box issue (#736)

* wip: email verification

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification using email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: routes changes

Signed-off-by: bhavanakarwade <[email protected]>

* wip: Implemented custom dashboard component for veriifcation and issuance dashboard

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification

Signed-off-by: bhavanakarwade <[email protected]>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <[email protected]>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <[email protected]>

* fix: interface issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <[email protected]>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: interface types

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <[email protected]>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: unselected fields validations

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issue

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create wallet UI for shared and dedicated agents. (#738)

* fix: create did ui fixes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fix: routes changes for verifcation with email flow (#739)

* refactor: parameter name

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <[email protected]>

* fix: query param issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* fix: OOB issuance with other organizations schema (#741)

* fix: create did ui fixes

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

* fix: OOB issuance with other organizations schema

Signed-off-by: pranalidhanavade <[email protected]>

* fix: removed consoles

Signed-off-by: pranalidhanavade <[email protected]>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <[email protected]>

---------

Signed-off-by: pranalidhanavade <[email protected]>

* fix: radio button state issue on shared and dedicated wallet creation (#743)

Signed-off-by: pranalidhanavade <[email protected]>

* fix: bugs (#744)

* refactor: parameter name

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <[email protected]>

* fix: query param issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove click on card

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

* fix: bugs (#745)

* refactor: parameter name

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <[email protected]>

* fix: query param issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: css issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <[email protected]>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove click on card

Signed-off-by: bhavanakarwade <[email protected]>

* fix: remove card click

Signed-off-by: bhavanakarwade <[email protected]>

* fix: cred def details

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>
Signed-off-by: pranalidhanavade <[email protected]>
Signed-off-by: rohit.shitre <[email protected]>
Signed-off-by: tipusinghaw <[email protected]>
Co-authored-by: deno-deploy[bot] <75045203+deno-deploy[bot]@users.noreply.github.com>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: shitrerohit <[email protected]>
Co-authored-by: rohit.shitre <[email protected]>
Co-authored-by: tipusinghaw <[email protected]>
  • Loading branch information
7 people authored Aug 28, 2024
1 parent 3e7b432 commit 0cda536
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 64 deletions.
3 changes: 2 additions & 1 deletion src/components/Issuance/EmailIssuance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ const EmailIssuance = () => {
transformedData.credentialOffer.push(transformedEntry);
});
transformedData.credentialDefinitionId = credDefId;
transformedData.isReuseConnection = true;


} else if (schemaType=== SchemaTypes.schema_W3C) {

existingData.formData.forEach((entry: { email: string; credentialData: IEmailCredentialData; attributes:IIssueAttributes[] }) => {
Expand Down Expand Up @@ -253,6 +253,7 @@ const EmailIssuance = () => {
});

transformedData.protocolVersion = "v2";
transformedData.isReuseConnection = true;
transformedData.credentialType = CredentialType.JSONLD;
}

Expand Down
1 change: 1 addition & 0 deletions src/components/Issuance/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,6 @@ export interface ICredentialOffer {
credentialOffer: ICredentialOffer[];
credentialDefinitionId?: string;
protocolVersion?: string;
isReuseConnection?: boolean;
credentialType?: string;
}
104 changes: 80 additions & 24 deletions src/components/Verification/AttributesListData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,101 @@ import { Card } from 'flowbite-react';
import CopyDid from '../../commonComponents/CopyDid';

interface AttributesListProps {
attributeDataList: { [key: string]: any }[]
attributeDataList: { [key: string]: any }[];
}

const groupAndMergeAttributes = (data: { [key: string]: any }[], key: string): { [key: string]: any }[] => {
const grouped = data.reduce((result, item) => {
const groupKey = item[key] || item['schemaId'];
if (!result[groupKey]) {
result[groupKey] = {};
}
// Merge attributes into a single object
result[groupKey] = { ...result[groupKey], ...item };
return result;
}, {} as { [key: string]: any });

// Convert the grouped object back to an array
return Object.values(grouped);
};

const AttributesListData = ({ attributeDataList }: AttributesListProps): JSX.Element => {

return (
<>
{attributeDataList?.map((item, index) => (
<Card key={index} className="mb-4">
<div className="flex flex-col justify-start gap-2 p-4">
<div className="flex justify-start text-xl font-semibold text-gray-900 dark:text-white mb-2">
{`Credential ${index + 1}`}
</div>
const mergedData = groupAndMergeAttributes(attributeDataList, 'credDefId');

return (
<>
{mergedData?.map((item, index) => (
<Card key={index} className="mb-4">
<div className="flex flex-col justify-start gap-2 p-4">
<div className="flex justify-start text-xl font-semibold text-gray-900 dark:text-white mb-2">
{`Credential ${index + 1}`}
</div>

{Object.entries(item).map(([key, value], idx) => (
<div key={idx} className="flex w-full text-lg items-center">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center text-start">
{key}
<div className="flex h-full flex-col justify-center gap-0 sm:p-0 mb-4">
<div className="flex border-b">
<div className="w-5/12 font-semibold flex truncate md:pl-1 sm:mr-8 md:mr-0 text-primary-700 dark:bg-gray-800 text-lg">
Attributes
</div>
<div className="w-1/12 font-semibold flex justify-start truncate md:pl-1 sm:mr-8 md:mr-0 text-primary-700 dark:bg-gray-800 text-xl"></div>
<div className="w-6/12 font-semibold flex truncate sm:pl-4 text-primary-700 dark:bg-gray-800 text-lg">
{' '}
Values
</div>
<div className="flex items-center p-1 m-1">
:
</div>

{Object.entries(item)
.filter(([key]) => key !== 'credDefId' && key !== 'schemaId')
.map(([key, value], idx) => (
<div key={idx} className="flex w-full text-lg items-center">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center text-start">

{key}
</div>
<div className="w-1/12 m-1 p-1 flex items-center text-gray-700 dark:text-white text-lg">
:
</div>
<div className="w-9/12 m-1 text-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
{value}
</div>
</div>
))}
</div>

<div className="">
<div className="flex w-full text-lg items-center">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center text-start">
schemaId
</div>
<div className="flex items-center p-1 m-1">:</div>
<div className="w-9/12 m-1 text-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
{key === 'schemaId' || key === 'credDefId' ? (
<div className="flex items-center">
<CopyDid value={item.schemaId} className="truncate font-courier mt-2" />
</div>
</div>
</div>
</div>

{item.credDefId && (
<div className="mb-4">
<div className="flex w-full text-lg items-center">
<div className="w-3/12 font-semibold text-primary-700 dark:bg-gray-800 m-1 p-1 flex justify-start items-center text-start">
credDefId
</div>
<div className="flex items-center p-1 m-1">:</div>
<div className="w-9/12 m-1 text-start text-gray-600 dark:text-white items-center cursor-pointer overflow-auto">
<div className="flex items-center">
<CopyDid value={value} className="truncate font-courier mt-2" />
<CopyDid value={item.credDefId} className="truncate font-courier mt-2" />
</div>
) : (
<span className="truncate font-courier">{value}</span>
)}
</div>
</div>
</div>
))}
)}
</div>
</Card>
))}
</>
);
}
</>
);
};

export default AttributesListData;
47 changes: 23 additions & 24 deletions src/components/Verification/EmailCredDefSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,43 +110,42 @@ const EmailCredDefSelection = () => {
};

const selectConnection = async (credDefId: string, checked: boolean) => {
if (credDefId) {
const getRawCredDefs = await getFromLocalStorage(storageKeys.SCHEMA_CRED_DEFS);
const parsedRawCredDefs = JSON.parse(getRawCredDefs);

const selectedCredDef = parsedRawCredDefs.find((credDef: CredDefData) => credDef.credentialDefinitionId === credDefId);

if (selectedCredDef) {
setSelectedCredDefs((prevSelected) => {
if (!credDefId) return;

const getRawCredDefs = await getFromLocalStorage(storageKeys.SCHEMA_CRED_DEFS);
const parsedRawCredDefs = JSON.parse(getRawCredDefs);

const selectedCredDef = parsedRawCredDefs.find(
(credDef: CredDefData) => credDef.credentialDefinitionId === credDefId
);

if (selectedCredDef) {
setSelectedCredDefs((prevSelected) => {
if (checked) {
const isAlreadySelected = prevSelected.some(
(credDef) => credDef.credentialDefinitionId === selectedCredDef.credentialDefinitionId
);

if (!isAlreadySelected) {
const newSelected = [...prevSelected, selectedCredDef];

setToLocalStorage(storageKeys.CRED_DEF_DATA, JSON.stringify(newSelected));

return newSelected;
}
return prevSelected;
});
}
}
else if (!checked) {
setSelectedCredDefs((prevSelected) => {
const newSelected = prevSelected.filter(
(credDef) => credDef.credentialDefinitionId !== credDefId
);

setToLocalStorage(storageKeys.CRED_DEF_DATA, JSON.stringify(newSelected));

return newSelected;
} else {
const newSelected = prevSelected.filter(
(credDef) => credDef.credentialDefinitionId !== selectedCredDef.credentialDefinitionId
);
setToLocalStorage(storageKeys.CRED_DEF_DATA, JSON.stringify(newSelected));
return newSelected;
}

return prevSelected;
});
}
};



return (
<div className="px-4 pt-2">
<div className="mb-4 col-span-full xl:mb-2">
Expand Down
30 changes: 15 additions & 15 deletions src/components/Verification/ProofRequestPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,7 @@ const ProofRequest = (props: IProofRrquestDetails) => {
{' '}
Verification Details
</p>
{props.verifyLoading ? (
<div className="flex items-center justify-center m-4">
<CustomSpinner />
</div>
) : (
<div className=" text-gray-500 dark:text-gray-300 w-full">
<div className="mt-1 ">

<AttributesListData attributeDataList={props?.userData} />

</div>
</div>
)}
</div>
{succesMsg && (
{succesMsg && (
<div
className="p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800"
role="alert"
Expand All @@ -118,6 +104,20 @@ const ProofRequest = (props: IProofRrquestDetails) => {
</div>
)}

{props.verifyLoading ? (
<div className="flex items-center justify-center m-4">
<CustomSpinner />
</div>
) : (
<div className=" text-gray-500 dark:text-gray-300 w-full">
<div className="mt-1 ">

<AttributesListData attributeDataList={props?.userData} />

</div>
</div>
)}
</div>
<div className="flex justify-center items-center space-x-4">
<button
onClick={() => {
Expand Down

0 comments on commit 0cda536

Please sign in to comment.