-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update modals to use htmx/alpine #4053
Conversation
3aeec1e
to
535088e
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.
Really nice overall!
I do not think the modals should close when clicking the background, omnly when a button is pressed.
If you e.g. open the Reviewers modal pick some reviewers and then click outside the modal you loose your selection.
535088e
to
385ff74
Compare
Yes. that can be made possible. Edit: fixed in 850a50e |
a23c76e
to
82429c3
Compare
I'll fix over the failing test, the modal for the batch actions are not update, at the table view will be replaced soon in my next PR. |
@theskumar Some minor issues with test. Seem to be looking for class names so might be an easy fix. |
@frjo Updated test cases. |
00678ae
to
5258d4c
Compare
rebased with latest main. |
8bf9418
to
6f2c9dd
Compare
Performance improvements:
|
6f2c9dd
to
fc6eecc
Compare
…or lead update yet) Use htmx and dialog for archive and unarchive modals Use htmx and dialog for project creation Use htmx and dialog for create reminder form Use htmx and dialog for submission progress/status update Fix requirements and progress button code Use htmx and dialog box for reviewers update modal Use htmx and dialog box for partners update modals Use htmx and dialog box for meta terms Fix test for htmx and dialog box modals Replace updated lead and partners directly to element in html instead of reloading the page Avoid full page reload on reviewers update Avoid page reload for reminder and meta terms Remove Select2Widget for reviewers and partners, add defer to alpine dialog Use Dialog modal instead of html-only dialog, fix dialog closing and UI shifting issue Use dialog modal for all other dialogs to avoid UI shift and closing issue Change atag to button tag for Modal trigger buttons Add @fylgja/alpinejs-dialog as npm package
remove dependencies
update how meta terms are rendered in submission detail translation markers, remove meta term api
fc6eecc
to
82967c7
Compare
This is fantastic! Testing went really well and everything looks much more slick. The only very minor issue I saw was the reminder toast showed twice upon creation but looking at the code that may be a reminders specific issue. @frjo if it's determined that requires a separate issue this is ready to be merged |
This is probably because it's specifically being asked to display and other one is via the django messages framework through the activity feed route. I think it should be quick and safe to remove one of them. |
* origin/main: Notification upon profile update (#3970) Fix error in View All when no reviewer role image (#4068) Remove tasks from task list (#4040) Update modals to use htmx/alpine (#4053) Fix: Task is not removed for staff while project moved to next stage (#4026) Speed & appearance improvements to the results page (#4043)
Added new issue for reminder alter bug. #4082 |
Fixes #3391
Test Steps