Added HTMX to support more interactive experience.
Left a few items for future work:
1) Add a spinner or other indicator that the system is uploading and processing a spreadsheet after the upload button is clicked
2) Maybe make the way I handle reloading pages more consistent. See comments in confirm_get() and index_post() function in the mfo/admin/views.py file:
confirm_get()
Note that the form in the confirm_form.html template included in the partials/list_issues.html template is not submitted with htmx; it is a normal POST request so when the form is submitted, the confirm_post() function is called with a normal POST request so the redirect reloads the entire page.
index_post()
Change response headers to get out of the innerHTML so that the redirect works. This is different than the _confirmpost() function because the form in the _confirmform.html template is not submitted with htmx; it is a normal POST request)
Added HTMX to support more interactive experience.
Left a few items for future work: 1) Add a spinner or other indicator that the system is uploading and processing a spreadsheet after the upload button is clicked 2) Maybe make the way I handle reloading pages more consistent. See comments in confirm_get() and index_post() function in the mfo/admin/views.py file: