-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cosign improvements #729
Cosign improvements #729
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #729 +/- ##
==========================================
- Coverage 64.36% 64.08% -0.29%
==========================================
Files 299 300 +1
Lines 6126 6161 +35
Branches 1369 1384 +15
==========================================
+ Hits 3943 3948 +5
- Misses 2152 2183 +31
+ Partials 31 30 -1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
a596cec
to
b1294d0
Compare
e927761
to
c1a88d9
Compare
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.
- Should we change
CosignStart.js
toCosignStart.jsx
? - One more conflict appeared!
…s if links in emails are not allowed The link in emails are proper deep-links that bring the user directly to the required start page.
… login URL If a code query parameter is present in the route params, use it to pre-populate the code parameter for the ?next param, which redirects to the submission look-up page on the backend. This will allow the backend to shortcut the form by auto-populating it and validating the authentication state, requiring less user input. This page also works without the parameter and follows the 'old' flow. The login screens will be updated accordingly to redirect to this page.
…igning Added extra paragraph/body clarifying the cosign context. On the CosignStart page, this is displayed as is, without extra heading or background color because the regular login options are (by definition) not displayed on this page. On the regular form start page, the extra paragraph is included under the heading. This entire section is only displayed when no links are included in the cosign email.
…end drive the content of the confirmation page more Added example with simulated backend data for the cosign confirmation page.
The <Story of=...> was deprecated earlier, which caused the buttons not to be properly displayed any longer.
The backend will gain the ability to include the cosign link/button, which will be rendered as a primary button. To point out the right call to actions, the 'return to website' link has been made a secondary button/action. Stories have been updated to reflect the default templates in the backend.
c1a88d9
to
c0098ef
Compare
Closes open-formulieren/open-forms#4320 (partially), required for backend PR open-formulieren/open-forms#4808