Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: PIN-4126 - Capofila #1023

Merged
merged 35 commits into from
Dec 9, 2024
Merged

Conversation

Carminepo2
Copy link
Contributor

No description provided.

alten-dturus and others added 30 commits December 9, 2024 10:40
* Implemented DialogDelegation + Added strings in json files

* Implemeted DelegationCreate page + DelegationsGrantedTab

* Implemented Delegation components: cards and form

* Changed calls in DelegationCreateForm

* Removed few comments + Fixed check in onSubmit in DelegationCreateForm

* Fixing syntax

* Added tenant availability filter + filter delegated eservices

* Imported delegationKind from api + Changed button with link

* Removed useless logic + renamed isChecked in isNewEservice + added autocomplete options logic in useQuery calls

* Added onSubmit logic in delegationCreateForm and onConfirm prop in Dialog

* Removed onConfirmation in createDelegationAndEservice mutation + Removed useless function autocomplete

* Added component Button to Delegations cards

* Added RadioGroup in DelegationCreateCards for accessibility
* Implemented accept and reject delegation dialogs

* added strings

* implemented DelegationDetailsPage

* added strings

* Create index.ts

* implemented DelegationsReceivedTab

* update sevices mocks

* fix delegation kind and delegation eservice producer

* Implemented getLastDescriptor utility function and test

* minor rename fix

* Implemented navigation to eservice details

* Add download contract actions

* minor fixes
* Added delegations availability tab

* Added useUpdateDelegateProducerAvailability in tenant.mutations.ts

* Changed useUpdateDelegateProducerAvailability with assignTenantDelegatedProducerFeature in tenant.mutations/tenant.services

* Removed comments + fixed check in handleClick for producer delegation availability

* Added deleteTenantDelegationProducerFeature

* Created tenant.utils.ts file and tenant.utils.test.ts
* Implemented revoke delegation dialog

* added strings

* Add open revoke dialog action to hook

* fix name

* Update useGetDelegationActions.ts
* Added delegated chip in eservice cell in providerAgreementTableRow

* Update src/pages/ProviderAgreementsListPage/components/ProviderAgreementsTableRow.tsx

Co-authored-by: Carmine Porricelli <[email protected]>

* Added logic for delegator actions in useGetAgreementsActions

---------

Co-authored-by: Carmine Porricelli <[email protected]>
Carminepo2 and others added 5 commits December 9, 2024 10:45
* Implemented approve and reject delegated version draft services and mutations

* Added strings

* Implemented dialogRejectDelegatedVersionDraft and strings for it and dialogApproveDelegatedVersionDraft

* Added new eserviceState in StatusChip component

* Implement new hook useGetDelegationUserRole and its tests

* update status chip use

* Update EServiceTableRow.tsx

* Update eservice summary page adding rejectedReasons and strings

* Implemented different strings in publish based on if it is byDelegation or not

* Updated useGetProviderEServiceActions

* remove comment

* updated useGetDelegationUserRole

* Update useGetProviderEServiceActions.ts

* fix action order

* Implemented tests

* minor fixes

* Update inline snapshots
Copy link

sonarqubecloud bot commented Dec 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
36.2% Coverage on New Code (required ≥ 80%)
5.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@Carminepo2 Carminepo2 merged commit c6c627c into dev Dec 9, 2024
8 of 9 checks passed
@Carminepo2 Carminepo2 deleted the feature/pin-5126-leadOrganization branch December 9, 2024 10:00
ruggerocastagnola pushed a commit that referenced this pull request Dec 13, 2024
* Update api.generatedTypes

* implemented services, queries and mutations

* implemented api delegation index

* Implemented Delegations page and strings

* Added delegations page to sidenav and routes and added strings

* Update api.generatedTypes

* update services

* fixes

* Added delegation status chips

* added mutations strings

* Implemented DelegationTable and DelegationTableRow and hook useGetDelegationActions

* Added strings

* update generatedTypes

* minor fix

* Update api.generatedTypes.ts

* Minor fix

* Create ByDelegationChip.tsx

