Skip to content

Commit

Permalink
merge: dev to qa (#742)
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>

---------

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 28, 2024
1 parent f42b305 commit 3e7b432
Show file tree
Hide file tree
Showing 11 changed files with 250 additions and 110 deletions.
4 changes: 2 additions & 2 deletions src/components/Ecosystem/Endorsement/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { Alert, Pagination } from 'flowbite-react';
import { useEffect, useState } from 'react';
import type { ChangeEvent } from 'react';
import { apiStatusCodes, storageKeys } from '../../../config/CommonConstant';
import { apiStatusCodes, itemPerPage, storageKeys } from '../../../config/CommonConstant';
import EndorsementPopup from './EndorsementPopup';
import type { AxiosResponse } from 'axios';
import BreadCrumbs from '../../BreadCrumbs';
Expand Down Expand Up @@ -36,7 +36,7 @@ const EndorsementList = () => {
const [orgId, setOrgId] = useState<string>('');
const [endorsementListAPIParameter, setEndorsementListAPIParameter] =
useState({
itemPerPage: 9,
itemPerPage: itemPerPage,
page: 1,
search: '',
sortBy: 'id',
Expand Down
101 changes: 82 additions & 19 deletions src/components/Issuance/BulkIssuance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
uploadCsvFile,
} from '../../api/BulkIssuance';
import { getFromLocalStorage, setToLocalStorage } from '../../api/Auth';
import { apiStatusCodes, storageKeys } from '../../config/CommonConstant';
import { apiStatusCodes, itemPerPage, storageKeys } from '../../config/CommonConstant';
import { AlertComponent } from '../AlertComponent';
import type { AxiosResponse } from 'axios';
import { pathRoutes } from '../../config/pathRoutes';
Expand All @@ -23,6 +23,8 @@ import RoleViewButton from '../RoleViewButton';
import { Features } from '../../utils/enums/features';
import { Create, SchemaEndorsement } from './Constant';
import { DidMethod, SchemaTypes } from '../../common/enums';
import type { GetAllSchemaListParameter } from '../Resources/Schema/interfaces';
import { getAllSchemas } from '../../api/Schema';

export interface SelectRef {
clearValue(): void;
Expand All @@ -32,7 +34,7 @@ const BulkIssuance = () => {
const [requestId, setRequestId] = useState("");
const [process, setProcess] = useState<boolean>(false);
const [loading, setLoading] = useState<boolean>(true);
const [credentialOptions, setCredentialOptions] = useState([]);
const [ credentialOptionsData, setCredentialOptionsData] = useState([]);
const [credentialSelected, setCredentialSelected] = useState<ICredentials | null>();
const [isFileUploaded, setIsFileUploaded] = useState(false);
const [uploadedFileName, setUploadedFileName] = useState('');
Expand All @@ -46,6 +48,15 @@ const BulkIssuance = () => {
const [mounted, setMounted] = useState<boolean>(false)
const [schemaType, setSchemaType]= useState<SchemaTypes>();
const [selectedTemplate, setSelectedTemplate] = useState<any>();
const [isAllSchema, setIsAllSchema] = useState<string>();
const [schemaListAPIParameters, setSchemaListAPIParameters] = useState({
itemPerPage: itemPerPage,
page: 1,
search: '',
sortBy: 'id',
sortingOrder: 'desc',
allSearch: '',
});


const onPageChange = (page: number) => {
Expand All @@ -61,12 +72,15 @@ const BulkIssuance = () => {
};
const [currentPage, setCurrentPage] = useState(initialPageState);

const getSchemaCredentials = async () => {
const getSchemaCredentials = async (schemaListAPIParameters: GetAllSchemaListParameter) => {
try {
setLoading(true);
const orgId = await getFromLocalStorage(storageKeys.ORG_ID);

const orgDid = await getFromLocalStorage(storageKeys.ORG_DID);

const isAllSchemaSelectedFlag = await getFromLocalStorage(storageKeys.ALL_SCHEMAS)
setIsAllSchema(isAllSchemaSelectedFlag)

let currentSchemaType = schemaType;

Expand All @@ -77,14 +91,14 @@ const BulkIssuance = () => {
}

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

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

const options = credentialDefs.map(
const options = credentialDefsData.map(
({
schemaName,
schemaVersion,
Expand All @@ -103,7 +117,40 @@ const BulkIssuance = () => {
schemaAttributes: schemaAttributes && typeof schemaAttributes === "string" && JSON.parse(schemaAttributes)
}),
);
setCredentialOptions(options);
setCredentialOptionsData(options);
} else {
setUploadMessage({message: response as string, type: "failure"});
setSuccess(null)
setFailure(null)
}
setLoading(false);
}

if (currentSchemaType && orgId &&isAllSchemaSelectedFlag =='true') {
const response = await getAllSchemas(schemaListAPIParameters,currentSchemaType);
const { data } = response as AxiosResponse;


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


const options = credentialDefsData.map(({
name,
version,
schemaLedgerId,
attributes,
type
} : ICredentials) => ({
value: version,
label: `${name} [${version}]`,
schemaName: name,
type:type,
schemaVersion: version,
schemaIdentifier: schemaLedgerId,
attributes: Array.isArray(attributes) ? attributes : (attributes ? JSON.parse(attributes) : []),
}));
setCredentialOptionsData(options);
} else {
setUploadMessage({message: response as string, type: "failure"});
setSuccess(null)
Expand All @@ -119,7 +166,7 @@ const BulkIssuance = () => {
};

useEffect(() => {
getSchemaCredentials();
getSchemaCredentials(schemaListAPIParameters);
setMounted(true);
(async () => {
try {
Expand Down Expand Up @@ -433,7 +480,7 @@ const BulkIssuance = () => {

const isCredSelected = Boolean(credentialSelected);

const selectedCred: ICredentials | boolean | undefined = credentialOptions && credentialOptions.length > 0 && credentialOptions.find(
const selectedCred: ICredentials | boolean | undefined = credentialOptionsData && credentialOptionsData.length > 0 && credentialOptionsData.find(
(item: { value: string }) =>
item.value &&
item.value === credentialSelected,
Expand Down Expand Up @@ -529,7 +576,7 @@ const BulkIssuance = () => {
isRtl={false}
isSearchable={true}
name="color"
options={credentialOptions}
options={ credentialOptionsData}
onChange={(value: ICredentials | null) => {
if (schemaType === SchemaTypes.schema_INDY) {
setSelectedTemplate(value?.credentialDefinitionId);
Expand Down Expand Up @@ -562,16 +609,32 @@ const BulkIssuance = () => {
</p>
<span className='text-black dark:text-white font-semibold'>Attributes:</span>
<div className="flex flex-wrap overflow-hidden">
{credentialSelected?.schemaAttributes.map(
(element: IAttributes) => (
<div key={element.attributeName}>
<span className="m-1 bg-blue-100 text-blue-800 text-sm font-medium mr-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300">
{element.attributeName}
</span>
</div>
),
)}
{
isAllSchema ==='false' ? (
credentialSelected?.schemaAttributes?.map(
(element: IAttributes) => (
<div key={element.attributeName}>
<span className="m-1 bg-blue-100 text-blue-800 text-sm font-medium mr-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300">
{element.attributeName}
</span>
</div>
),
)
) : (
credentialSelected?.attributes?.map(
(element: IAttributes) => (
<div key={element.attributeName}>
<span className="m-1 bg-blue-100 text-blue-800 text-sm font-medium mr-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300">
{element.attributeName}
</span>
</div>
),
)
)

}
</div>

</div>
</Card>
)}
Expand Down
Loading

0 comments on commit 3e7b432

Please sign in to comment.