Commit Graph

192 Commits

Author SHA1 Message Date
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
Keith Stevens 41e509405b Merge pull request #199 from croumegous/fix-lint-build
Fix linter warnings
2023-01-01 10:46:21 +09: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
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 c2806ecf9b Add component test for Container component 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 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
Desmond Grealy 8b7e9bd868 Reset debugging var
index.tsx was not intended to be part of previous commit
2022-12-30 08:42:14 -08:00
Desmond Grealy a98d4f3438 Fix chakra adding extra padding on container. 2022-12-30 08:36:58 -08:00
Lucian Petri 53673d2aa3 pre-commit lint 2022-12-30 03:19:36 +02:00
Keith Stevens 7c187bbfab Fixing discord signin 2022-12-30 10:16:43 +09:00
Lucian Petri 4d53bbe7a8 fixing eslint 2022-12-30 03:13:41 +02:00
Lucian Petri 5d719e274a post merge pages darkMode 2022-12-30 02:50:11 +02:00
Lucian Petri 84805ddfba Merge https://github.com/LAION-AI/Open-Assistant into dark-mode-implementation 2022-12-30 02:42:10 +02:00
Lucian Petri e5a1cad7b3 adding darkmode to pages 2022-12-30 02:30:49 +02:00
Lucian Petri 80d2e02e90 adding a cubic bezier for transition 2022-12-30 02:18:48 +02:00
Lucian Petri 8bb2a3c902 prettier colorSwitch WIP 2022-12-30 01:56:42 +02:00
Lucian Petri 851e73f9d4 remove unused import 2022-12-30 01:56:25 +02:00
Lucian Petri 5f4d8ac896 Refactor Footer 2022-12-30 01:56:07 +02:00
Lucian Petri ae58be5116 refactor Header 2022-12-30 01:56:00 +02:00
Lucian Petri dcdcadecc4 text Color 2022-12-30 01:55:36 +02:00
Lucian Petri a537a0ffa0 adding default text Color to Container 2022-12-30 01:55:27 +02:00
Lucian Petri b8f3fe9636 discarding ColorModeScript 2022-12-30 01:55:09 +02:00
Lucian Petri fc64fd6e60 implementing scaling of theme 2022-12-30 01:29:12 +02:00
Keith Stevens 8c59cbe034 Merge pull request #154 from LAION-AI/rank_assistant_replies
Implement `rank_assistant_replies` in web
2022-12-30 07:54:45 +09:00
Yannic Kilcher d9d65be8c5 added vanished debug login 2022-12-29 22:00:00 +01:00
Lucian Petri c204fbdef1 reorganizing the theme configuration 2022-12-29 22:46:22 +02:00
AbdBarho 4f8c4e0457 Implement rank_assistant_replies in web 2022-12-29 21:13:25 +01:00
AbdBarho 5b0b326fc5 Add Loading Screen 2022-12-29 19:44:29 +01:00
AbdBarho 66b89d4685 Implement rank_user_replies in web 2022-12-29 19:44:29 +01:00
Desmond Grealy ea65654fc2 Merge branch 'main' into eslint 2022-12-29 10:32:21 -08:00
Lucian Petri 2431a5207e Auth darkMode Refactor 2022-12-29 19:33:32 +02:00
Lucian Petri 186eeb7591 Footer darkMode refactor 2022-12-29 19:27:00 +02:00
Lucian Petri 8a4855c651 UserMenu darkMode refactor 2022-12-29 19:18:21 +02:00