Skip to content

Commit

Permalink
merge: develop to qa (#740)
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]>

---------

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: pranalidhanavade <[email protected]>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: shitrerohit <[email protected]>
Co-authored-by: rohit.shitre <[email protected]>
Co-authored-by: pranalidhanavade <[email protected]>
  • Loading branch information
8 people authored Aug 27, 2024
1 parent ce49df8 commit f42b305
Show file tree
Hide file tree
Showing 15 changed files with 188 additions and 67 deletions.
8 changes: 6 additions & 2 deletions src/components/Resources/Schema/SchemasList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { checkEcosystem } from '../../../config/ecosystem';
import type { ICheckEcosystem } from '../../../config/ecosystem';

import { Create, SchemaEndorsement } from '../../Issuance/Constant';
import { DidMethod, SchemaType } from '../../../common/enums';
import { DidMethod, SchemaType, SchemaTypes } from '../../../common/enums';

const SchemaList = (props: {
schemaSelectionCallback: (
Expand Down Expand Up @@ -57,6 +57,8 @@ const SchemaList = (props: {
const [totalItem, setTotalItem] = useState(0);
const [isEcosystemData, setIsEcosystemData] = useState<ICheckEcosystem>();
const [searchValue, setSearchValue] = useState('');
const [schemaType, setSchemaType] = useState('');

const [w3cSchema,setW3CSchema]= useState<boolean>(false);
const [isNoLedger,setisNoLedger]= useState<boolean>(false);

Expand All @@ -70,7 +72,7 @@ const SchemaList = (props: {
setLoading(true);
let schemaList;
if (allSchemaFlag) {
schemaList = await getAllSchemas(schemaListAPIParameter, SchemaType.INDY);
schemaList = await getAllSchemas(schemaListAPIParameter, schemaType);
} else {
schemaList = await getAllSchemasByOrgId(
schemaListAPIParameter,
Expand Down Expand Up @@ -229,9 +231,11 @@ const SchemaList = (props: {
}
if (did.includes(DidMethod.POLYGON) || did.includes(DidMethod.KEY) || did.includes(DidMethod.WEB)) {
setW3CSchema(true);
setSchemaType(SchemaTypes.schema_W3C)
}
if (did.includes(DidMethod.INDY)) {
setW3CSchema(false);
setSchemaType(SchemaTypes.schema_INDY)
}
if (did.includes(DidMethod.KEY) || did.includes(DidMethod.WEB)) {
setisNoLedger(true);
Expand Down
78 changes: 35 additions & 43 deletions src/components/Verification/AttributesListData.tsx
Original file line number Diff line number Diff line change
@@ -1,54 +1,46 @@
import { Card } from 'flowbite-react';
import CopyDid from '../../commonComponents/CopyDid';

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

const AttributesListData = ({attributeDataList}: AttributesListProps): JSX.Element => {
return (
<>
<Card >
<div className="flex h-full flex-col justify-center gap-0 sm:p-0">
<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-xl">
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-xl">
{' '}
Values
</div>
</div>
const AttributesListData = ({ attributeDataList }: AttributesListProps): JSX.Element => {

{
attributeDataList?.map((item, index) => (
<div
key={item?.entity + 1}
className="flex w-full"
>
<div
className={`flex w-full text-lg`}
>
<div className="w-5/12 m-1 p-1 text-start text-gray-700 dark:text-white text-lg">
{item?.entity}
</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-6/12 m-1 truncate p-1 flex justify-start text-gray-700 dark:text-white text-lg">
{item?.properties.join(', ')}
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>


{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>
<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={value} className="truncate font-courier mt-2" />
</div>
</div>
) : (
<span className="truncate font-courier">{value}</span>
)}
</div>
))
}

</div>
))}
</div>
</Card>
))}
</>
);
}

</>
)
}

export default AttributesListData;
export default AttributesListData;
13 changes: 7 additions & 6 deletions src/components/Verification/EmailAttributesSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@ const EmailAttributesSelection = () => {

const handleAttributeChange = async (
attributeName: string,
schemaId: string | undefined,
changeType: 'checkbox' | 'input' | 'select',
value: string | boolean,
schemaId?: string | undefined,
credDefId?: string | undefined
) => {
const updatedAttributes = attributeData?.map(attribute => {
if (attribute.attributeName === attributeName && attribute.schemaId === schemaId) {
if (attribute.attributeName === attributeName && attribute.schemaId === schemaId && attribute.credDefId === credDefId) {
switch (changeType) {
case 'checkbox':
return {
...attribute,
isChecked: value as boolean,
value: attribute?.value || '',
value: (value as boolean) ? attribute.value : '',
selectedOption: attribute?.condition || 'Select',
inputError: '',
selectError: '',
Expand Down Expand Up @@ -255,7 +256,7 @@ const EmailAttributesSelection = () => {
showCheckbox={true}
isVerificationUsingEmail={true}
onChange={(checked: boolean) => {
handleAttributeChange(attribute?.attributeName, attribute?.schemaId, 'checkbox', checked);
handleAttributeChange(attribute?.attributeName, 'checkbox', checked, attribute?.schemaId, attribute?.credDefId);
}}
/>
</div>
Expand All @@ -270,7 +271,7 @@ const EmailAttributesSelection = () => {
disabled={!attribute?.isChecked}
value={attribute?.selectedOption}
onChange={(e) =>
handleAttributeChange(attribute?.attributeName, attribute?.schemaId, 'select', e.target.value)
handleAttributeChange(attribute?.attributeName, 'select', e.target.value, attribute?.schemaId, attribute?.credDefId)
}
className={`${!attribute?.isChecked
? 'opacity-50 cursor-not-allowed'
Expand Down Expand Up @@ -302,7 +303,7 @@ const EmailAttributesSelection = () => {
type="number"
value={attribute?.value}
onChange={(e) =>
handleAttributeChange(attribute?.attributeName, attribute?.schemaId, 'input', e.target.value)
handleAttributeChange(attribute?.attributeName, 'input', e.target.value, attribute?.schemaId, attribute?.credDefId)
}
disabled={!attribute?.isChecked}
className={`${!attribute?.isChecked
Expand Down
13 changes: 5 additions & 8 deletions src/components/Verification/ProofRequestPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ const ProofRequest = (props: IProofRrquestDetails) => {
) : (
<div className=" text-gray-500 dark:text-gray-300 w-full">
<div className="mt-1 ">
<AttributesListData attributeDataList={aggregatedData} />
<SchemaCredDefDetails
schemaCredDefList={props?.userData?.slice(0, 1)}
/>

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

</div>
</div>
)}
Expand Down Expand Up @@ -204,11 +203,9 @@ const ProofRequest = (props: IProofRrquestDetails) => {
) : (
<div className=" text-gray-500 dark:text-gray-300 w-full">
<div className="mt-1">
<AttributesListData attributeDataList={aggregatedData} />
<AttributesListData attributeDataList={props?.userData} />


<SchemaCredDefDetails
schemaCredDefList={props?.userData?.slice(0, 1)}
/>
</div>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Verification/VerificationDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const VerificationDashboard = () => {
<Dashboard
title="Verify Credential"
options={options}
backButtonPath={pathRoutes.organizations.issuedCredentials}
backButtonPath={pathRoutes.organizations.credentials}
/>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import SetDomainValueInput from './SetDomainValueInput';
import SetPrivateKeyValueInput from './SetPrivateKeyValue';
import { getOrganizationById, setAgentConfigDetails } from '../../../api/organization';
import type { IDedicatedAgentConfig} from '../interfaces';
import React from 'react';

const RequiredAsterisk = () => <span className="text-xs text-red-500">*</span>

Expand All @@ -36,6 +37,7 @@ const DedicatedAgentForm = ({
const [selectedLedger, setSelectedLedger] = useState('');
const [selectedDid, setSelectedDid] = useState('');
const [selectedMethod, setSelectedMethod]=useState('')
const [isSelectedNetwork, setIsSelectedNetwork]=useState('')
const [privateKeyValue, setPrivateKeyValue] = useState<string>('');
const [domainValue, setDomainValue] = useState<string>('');
const [isLoading, setIsLoading] = useState<boolean>(false);
Expand Down Expand Up @@ -118,6 +120,7 @@ const DedicatedAgentForm = ({
const handleLedgerChanges = (e: ChangeEvent<HTMLInputElement>) => {
setSelectedLedger(e.target.value);
setSelectedMethod('');
setIsSelectedNetwork('');
setSelectedDid('');
};
const handleMethodChanges = (e: ChangeEvent<HTMLInputElement>) => {
Expand Down Expand Up @@ -248,6 +251,7 @@ const networkRenderOptions = (formikHandlers: { handleChange: (e: React.ChangeEv
onChange={(e) => {
formikHandlers.handleChange(e);
handleNetworkChanges(e);
setIsSelectedNetwork(networks[network])
}}
className="mr-2"
/>
Expand All @@ -258,7 +262,19 @@ const networkRenderOptions = (formikHandlers: { handleChange: (e: React.ChangeEv
));
};

const isSubmitButtonDisabled = () => {
if (!selectedLedger) {
return true;
}
else if ((selectedLedger === Ledgers.POLYGON && !privateKeyValue) || (selectedLedger === Ledgers.INDY && (!selectedMethod || !isSelectedNetwork))) {
return true;
}
else if ((selectedLedger === Ledgers.NO_LEDGER && !selectedMethod) ||(selectedLedger === Ledgers.NO_LEDGER && selectedMethod === DidMethod.WEB && !domainValue)) {
return true;
}

return false;
};

return (
<>
Expand Down Expand Up @@ -565,6 +581,7 @@ const networkRenderOptions = (formikHandlers: { handleChange: (e: React.ChangeEv


<Button
disabled={isSubmitButtonDisabled()}
isProcessing={loading}
type="submit"
className='float-right mb-2 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:!bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ const SharedAgentForm = ({
}: ISharedAgentForm) => {
const [haveDidShared, setHaveDidShared] = useState(false);
const [selectedLedger, setSelectedLedger] = useState('');
const [selectedMethod, setSelectedMethod] = useState('');
const [selectedMethod, setSelectedMethod] = useState('');
const [selectedNetwork, setSelectedNetwork] = useState('');
const [seedVal, setSeedVal] = useState('');
const [maskedSeedVal, setMaskedSeedVal] = useState('');
const [selectedDid, setSelectedDid] = useState('');
Expand Down Expand Up @@ -119,6 +120,7 @@ const SharedAgentForm = ({
const handleLedgerChange = (e: ChangeEvent<HTMLInputElement>) => {
setSelectedLedger(e.target.value);
setSelectedMethod('');
setSelectedNetwork('');
setSelectedDid('');
};

Expand Down Expand Up @@ -222,6 +224,7 @@ const SharedAgentForm = ({
onChange={(e) => {
formikHandlers.handleChange(e)
handleNetworkChange(e)
setSelectedNetwork(networks[network])
}}
className="mr-2"
/>
Expand All @@ -232,6 +235,21 @@ const SharedAgentForm = ({
));
};

const isSubmitDisabled = () => {
if (!selectedLedger) {
return true;
}
else if ((selectedLedger === Ledgers.POLYGON && !privateKeyValue) || (selectedLedger === Ledgers.INDY && (!selectedMethod || !selectedNetwork))) {
return true;
}
else if ((selectedLedger === Ledgers.NO_LEDGER && !selectedMethod) ||(selectedLedger === Ledgers.NO_LEDGER && selectedMethod === DidMethod.WEB && !domainValue)) {
return true;
}

return false;
};


return (
<div className="mt-4 flex-col gap-4">
<div className="bg-[#F4F4F4] dark:bg-gray-700 max-w-lg">
Expand Down Expand Up @@ -508,6 +526,7 @@ const SharedAgentForm = ({

<div className="w-full flex justify-end">
<Button
disabled={isSubmitDisabled()}
type="submit"
className="flex h-min p-0.5 focus:z-10 focus:outline-none border border-transparent enabled:hover:bg-cyan-800 dark:enabled:hover:bg-cyan-700 mt-4 text-base font-medium text-center text-white bg-primary-700 rounded-md hover:!bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ const WalletSpinup = (props: {
useEffect(() => {
fetchOrganizationDetails()
}, []);


const onRadioSelect = (type: string) => {
setAgentType(type);
Expand Down
12 changes: 6 additions & 6 deletions src/config/pathRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ export const pathRoutes = {
},
verification: {
requestProof: '/organizations/verification/verify-credentials',
email: '/organizations/verification/verify-credentials/email/schemas',
email: '/organizations/verification/verify-credentials/schema',
schema: '/organizations/verification/verify-credentials/schemas',
credDef: '/organizations/verification/verify-credentials/schemas/cred-defs',
w3cAttributes: '/organizations/verification/verify-credentials/email/schemas/attributes',
attributes: '/organizations/verification/verify-credentials/email/schemas/cred-defs/attributes',
emailVerification: '/organizations/verification/verify-credentials/email/schemas/cred-defs/attributes/verification-email',
w3cEmailVerification: '/organizations/verification/verify-credentials/email/schemas/attributes/verification-email',
emailCredDef: '/organizations/verification/verify-credentials/email/schemas/cred-defs',
w3cAttributes: '/organizations/verification/verify-credentials/schema/attributes',
attributes: '/organizations/verification/verify-credentials/schema/cred-defs/attributes',
emailVerification: '/organizations/verification/verify-credentials/schema/cred-defs/attributes/verification-email',
w3cEmailVerification: '/organizations/verification/verify-credentials/schema/attributes/verification-email',
emailCredDef: '/organizations/verification/verify-credentials/schema/cred-defs',
connections: '/organizations/verification/verify-credentials/schemas/cred-defs/connections',
W3CConnections: '/organizations/verification/verify-credentials/schemas/connections',

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
import LayoutSidebar from "../../../../../../app/LayoutSidebar.astro";
import EmailAttributesSelection from "../../../../../../components/Verification/EmailAttributesSelection";
import { checkUserSession } from "../../../../../../utils/check-session";
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname});
if (!response.authorized) {
return Astro.redirect(response.redirect);
}
---

<LayoutSidebar notFoundPage={!response.permitted}>
<EmailAttributesSelection client:load />
</LayoutSidebar>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
import LayoutSidebar from "../../../../../../../app/LayoutSidebar.astro";
import EmailVerification from "../../../../../../../components/Verification/EmailVerification";
import { checkUserSession } from "../../../../../../../utils/check-session";
const response = await checkUserSession({cookies: Astro.cookies, currentPath: Astro.url.pathname});
if (!response.authorized) {
return Astro.redirect(response.redirect);
}
---

<LayoutSidebar notFoundPage={!response.permitted}>
<EmailVerification client:load />
</LayoutSidebar>
Loading

0 comments on commit f42b305

Please sign in to comment.