* Update api.generatedTypes.ts

* implemented download delegation contract service and strings

* add string

* minor fixes

* Feature/pin 5426 create delegation (#997)

* Implemented DialogDelegation + Added strings in json files

* Implemeted DelegationCreate page + DelegationsGrantedTab

* Implemented Delegation components: cards and form

* Changed calls in DelegationCreateForm

* Removed few comments + Fixed check in onSubmit in DelegationCreateForm

* Fixing syntax

* Added tenant availability filter + filter delegated eservices

* Imported delegationKind from api + Changed button with link

* Removed useless logic + renamed isChecked in isNewEservice + added autocomplete options logic in useQuery calls

* Added onSubmit logic in delegationCreateForm and onConfirm prop in Dialog

* Removed onConfirmation in createDelegationAndEservice mutation + Removed useless function autocomplete

* Added component Button to Delegations cards

* Added RadioGroup in DelegationCreateCards for accessibility

* Feature: PIN-5428 - Accept and Reject delegation (#999)

* Implemented accept and reject delegation dialogs

* added strings

* implemented DelegationDetailsPage

* added strings

* Create index.ts

* implemented DelegationsReceivedTab

* update sevices mocks

* fix delegation kind and delegation eservice producer

* Implemented getLastDescriptor utility function and test

* minor rename fix

* Implemented navigation to eservice details

* Add download contract actions

* minor fixes

* Feature/pin 5561 producer delegation availability (#1001)

* Added delegations availability tab

* Added useUpdateDelegateProducerAvailability in tenant.mutations.ts

* Changed useUpdateDelegateProducerAvailability with assignTenantDelegatedProducerFeature in tenant.mutations/tenant.services

* Removed comments + fixed check in handleClick for producer delegation availability

* Added deleteTenantDelegationProducerFeature

* Created tenant.utils.ts file and tenant.utils.test.ts

* Feature: PIN-5431 - Revoke delegation (#1012)

* Implemented revoke delegation dialog

* added strings

* Add open revoke dialog action to hook

* fix name

* Update useGetDelegationActions.ts

* feature/pin-5704-delegate-handles-delegator-agreement (#1014)

* Added delegated chip in eservice cell in providerAgreementTableRow

* Update src/pages/ProviderAgreementsListPage/components/ProviderAgreementsTableRow.tsx

Co-authored-by: Carmine Porricelli <[email protected]>

* Added logic for delegator actions in useGetAgreementsActions

---------

Co-authored-by: Carmine Porricelli <[email protected]>

* Various fixes

* Various fixes

* Removed useless code

* Update DelegationsTableRow.tsx

* Update DelegationGeneralInfoSection.tsx

* Update DelegationGeneralInfoSection.tsx

* Feature: PIN - 5702/5703 - E-service managed by delegation (#1019)

* Implemented approve and reject delegated version draft services and mutations

* Added strings

* Implemented dialogRejectDelegatedVersionDraft and strings for it and dialogApproveDelegatedVersionDraft

* Added new eserviceState in StatusChip component

* Implement new hook useGetDelegationUserRole and its tests

* update status chip use

* Update EServiceTableRow.tsx

* Update eservice summary page adding rejectedReasons and strings

* Implemented different strings in publish based on if it is byDelegation or not

* Updated useGetProviderEServiceActions

* remove comment

* updated useGetDelegationUserRole

* Update useGetProviderEServiceActions.ts

* fix action order

* Implemented tests

* minor fixes

* Update inline snapshots

* Update useGetAgreementsActions.ts

* fix rejectDelegatedVersionDraft action button color

---------

Co-authored-by: alten-dturus <[email protected]>
Co-authored-by: martinaCampoli <[email protected]>
Co-authored-by: martinaCampoli <[email protected]>
ruggerocastagnola pushed a commit that referenced this pull request Dec 13, 2024
* Update api.generatedTypes

* implemented services, queries and mutations

* implemented api delegation index

* Implemented Delegations page and strings

* Added delegations page to sidenav and routes and added strings

* Update api.generatedTypes

* update services

* fixes

* Added delegation status chips

* added mutations strings

* Implemented DelegationTable and DelegationTableRow and hook useGetDelegationActions

* Added strings

* update generatedTypes

* minor fix

* Update api.generatedTypes.ts

* Minor fix

* Create ByDelegationChip.tsx

* Update api.generatedTypes.ts

* implemented download delegation contract service and strings

* add string

* minor fixes

* Feature/pin 5426 create delegation (#997)

* Implemented DialogDelegation + Added strings in json files

* Implemeted DelegationCreate page + DelegationsGrantedTab

* Implemented Delegation components: cards and form

* Changed calls in DelegationCreateForm

* Removed few comments + Fixed check in onSubmit in DelegationCreateForm

* Fixing syntax

* Added tenant availability filter + filter delegated eservices

* Imported delegationKind from api + Changed button with link

* Removed useless logic + renamed isChecked in isNewEservice + added autocomplete options logic in useQuery calls

* Added onSubmit logic in delegationCreateForm and onConfirm prop in Dialog

* Removed onConfirmation in createDelegationAndEservice mutation + Removed useless function autocomplete

* Added component Button to Delegations cards

* Added RadioGroup in DelegationCreateCards for accessibility

* Feature: PIN-5428 - Accept and Reject delegation (#999)

* Implemented accept and reject delegation dialogs

* added strings

* implemented DelegationDetailsPage

* added strings

* Create index.ts

* implemented DelegationsReceivedTab

* update sevices mocks

* fix delegation kind and delegation eservice producer

* Implemented getLastDescriptor utility function and test

* minor rename fix

* Implemented navigation to eservice details

* Add download contract actions

* minor fixes

* Feature/pin 5561 producer delegation availability (#1001)

* Added delegations availability tab

* Added useUpdateDelegateProducerAvailability in tenant.mutations.ts

* Changed useUpdateDelegateProducerAvailability with assignTenantDelegatedProducerFeature in tenant.mutations/tenant.services

* Removed comments + fixed check in handleClick for producer delegation availability

* Added deleteTenantDelegationProducerFeature

* Created tenant.utils.ts file and tenant.utils.test.ts

* Feature: PIN-5431 - Revoke delegation (#1012)

* Implemented revoke delegation dialog

* added strings

* Add open revoke dialog action to hook

* fix name

* Update useGetDelegationActions.ts

* feature/pin-5704-delegate-handles-delegator-agreement (#1014)

* Added delegated chip in eservice cell in providerAgreementTableRow

* Update src/pages/ProviderAgreementsListPage/components/ProviderAgreementsTableRow.tsx

Co-authored-by: Carmine Porricelli <[email protected]>

* Added logic for delegator actions in useGetAgreementsActions

---------

Co-authored-by: Carmine Porricelli <[email protected]>

* Various fixes

* Various fixes

* Removed useless code

* Update DelegationsTableRow.tsx

* Update DelegationGeneralInfoSection.tsx

* Update DelegationGeneralInfoSection.tsx

* Feature: PIN - 5702/5703 - E-service managed by delegation (#1019)

* Implemented approve and reject delegated version draft services and mutations

* Added strings

* Implemented dialogRejectDelegatedVersionDraft and strings for it and dialogApproveDelegatedVersionDraft

* Added new eserviceState in StatusChip component

* Implement new hook useGetDelegationUserRole and its tests

* update status chip use

* Update EServiceTableRow.tsx

* Update eservice summary page adding rejectedReasons and strings

* Implemented different strings in publish based on if it is byDelegation or not

* Updated useGetProviderEServiceActions

* remove comment

* updated useGetDelegationUserRole

* Update useGetProviderEServiceActions.ts

* fix action order

* Implemented tests

* minor fixes

* Update inline snapshots

* Update useGetAgreementsActions.ts

* fix rejectDelegatedVersionDraft action button color

---------

Co-authored-by: alten-dturus <[email protected]>
Co-authored-by: martinaCampoli <[email protected]>
Co-authored-by: martinaCampoli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants