Commit Graph

184 Commits

Author SHA1 Message Date
Keith Stevens 76ea30d1c1 Merge pull request #332 from Jac-Zac/main
Fixing username not updating
2023-01-04 12:09:42 +09:00
Keith Stevens e5715686c9 Merge pull request #328 from chs20/main
Make menu icon visible in dark mode
2023-01-04 12:07:42 +09:00
kostiak a66289789a Merge branch 'main' into collapsable-text 2023-01-03 23:30:16 +02:00
Kostia 30ae9bde8a fixed pre-commit 2023-01-03 23:26:54 +02:00
Kostia ec9e338c46 fixed the modal overlay 2023-01-03 23:21:16 +02:00
AbdBarho 7ff6a55c45 Merge pull request #256 from LAION-AI/46-privacy-and-terms
Adding a bare bones unstyled terms of service and privacy policy
2023-01-03 22:07:32 +01:00
Jacopo Zacchigna aedab0eda6 Merge branch 'LAION-AI:main' into main 2023-01-03 21:15:26 +01:00
Jac-Zac 8e6af17612 Fixing username not updating 2023-01-03 15:27:37 +01: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
chs20 ff5e88916a Make menu icon visible in dark mode 2023-01-03 13:27:51 +01:00
Klotske 20b313ddcf Fixed toggle icon being missing on light theme 2023-01-03 13:11:11 +03:00
Keith Stevens dbfa77e8b7 Fixing some small merge issues and ensure docker runs the backend properly 2023-01-03 15:01:24 +09:00
Desmond Grealy e546eaa070 one more fix for header border-bottom. Also fixed some eslint whine 2023-01-02 21:09:37 -08:00
Desmond Grealy a76441baf0 fix method signature from merge. eslint fixes 2023-01-02 20:28:36 -08:00
Desmond Grealy de7e8c08a2 Merge branch 'main' into dark-mode-implementation 2023-01-02 19:00:10 -08:00
Desmond Grealy 3d13c7c91c Darkmode for survey pages. Fixes for eslint. 2023-01-02 18:36:54 -08:00
Kostia c68bbe75d0 Ran pre-commit to make prettier happy. 2023-01-03 03:42:36 +02:00
Kostia 1fdb3c4876 Added collapsable text for text that's too long 2023-01-03 03:11:50 +02:00
Keith Stevens a83eb7ffe1 Merge pull request #299 from croumegous/fix-204-response-invalid-json
fix(frontend): fix invalid json error when HTTP response is 204
2023-01-03 08:47:43 +09:00
Keith Stevens b810dfbe9f Merge pull request #294 from Klotske/fix-null-username
#276 - Fixed null username
2023-01-03 08:46:40 +09:00
croumegous 47ffd40d38 fix(frontend): fix invalid json error when HTTP response is 204 2023-01-03 00:44:07 +01:00
Keith Stevens 245a3de074 Merge pull request #264 from LAION-AI/messages_chakra
Use Chakra UI for Messages
2023-01-03 08:43:12 +09:00
Keith Stevens 7f1644e38d Factoring out the re-used layout 2023-01-03 08:40:59 +09:00
Klotske 15c06348ce Removed unused import 2023-01-03 00:17:32 +03:00
Klotske 65e3800997 Use session for username, removed update handler 2023-01-03 00:13:05 +03: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
Desmond Grealy 5f3d32b875 Merge branch 'main' into dark-mode-implementation 2023-01-02 00:49:03 -08:00
AbdBarho 9902e013b2 Use Chakra UI for Messages 2023-01-02 08:26:33 +01:00
Desmond Grealy 97625a8398 Theme implementation which does not rely on the Chakra Container component, which is for contianing width (and buggy). Last commit before pulling in latest to resolve merge confilicts, and continue to fix the survey pages. 2023-01-01 23:12:37 -08:00
Keith Stevens 53ab8fb479 Adding a bare bones unstyled terms of service and privacy policy 2023-01-02 14:21:39 +09: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
Desmond Grealy 6299f3673e Add an icon-based toggle. Fix alignment of items in header. Keeping unused 'ColorModeSwitch' component for now. 2023-01-01 17:01:47 -08:00
Desmond Grealy 862a0ac3fd border-bottom should be configurable and off for transparent 2023-01-01 15:57:19 -08: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
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