[STAR-2877, STAR-2879, STAR-2880] Several fixes to checklist presentation
Fixes several issues with the presentation of checklists. Namely:
- The 'Response' column now shows how many people have responded. To avoid confusion, nothing is displayed for one-offs. Side bonus: The listing is even faster now!
- Focus, hover, and active states are implemented on checklist listings
- The entire checklist entry is clickable, with the correct cursor type, without preventing the existing interactive elements from being used
- Subjects in emails no longer get mangled if they have an ampersand
Supporting information
- https://tasks.opencraft.com/browse/STAR-2877
- https://tasks.opencraft.com/browse/STAR-2879
- https://tasks.opencraft.com/browse/STAR-2880
- #74 (closed)
- #73 (closed)
- #54 (closed)
Visual changes
https://www.loom.com/share/9ebafbfe7f5a450cab5eaecb1dd515f8
Testing instructions
Step by step procedure
- Check out this branch
- Undo the changes to the email subject templates and run the tests. They should fail.
- Re-apply the changes and rerun the tests. They should succeed.
- Run the frontend and verify that the different modes, hover, focus, and active, work as expected and match the design.
- Verify that the checklist is clickable aside from the interactive elements.
- Check that the Response column is now showing how many people completed their checklist rather than how many tasks are in the entire run