Adrian Cowan
17f860b9d6
website: Improve 'spam?' question
2023-01-16 22:27:32 +11:00
Adrian Cowan
f92dc79e6d
website: Make the more text button clearer
2023-01-14 15:37:27 +11:00
Adrian Cowan
2d74e50be9
website: Fix responsiveness of '...' in sortable item
2023-01-14 14:47:53 +11:00
Adrian Cowan
19e58c04a5
website: make e2e tests actually test the tasks work
...
Prior to this change the tests didn't handle any task types as the detection of the task type was failing.
2023-01-14 02:16:30 +11:00
Adrian Cowan
eb43c8b4f8
website: Add a review step before submitting
...
to hint to the user that they should reread and check what they have written.
Also show numbers for ranked items rather than drag handles in the review step as the items can't be moved in that step.
2023-01-14 02:16:27 +11:00
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
Adrian Cowan
9f23ffb1b6
website: Enable label when clicking on disabled slider
2023-01-13 20:52:01 +11:00
Adrian Cowan
099b7c0b66
website: Remove summarization pages
...
These pages are now out of sync with the rest of the development and are become hard to maintain without an API to work against. They should be easy to reimplement using the new Components once we have actual summarization tasks.
2023-01-11 22:54:41 +11:00
Adrian Cowan
805bc33ba4
website: Unify task controls
...
Also happens to fix some issues with the no-changes are-you-sure dialog only appearing once and other form values not being reset correctly.
2023-01-11 02:59:10 +11:00
Adrian Cowan
15e1203be9
website: Refactor remaining task pages to use Task.tsx
2023-01-10 21:44:22 +11:00
Adrian Cowan
91ee52595e
website: Ignore screenshots and videos produced by cypress e2e tests
...
These files are generated by running `npm run cypress:run`
2023-01-09 19:17:05 +11:00
Adrian Cowan and GitHub
b930d2b9c7
Trigger e2e testing on changes to oasst-shared
2023-01-09 10:09:54 +11:00
Adrian Cowan
f277e2da0f
Prompt for reason for skipping.
...
Note: skipping is only half implemented for labelling and summarisation tasks as those probably need to be changed to use the new Task component.
2023-01-09 00:02:43 +11:00
Adrian Cowan
c369675991
website: Automate e2e testing with a simpler method than #376
2023-01-07 22:14:37 +11:00
Adrian Cowan
cb8fec868c
website: Add Create Initial Prompts link to the dashboard.
2023-01-05 20:51:45 +11:00
Adrian Cowan
81e354dec5
website: Implement page for creating initial prompts
2023-01-04 00:13:15 +11:00
Adrian Cowan
413e211761
website: Fix broken e2e tests
2023-01-04 00:13:15 +11:00
Adrian Cowan
447a3bce41
website: Add some new detail to the docs on e2e testing
2023-01-02 22:40:51 +11:00
Adrian Cowan
dc1af6e2d8
website: Add e2e tests of ranking replies and prompts
...
Like the previous commit, these are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan
32e212b5a5
website: Add e2e tests of creating an assistant/prompter reply
...
These are intended to function as a minimal smoke test that the API interaction with the backend is functional.
2023-01-02 21:13:10 +11:00
Adrian Cowan
0df6d7fd31
website: more e2e tests for signin
...
Fixed issue where existing sign in test fails due to the existence of dev test login.
Added reusable cy.signInWithEmail() to login before testing rest of UI.
2023-01-02 21:13:10 +11: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
Adrian Cowan
6319f1ad17
website: Add drag handles to rank-able (drag-able) items to make it clear they can be dragged.
...
The formatting changes to the SortableItem also had the side-effect of removing the dot points.
2023-01-01 16:40:15 +11:00