Conversation
a01e7c9 to
d378bbf
Compare
Test results 27 files 27 suites 44m 25s ⏱️ Results for commit 1a7bfd4. ♻️ This comment has been updated with latest results. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3540 +/- ##
=======================================
Coverage 62.09% 62.10%
=======================================
Files 611 611
Lines 44865 44868 +3
Branches 43 43
=======================================
+ Hits 27861 27864 +3
Misses 16994 16994
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d378bbf to
df5956e
Compare
johannaengland
left a comment
There was a problem hiding this comment.
A little nitpick (but I don't think it matters too much) is that the modal is now also changing in width between the first and the second message. Can we avoid that?
df5956e to
1a7bfd4
Compare
1a7bfd4 to
dfe284d
Compare
|



Scope and purpose
Dependent on #3538 (closing behaviour), part of #2972.
This PR replaces the foundation modal with an HTMX implementation. It also slightly refactors the code to use promises and async code, as the JS handlers need to wait for the modal to load before displaying feedback.
I added screen recordings since Portadmin is difficult to test, and the process takes a long time (over 1 minute to save changes).
This pull request
Screen Recordings
Before
portadmin-foundation-feedback.mov
After
portadmin-htmx-feedback.mov
Contributor Checklist
Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.
<major>.<minor>.x). For a new feature or other additions, it should be based onmaster.