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
BitterKanegul
74396f79ba
Add precommit fixes
2023-01-02 10:26:03 +05:30
BitterKanegul
725dededbd
Add npm build fixes for types
2023-01-02 10:17:13 +05:30
BitterKanegul
d36f2e4ec5
Change submitResponse function
2023-01-02 10:01:26 +05:30
BitterKanegul
3da5d11883
Add ESLint fixes
2023-01-02 09:52:24 +05:30
BitterKanegul
e81c3cd3bb
Incorporate review comments
2023-01-02 09:11:57 +05:30
BitterKanegul
260177ed1c
Fix float
2023-01-02 09:11:57 +05:30
BitterKanegul
fa5fc377ec
Run prettier
2023-01-02 09:11:57 +05:30
BitterKanegul
dfcbbee444
Adding popover to flag text with labels
2023-01-02 09:11:57 +05:30
Gareth Davidson
c3c7a1701a
run prettier with new params
2023-01-01 20:57:35 +00:00
Yannic Kilcher
5a90283e0e
Merge pull request #227 from mattlongname/bug-195-next-lint-more-platform-agnostic
...
candidate platform agnostic solution
2023-01-01 17:10:40 +01:00
Keith Stevens
75a9b63910
Merge pull request #225 from LAION-AI/156-empty-link-cleanup
...
Deleting a few links that don't go to a page we're planning to build
2023-01-01 20:38:26 +09: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
mattlongname
165a1c6b62
candidate platform agnostic solution
2022-12-31 22:11:10 -06:00
Keith Stevens
d7c0495605
Deleting a few links that don't go to a page we're planning to build out. Updating two links to go to pages that will soon exist
2023-01-01 12:48:05 +09:00
Keith Stevens
41e509405b
Merge pull request #199 from croumegous/fix-lint-build
...
Fix linter warnings
2023-01-01 10:46:21 +09:00
Desmond Grealy
f09d4d33f1
Merge pull request #210 from LAION-AI/168-cant-fetch-tasks-when-logging-in-as-a-debug-users
...
saving user to the dabase when using the debug credentials provider
2022-12-31 15:20:04 -08:00
croumegous
8c79cadbb1
chore: manually fix linter warning
2022-12-31 18:27:08 +01:00
croumegous
a0b900559c
chore: eslint plugins to sort import and remove unused import automatically
2022-12-31 18:22:06 +01:00
Dustin
0e10f49c02
lock
2022-12-31 09:19:14 -08:00
Dustin
a40d51b06f
added missing dependency for DNDKit on evaluation pages
2022-12-31 09:03:10 -08:00
Yannic Kilcher
4a4cf3c3a6
saving user to the dabase when using the debug credentials provider
2022-12-31 17:32:02 +01:00
Keith Stevens
9b5a220e16
Merge pull request #192 from LAION-AI/104-load-new-tasks
...
Update all the task pages to fetch a new taks after submission
2022-12-31 18:37:58 +09:00
Keith Stevens
b8fcb4df8f
Update all the task pages to fetch a new taks after submission
2022-12-31 18:24:50 +09:00
AbdBarho
ece0227aec
Use DnDKit for ranking tasks
2022-12-31 09:19:37 +01:00
Desmond Grealy
6ff96fce4e
("text_reply_to_post" -> "text_reply_to_message")
2022-12-30 17:50:25 -08:00
Desmond Grealy
3aaf45a8c8
("post_rating" -> "message_rating") ("post_ranking" -> "message_ranking")
2022-12-30 17:37:28 -08:00
Desmond Grealy
5b787b8ad7
(post_id -> message_id), (user_post_id -> user_message_id)
2022-12-30 17:31:09 -08:00
Desmond Grealy
5243270212
Rename to in api endpoints in affected pages
2022-12-30 17:12:20 -08:00
Martin H. Normark
2f064220a3
Use JS for Cypress config to avoid type error
2022-12-31 00:11:32 +01:00
Martin H. Normark
c2806ecf9b
Add component test for Container component
2022-12-31 00:11:32 +01:00
Martin H. Normark
592c75ddea
Add exports to comply with module resolution
2022-12-31 00:11:32 +01:00
Martin H. Normark
b03ad3ae92
Format code with Prettier
2022-12-31 00:11:32 +01:00
Martin H. Normark
8c478f5aaf
Format file
2022-12-31 00:11:32 +01:00
Martin H. Normark
5d5ee33ed3
Move e2e test to comply with folder structure
2022-12-31 00:11:32 +01:00
Martin H. Normark
562ddd2e12
Describe how to use Cypress
2022-12-31 00:11:32 +01:00
Martin H. Normark
dea0f4ec47
Remove component test as Button was removed
2022-12-31 00:11:32 +01:00
Martin H. Normark
932129906c
Tidy up cypress npm scripts
2022-12-31 00:11:32 +01:00
Martin H. Normark
9a6ef28a57
Update package-lock.json from fresh install
2022-12-31 00:11:32 +01:00
Martin H. Normark
3ff161d22b
Update baseline images for UI tests
2022-12-31 00:11:32 +01:00
Martin H. Normark
89c2be5760
Add cypress-image-diff for visual testing
2022-12-31 00:11:32 +01:00
Martin H. Normark
82d2b0924b
Add button component test
2022-12-31 00:11:32 +01:00
Martin H. Normark
8c75c6645d
Add signin e2e test
2022-12-31 00:11:32 +01:00
Martin H. Normark
f9bb5b2bf1
Install cypress for e2e and component tests
2022-12-31 00:11:32 +01:00