Skip to content

Commit

Permalink
merge: DEV to QA (#737)
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]>

---------

Signed-off-by: bhavanakarwade <[email protected]>
Signed-off-by: pranalidhanavade <[email protected]>
Signed-off-by: rohit.shitre <[email protected]>
Signed-off-by: tipusinghaw <[email protected]>
Co-authored-by: deno-deploy[bot] <75045203+deno-deploy[bot]@users.noreply.github.com>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: bhavanakarwade <[email protected]>
Co-authored-by: shitrerohit <[email protected]>
Co-authored-by: rohit.shitre <[email protected]>
Co-authored-by: tipusinghaw <[email protected]>
  • Loading branch information
7 people authored Aug 23, 2024
1 parent 0ed8158 commit ce49df8
Show file tree
Hide file tree
Showing 38 changed files with 2,044 additions and 154 deletions.
22 changes: 22 additions & 0 deletions src/api/Schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,25 @@ export const getCredDeffById = async (schemaId: string, orgId: string) => {
}
}

export const getCredDefDetailsByCredDefId = async (credDefId: string, orgId: string) => {
const token = await getFromLocalStorage(storageKeys.TOKEN)
const details = {
url: `${apiRoutes.organizations.root}/${orgId}${apiRoutes.schema.createCredentialDefinition}/${credDefId}`,
config: {
headers: {
'Content-type': 'application/json',
'Authorization': `Bearer ${token}`,
},
},
}

try {
const response = await axiosGet(details)
return response
}
catch (error) {
const err = error as Error
return err?.message
}
}

17 changes: 17 additions & 0 deletions src/api/verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ export const verifyCredential = async (payload: object, requestType:RequestType)
}
};

export const createOobProofRequest = async (payload: object, requestType: RequestType) => {
const orgId = await getFromLocalStorage(storageKeys.ORG_ID);
const url = `${apiRoutes.organizations.root}/${orgId}${apiRoutes.Verification.oobProofRequest}?requestType=${requestType}`;
const axiosPayload = {
url,
payload,
config: await getHeaderConfigs(),
};

try {
return await axiosPost(axiosPayload);
} catch (error) {
const err = error as Error;
return err?.message;
}
};

export const getVerificationCredential = async (state: IssueCredential) => {
const orgId = await getFromLocalStorage(storageKeys.ORG_ID);
const url = `${apiRoutes.Issuance.getIssuedCredentials}?orgId=${orgId}&state=${state}`;
Expand Down
13 changes: 12 additions & 1 deletion src/common/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,18 @@ export enum SchemaTypes {

export enum CredentialType {
INDY = 'indy',
JSONLD = 'jsonld'
JSONLD = 'jsonld',
}

export enum ProtocolVersion {
V1 = 'v1',
V2 = 'v2'
}

export enum AutoAccept {
ALWAYS = "always",
CONTENT_APPROVED = "contentApproved",
NEVER = "never"
}

export enum RequestType {
Expand Down
80 changes: 80 additions & 0 deletions src/commonComponents/CustomCheckbox.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
import React, { useEffect, useState } from 'react';
import { setToLocalStorage } from '../api/Auth';
import { storageKeys } from '../config/CommonConstant';
import type { ICustomCheckboxProps, ISchemaData } from './interface';

const CustomCheckbox: React.FC<ICustomCheckboxProps> = ({ showCheckbox, isVerificationUsingEmail, onChange, schemaData }) => {
const [checked, setChecked] = useState<boolean>(false);

useEffect(() => {
if (schemaData) {
try {
const selectedSchemas = JSON.parse(localStorage.getItem('selectedSchemas') ?? '[]');
const isChecked = selectedSchemas.some((schema: ISchemaData) => schema.schemaId === schemaData.schemaId);
setChecked(isChecked);
} catch (error) {
console.error('Error parsing JSON from localStorage:', error);
}
}
}, [schemaData]);

const handleCheckboxChange = async () => {
const newChecked = !checked;
setChecked(newChecked);
onChange(newChecked, schemaData);

try {
const selectedSchemas = JSON.parse(localStorage.getItem('selectedSchemas') ?? '[]');

if (newChecked) {
selectedSchemas.push(schemaData);
} else {
const index = selectedSchemas.findIndex((schema: ISchemaData) => schema.schemaId === schemaData?.schemaId);
if (index > -1) {
selectedSchemas.splice(index, 1);
}
}
await setToLocalStorage(storageKeys.SELECTED_SCHEMAS, JSON.stringify(selectedSchemas));
} catch (error) {
console.error('Error updating localStorage:', error);
}
};

return (
<>
{showCheckbox && (
<button
className={`w-4 h-4 ${isVerificationUsingEmail ? 'flex items-center' : 'absolute bottom-8 right-4'}`}
onClick={handleCheckboxChange}
aria-label="Checkbox"
> <input
type="checkbox"
checked={checked}
onChange={handleCheckboxChange}
className="hidden"
/>
<div
className={`w-full h-full border-2 ${checked ? 'bg-primary-700' : ''}`}
style={{ borderColor: 'rgb(31 78 173 / var(--tw-bg-opacity))', position: 'relative' }}
>
{checked && (
<svg
className="absolute top-0 left-0 w-full h-full text-white"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="5"
strokeLinecap="round"
strokeLinejoin="round"
>
<polyline points="20 6 9 17 4 12" />
</svg>
)}
</div>
</button>
)}
</>
);
};

export default CustomCheckbox;
Loading

0 comments on commit ce49df8

Please sign in to comment.