Skip to content

Commit

Permalink
merge: dev to qa (#752)
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 <bhavana.karwade@ayanworks.com>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: mapping function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: input box issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: enum values

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fixed CSS and avatar issues (#696)

* fix:css issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: support no ledger (#697)

* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: mapping function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: input box issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: enum values

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: added loading chnages

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: ledgerconfig object changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved type errors

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: responsiveness of the component (#699)

* wip: implemented ui for method selection

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: modified no ledger screen

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: modified ui for create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: worked on error handling

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: validations on create did popup

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: mapping function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: input box issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: handled role wise conditions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved code duplication errors

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: enum values

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: added loading chnages

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: ledgerconfig object changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved type errors

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: modified responsiveness of the component

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: manage keycloak client

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: updated env sample file

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* fix:css issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:clear error on pop-up close

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: css issues (#704)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed commnets

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* Feat/passkey warning messages (#707)

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed commnets

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: add passkey warning message for unsupported devices

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: dedicated agent workflow (#693)

* feat:Working on dedicated agent workflow

Signed-off-by: rohit.shitre <rohit.shitre@ayanworks.com>

* feat/dedicated agent ui form

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat/ conditional rendering of forms

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:add support for  dedicated agent

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow ui

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint duplication issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: support for dedicated agent

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:dedicated agent formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: yup formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: static values from enum

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: rohit.shitre <rohit.shitre@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Co-authored-by: rohit.shitre <rohit.shitre@ayanworks.com>

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

* feat:Working on dedicated agent workflow

Signed-off-by: rohit.shitre <rohit.shitre@ayanworks.com>

* feat/dedicated agent ui form

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat/ conditional rendering of forms

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:add support for  dedicated agent

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow integration

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow ui

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: duplication code issue of sonarcloud

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint duplication issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat:dedicated agent workflow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fixed:sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: support for dedicated agent

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix:dedicated agent formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: yup formik validations

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: static values from enum

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: polygon formik validation error

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: rohit.shitre <rohit.shitre@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Co-authored-by: rohit.shitre <rohit.shitre@ayanworks.com>

* fix: create did button restrictions (#710)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: changed schema payload (#711)

Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>

* feat/delete wallet and organization (#712)

* feat: delete organization and wallet

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: delete org and wallet

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added custom card component for delet card

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed unused code

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added custom message for ecosystem lead role

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added interfaces into interface file

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: delete wallet and organization (#715)

* feat: delete organization and wallet

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: delete org and wallet

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added custom card component for delet card

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed unused code

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* changes in delete organization svg image

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added custom message for ecosystem lead role

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: added interfaces into interface file

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: dark mode css issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

* refactor: modified bulk issuance payload

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter in get all schemas API

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: request schema payload (#717)

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* Client id client secret encryption (#726)

* fix:client id and secret encryption

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: text changes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: env variable changes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

* feat: create schema flow for w3c

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: w3c create schema flow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* wip: verification with email (#722)

* wip: email verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification using email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* feat: create schema flow for w3c

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: w3c create schema flow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: w3c issuance with connections, email and bulk

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed console statements

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed console statements in schema summarycard

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: fixed changes in issuance payload for w3c

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: w3c issuance astro route changes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: added static values from common enum

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: w3c button on card

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: delete organization pop up description messages

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

* feat: w3c verification flow

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed commnet

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed comment

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: changes in enum file

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: schema creddef popup on verification list

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: schema creddef popup on verification list

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues by optimizing code

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fiz: removed unwanted code from astro components

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* feat: oob verification using email (#732)

* wip: email verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification using email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: interface issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: interface types

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* fix: issuance schemaName issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: verification breadcrumb fixes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: schema card hover issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: delete organization delete svg issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarclous issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues duplication error

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: added highlight tag for fixing code logic

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: added limited attriutes value in common constant file

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* refactor: predicates number vaidations (#734)

* wip: email verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification using email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: interface issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: interface types

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: unselected fields validations

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* Fix verification dashboard changes (#735)

* fix: issuance schemaName issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: verification breadcrumb fixes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: schema card hover issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: delete organization delete svg issue

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarclous issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues duplication error

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: added highlight tag for fixing code logic

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: added limited attriutes value in common constant file

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: resolved comments on pull request

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: type errors in schemaList

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: email input box issue (#736)

* wip: email verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification using email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes for verification dashboard

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: routes changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* feat: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: resolved conflicts

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* wip: oob verification with email

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* worked on sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved sonar cloud issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved function name duplication error

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: get schema list details function

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: interface issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved readability issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: resolved spacing problems

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* resolved sonarlint issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: interface types

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: remove unnecessary tab list

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: refactor enum file

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: common constant changes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: unselected fields validations

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* fix: create did ui fixes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

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

* fix: create did ui fixes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: OOB issuance with other organizations schema

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

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

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: bugs (#744)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove click on card

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: bugs (#745)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove click on card

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove card click

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: cred def details

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: schema card click issue (#749)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove click on card

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove card click

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: cred def details

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: schema card click issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: schema name is not visible in credentials list (#750)

* refactor: parameter name

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* refactor: added query parameter

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove unnecessary code

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: query param issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: css issues

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: create did button restrictions

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: popup card fixes

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove click on card

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: remove card click

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: cred def details

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: schema card click issue

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: schema name is not visible in credentials list

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>

* fix: Schemas Page Pagination Issue (#751)

* fix: create did ui fixes

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: OOB issuance with other organizations schema

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: removed consoles

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: pagination issues on schema list

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarcloud issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

* fix: sonarlint issues

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>

---------

Signed-off-by: bhavanakarwade <bhavana.karwade@ayanworks.com>
Signed-off-by: pranalidhanavade <pranali.dhanavade@ayanworks.com>
Signed-off-by: rohit.shitre <rohit.shitre@ayanworks.com>
Signed-off-by: tipusinghaw <tipu.singh@ayanworks.com>
Co-authored-by: deno-deploy[bot] <75045203+deno-deploy[bot]@users.noreply.github.com>
Co-authored-by: bhavanakarwade <137506897+bhavanakarwade@users.noreply.github.com>
Co-authored-by: bhavanakarwade <bhavana.karwade@ayanworks.com>
Co-authored-by: shitrerohit <37360542+shitrerohit@users.noreply.github.com>
Co-authored-by: rohit.shitre <rohit.shitre@ayanworks.com>
Co-authored-by: tipusinghaw <126460794+tipusinghaw@users.noreply.github.com>
  • Loading branch information
7 people authored Aug 30, 2024
1 parent 0cda536 commit 7da4caa
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 100 deletions.
8 changes: 6 additions & 2 deletions src/components/Issuance/BulkIssuance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const BulkIssuance = () => {
}

setSchemaType(currentSchemaType);
if (currentSchemaType && orgId && isAllSchemaSelectedFlag =='false') {
if ((currentSchemaType === SchemaTypes.schema_INDY && isAllSchemaSelectedFlag === 'true') || (currentSchemaType && orgId && isAllSchemaSelectedFlag =='false')) {
const response = await getSchemaCredDef(currentSchemaType);
const { data } = response as AxiosResponse;

Expand All @@ -117,6 +117,7 @@ const BulkIssuance = () => {
schemaAttributes: schemaAttributes && typeof schemaAttributes === "string" && JSON.parse(schemaAttributes)
}),
);

setCredentialOptionsData(options);
} else {
setUploadMessage({message: response as string, type: "failure"});
Expand All @@ -126,7 +127,10 @@ const BulkIssuance = () => {
setLoading(false);
}

if (currentSchemaType && orgId &&isAllSchemaSelectedFlag =='true') {

else if (currentSchemaType === SchemaTypes.schema_W3C && orgId && isAllSchemaSelectedFlag === 'true') {


const response = await getAllSchemas(schemaListAPIParameters,currentSchemaType);
const { data } = response as AxiosResponse;

Expand Down
71 changes: 36 additions & 35 deletions src/components/Issuance/EmailIssuance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,44 +91,45 @@ const EmailIssuance = () => {

setSchemaType(currentSchemaType);

if (currentSchemaType && orgId && allSchemaSelectedFlag === 'false') {

const response = await getSchemaCredDef(currentSchemaType);
const { data } = response as AxiosResponse;
if((currentSchemaType === SchemaTypes.schema_INDY && orgId && allSchemaSelectedFlag === 'true') || (currentSchemaType && allSchemaSelectedFlag === 'false')){

if (data?.statusCode === apiStatusCodes.API_STATUS_SUCCESS) {
const credentialDefs = data.data;

const options = credentialDefs.map(({
schemaName,
schemaVersion,
credentialDefinition,
credentialDefinitionId,
schemaIdentifier,
schemaAttributes
} : ICredentials) => ({
value: schemaType===SchemaTypes.schema_INDY ? credentialDefinitionId : schemaVersion,
label: `${schemaName} [${schemaVersion}]${currentSchemaType === SchemaTypes.schema_INDY ? ` - (${credentialDefinition})` : ''}`,
schemaName: schemaName,
schemaVersion: schemaVersion,
credentialDefinition: credentialDefinition,
schemaIdentifier: schemaIdentifier,
credentialDefinitionId: credentialDefinitionId,
schemaAttributes:
schemaAttributes &&
typeof schemaAttributes === 'string' &&
JSON.parse(schemaAttributes),
}));
setCredentialOptions(options);
} else {
setSuccess(null);
setFailure(null);
}
setLoading(false);
const response = await getSchemaCredDef(currentSchemaType);
const { data } = response as AxiosResponse;

if (data?.statusCode === apiStatusCodes.API_STATUS_SUCCESS) {
const credentialDefs = data.data;

const options = credentialDefs.map(({
schemaName,
schemaVersion,
credentialDefinition,
credentialDefinitionId,
schemaIdentifier,
schemaAttributes
} : ICredentials) => ({
value: schemaType===SchemaTypes.schema_INDY ? credentialDefinitionId : schemaVersion,
label: `${schemaName} [${schemaVersion}]${currentSchemaType === SchemaTypes.schema_INDY ? ` - (${credentialDefinition})` : ''}`,
schemaName: schemaName,
schemaVersion: schemaVersion,
credentialDefinition: credentialDefinition,
schemaIdentifier: schemaIdentifier,
credentialDefinitionId: credentialDefinitionId,
schemaAttributes:
schemaAttributes &&
typeof schemaAttributes === 'string' &&
JSON.parse(schemaAttributes),
}));

setCredentialOptions(options);
} else {
setSuccess(null);
setFailure(null);
}
setLoading(false);
}


if (currentSchemaType === SchemaTypes.schema_W3C && orgId && allSchemaSelectedFlag === 'true') {

else if (currentSchemaType === SchemaTypes.schema_W3C && orgId && allSchemaSelectedFlag === 'true') {
const response = await getAllSchemas(schemaListAPIParameter,currentSchemaType);
const { data } = response as AxiosResponse;

Expand Down
5 changes: 2 additions & 3 deletions src/components/Issuance/IssuedCrdentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ const CredentialList = () => {
});
const credentialList = data?.data?.data?.map(
(issuedCredential: IssuedCredential) => {
const schemaName = issuedCredential.schemaId
? issuedCredential.schemaId.split(':').slice(2).join(':')
: 'Not available';

const schemaName = issuedCredential?.schemaName ?? 'Not available';
return {
data: [
{
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 @@ -55,6 +55,7 @@ export interface IssuedCredential {
state: string;
isRevocable: boolean;
schemaId: string;
schemaName: string;
}

export interface IProps {
Expand Down
27 changes: 18 additions & 9 deletions src/components/Resources/Schema/SchemasList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import RoleViewButton from '../../RoleViewButton';
import SchemaCard from '../../../commonComponents/SchemaCard';
import type { IW3cSchemaDetails, SchemaDetails } from '../../Verification/interface';
import SearchInput from '../../SearchInput';
import { getFromLocalStorage, setToLocalStorage } from '../../../api/Auth';
import { getFromLocalStorage, removeFromLocalStorage, setToLocalStorage } from '../../../api/Auth';
import { pathRoutes } from '../../../config/pathRoutes';
import { getOrganizationById } from '../../../api/organization';
import { checkEcosystem } from '../../../config/ecosystem';
import type { ICheckEcosystem } from '../../../config/ecosystem';

import Select, { type SingleValue, type ActionMeta } from 'react-select';
import { Create, SchemaEndorsement } from '../../Issuance/Constant';
import { DidMethod, SchemaType, SchemaTypes } from '../../../common/enums';

Expand Down Expand Up @@ -59,6 +59,8 @@ const SchemaList = (props: {
const [searchValue, setSearchValue] = useState('');
const [schemaType, setSchemaType] = useState('');

const [defaultDropdownValue]= useState<string[]>([`Organization's schema`,'All schemas']);
const[selectedValue,setSelectedValue]=useState<string>(defaultDropdownValue[0])
const [w3cSchema,setW3CSchema]= useState<boolean>(false);
const [isNoLedger,setisNoLedger]= useState<boolean>(false);

Expand Down Expand Up @@ -204,10 +206,13 @@ const SchemaList = (props: {

};


const options = ['All schemas'];

const handleFilter = async (e: React.ChangeEvent<HTMLSelectElement>) => {

setSchemaListAPIParameter((prevState) => ({
...prevState,
page: 1,
}));
setSelectedValue(e.target.value)
console.log('Handle filter', e.target.value);
if (e.target.value === 'All schemas') {
setAllSchemaFlag(true);
Expand Down Expand Up @@ -248,7 +253,12 @@ const SchemaList = (props: {
setLoading(false);
};

useEffect(() => {
setSelectedValue(defaultDropdownValue[0])
}, []);

useEffect(() => {

fetchOrganizationDetails();
(async () => {
try {
Expand Down Expand Up @@ -291,12 +301,11 @@ const SchemaList = (props: {
<select
onChange={handleFilter}
id="schamfilter"
defaultValue="Organization's schema"
value={selectedValue}
className="min-h-[42px] h-full bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
>
<option value="Organization's schema">Organization's schema</option>
{options.map((opt) => (
<option key={opt} className="" value={opt}>
{defaultDropdownValue.map((opt) => (
<option key={opt} className="">
{opt}
</option>
))}
Expand Down
1 change: 1 addition & 0 deletions src/components/Verification/EmailVerification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const EmailVerification = () => {

payload = {
goalCode: "verification",
reuseConnection: true,
protocolVersion: ProtocolVersion.V1,
isShortenUrl: true,
autoAcceptProof: AutoAccept.NEVER,
Expand Down
102 changes: 51 additions & 51 deletions src/components/Verification/VerificationSchemasList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { checkEcosystem, type ICheckEcosystem } from '../../config/ecosystem';
import { getFromLocalStorage, setToLocalStorage } from '../../api/Auth';
import { apiStatusCodes, itemPerPage, storageKeys } from '../../config/CommonConstant';
import { getAllSchemas, getAllSchemasByOrgId } from '../../api/Schema';
import { DidMethod, SchemaType } from '../../common/enums';
import { DidMethod, SchemaTypes } from '../../common/enums';
import { getOrganizationById } from '../../api/organization';
import { Create, SchemaEndorsement } from '../Issuance/Constant';
import BreadCrumbs from '../BreadCrumbs';
Expand Down Expand Up @@ -40,24 +40,16 @@ const VerificationSchemasList = () => {
const [selectedSchemas, setSelectedSchemas] = useState<ISchema[]>([]);
const [w3cSchema, setW3cSchema] = useState<boolean>(false);
const [isNoLedger, setIsNoLedger] = useState<boolean>(false);
const [schemaType, setSchemaType] = useState('');

const getSchemaListDetails = async (
schemasListParameter: {
itemPerPage: number,
page: number,
search: string,
sortingOrder: string,
sortBy: string,
allSearch: string
},
flag: boolean,
) => {
const getSchemaListDetails = async () => {

try {
const organizationId = await getFromLocalStorage(storageKeys.ORG_ID);
setLoading(true);
let schemasList;
if (allSchemasFlag) {
schemasList = await getAllSchemas(schemasListParameter, SchemaType.INDY);
if (allSchemasFlag) {
schemasList = await getAllSchemas(schemasListParameter, schemaType);
} else {
schemasList = await getAllSchemasByOrgId(
schemasListParameter,
Expand Down Expand Up @@ -99,33 +91,27 @@ const VerificationSchemasList = () => {
};

useEffect(() => {
getSchemaListDetails(schemasListParameter, false);
getSchemaListDetails();
}, [schemasListParameter, allSchemasFlag]);


const onSchemaListParameterSearch = async (
event: ChangeEvent<HTMLInputElement>,
): Promise<void> => {
event.preventDefault();
const inputValue = event.target.value;
setSearchValue(inputValue);

getSchemaListDetails(
{
...schemasListParameter,
search: inputValue,
},
false,
);

if (allSchemasFlag) {
getSchemaListDetails(
{
...schemasListParameter,
allSearch: inputValue,
},
false,
);
setSchemasListParameter(prevParams => ({
...prevParams,
allSearch: inputValue,
page: 1,
}));
} else {
setSchemasListParameter(prevParams => ({
...prevParams,
search: inputValue,
page: 1,
}));
}
};

Expand All @@ -134,25 +120,24 @@ const VerificationSchemasList = () => {
attributes: IAttributesDetails[],
issuerId: string,
created: string,
checked: boolean,
) => {
const schemaDetails = {
schemaId: schemaId,
attributes: attributes,
issuerId: issuerId,
createdDate: created,
};

const isSelected = selectedSchemas.some((schema) => schema.schemaId === schemaId);
if (isSelected) {
const updatedSchemas = selectedSchemas.filter((schema) => schema.schemaId !== schemaId);

setSelectedSchemas(updatedSchemas);

if (checked) {
setSelectedSchemas((prevSelectedSchemas) => [...prevSelectedSchemas, schemaDetails]);
} else {
setSelectedSchemas([...selectedSchemas, schemaDetails]);
setSelectedSchemas((prevSelectedSchemas) =>
prevSelectedSchemas.filter((schema) => schema.schemaId !== schemaId)
);
}
};


const handleW3cSchemas = async (checked: boolean, schemaData?: ISchemaData) => {
const updateSchemas = (prevSchemas: ISchemaData[]) => {
let updatedSchemas = [...prevSchemas];
Expand Down Expand Up @@ -193,9 +178,11 @@ const VerificationSchemasList = () => {
}
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 Expand Up @@ -235,15 +222,19 @@ const VerificationSchemasList = () => {

const options = ['All schemas'];

const handleFilter = (e: React.ChangeEvent<HTMLSelectElement>) => {
if (e.target.value === 'All schemas') {
setAllSchemasFlag(true);
} else {
setAllSchemasFlag(false);
getSchemaListDetails(schemasListParameter, false);
}
};

const handleFilter = async (e: React.ChangeEvent<HTMLSelectElement>) => {
const selectedFilter = e.target.value;
setAllSchemasFlag(selectedFilter === 'All schemas');

setSchemasListParameter((prevParams) => ({
...prevParams,
page: 1,
search: '',
allSearch: '',
}));
setSearchValue('');

};
useEffect(() => {
fetchOrganizationDetails();
(async () => {
Expand Down Expand Up @@ -346,8 +337,17 @@ const VerificationSchemasList = () => {
w3cSchema={w3cSchema}
noLedger={isNoLedger}
isVerificationUsingEmail={true}
onChange={(checked) => handleW3cSchemas(checked, element)}
onClickCallback={handleSchemaSelection}
onChange={(checked) => {
w3cSchema
? handleW3cSchemas(checked, element)
: handleSchemaSelection(
element['schemaLedgerId'],
element['attributes'],
element['issuerId'],
element['createDateTime'],
checked
);
}}
/>
</div>
))}
Expand Down

0 comments on commit 7da4caa

Please sign in to comment.