Commit Graph

12 Commits

Author SHA1 Message Date
Adrian Cowan 5054e19e93 website: Remove next task button and load new task immediately
Also disable the task inputs while the task is submitted and before the new task is ready in case the users network is slow or something.
2023-01-13 23:40:16 +11:00
rsandb ba2c4cbc0f Dashboard 2023-01-03 22:48:21 -06:00
kostiak a66289789a Merge branch 'main' into collapsable-text 2023-01-03 23:30:16 +02:00
Desmond Grealy a76441baf0 fix method signature from merge. eslint fixes 2023-01-02 20:28:36 -08:00
Desmond Grealy 3d13c7c91c Darkmode for survey pages. Fixes for eslint. 2023-01-02 18:36:54 -08:00
Kostia 1fdb3c4876 Added collapsable text for text that's too long 2023-01-03 03:11:50 +02:00
Adrian Cowan 48dc187158 website: Fix order of imports in Sortable/SortableItem 2023-01-01 17:16:05 +11:00
Adrian Cowan ab8fbbecca website: Add basic keyboard support for ranking items to improve accessibility 2023-01-01 16:40:36 +11:00
Adrian Cowan 64a7b9848a website: Restrict ranking items to vertical motion to avoid breaking the webpage layout.
When the items are drag-able outside the page boundary the viewport leaves the page boundary. This looks particularly unprofessionally on mobile. There is also another option to restrict to the page boundaries (restrictToWindowEdges) which might be better but it doesn't appear to work on mobile (firefox); the issue is that the items get stuck slightly off to the left edge of the viewport and can't be moved horizontally at all (even without restrictToVerticalAxis).
2023-01-01 16:40:29 +11:00
croumegous a0b900559c chore: eslint plugins to sort import and remove unused import automatically 2022-12-31 18:22:06 +01:00
AbdBarho ece0227aec Use DnDKit for ranking tasks 2022-12-31 09:19:37 +01:00
AbdBarho 66b89d4685 Implement rank_user_replies in web 2022-12-29 19:44:29 +01:00