-
Notifications
You must be signed in to change notification settings - Fork 31
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/signing cta #2890
Feature/signing cta #2890
Conversation
3687cce
to
ac98a99
Compare
/publish |
Published PR packages:
|
…l wrappers to app-components
… to signing panel
452a170
to
24f6e50
Compare
/publish |
Published PR packages:
|
renames SigningPanel -> PanelSigning, NoActionRequiredPanel -> PanelNoActionRequired and AwaitingCurrentUserSignaturePanel -> PanelAwaitingCurrentUserSignature
…el with corresponding text resource changes
/publish |
Published PR packages:
|
/publish |
Published PR packages:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff!! 💪 🚀 I have quite a few comments here, and I can't really comment about the domain-specific parts about signing (I haven't followed the work in that task force closely).
src/layout/SigningStatusPanel/PanelAwaitingCurrentUserSignature.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙌
); | ||
} | ||
|
||
if (currentUserStatus === 'awaitingSignature') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic looks correct here.
We should have tests for all the cases:
User without write access, not in signeeList -> NoActionRequiredPanel
User without write access, in signeeList, has not yet signed -> AwaitingCurrentUserSignaturePanel
User without write access, in signeeList, has signed -> NoActionRequiredPanel
User with write access, not in signeeList, required have not signed -> AwaitingOtherSignaturesPanel
User with write access, not in signeeList, required have signed -> SubmitPanel
User with write access, in signeeList, has not yet signed -> AwaitingCurrentUserSignaturePanel
User with write access, in signeeList, has signed, but other required have not -> AwaitingOtherSignaturesPanel
User with write access, in signeeList, has signed, and all other required have too -> SubmitPanel
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
Description
Kan til fordel leses commit for commit 😊
Visning av feil i signeringssteget (den røde versjonen) kommer i en annen PR.
Kan testes ut ved å enten
signering-brukerstyrt
-appen i TT02: https://ttd.apps.tt02.altinn.no/ttd/signering-brukerstyrt/Testbrukere er da Tenor testbrukere som vanlig.
signering-brukerstyrt
-appen lokalt med denne frontenden og app-lib-dotnet fra branchenfeature/signing
.Testbrukere finner man da i
app-localtest
i mappatestdata/Register/Party
. Merk at det ikke er alle personer eller org som funker, men Pengelens Partner, Gjentakende Forelder og Skog og Fjell Consulting funker i hvert fall.Siden mye fortsatt er litt usikkert, lager jeg tester senere.
Figma
Related Issue(s)
Verification/QA
kind/*
label to this PR for proper release notes grouping