Commit Graph

73 Commits

Author SHA1 Message Date
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
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
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
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
AbdBarho 4f8c4e0457 Implement rank_assistant_replies in web 2022-12-29 21:13:25 +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
Bill Ray d1eeecbf7a Updated join-us and FAQ links to link back to their sections on the home page. 2022-12-29 11:51:31 -05:00
Desmond Grealy 640623ff14 Merge pull request #146 from k-nearest-neighbor/home_layout
Adding a specific layout for Home
2022-12-29 06:20:18 -08:00
Desmond Grealy 2d4d621ed7 Cleaner className expression 2022-12-29 06:06:48 -08:00
aayush f96fb36182 Commented TaskOption for summerize story & rate summary 2022-12-29 19:23:46 +05:30
Desmond Grealy b718ab699c prettier 2022-12-29 05:38:22 -08:00
Desmond Grealy 58a74af771 Add arg to Header story 2022-12-29 05:28:18 -08:00
aayush f2d6739a11 commented links 2022-12-29 18:55:00 +05:30
Desmond Grealy c597e7317c Adding a specific layout for Home so other pages are not coupled to the the header / footer / grid used on Home; Make header transparent on Home 2022-12-29 05:07:14 -08:00
AbdBarho 0ffbe625f5 Lint files 2022-12-29 13:00:54 +01:00
Keith Stevens 2046b32b92 Merge pull request #138 from jojopirker/newLoading
New loading screen component
2022-12-29 20:22:06 +09:00
jojopirker cb317ebccb Initial Storybook setup (#110)
* Storybook setup

Storybook can be started using `npm run storybook`

* moved files and bugfix

Moved component files into their own directory and moved stories next to them. Fixed a bug with loading images

* prettier and bugfix

* prettier and bugfix

* Absolute Import in Header.tsx

* import fix

some imports did not work after merging

* Storybook update for chakra ui to properly work

* Prettier main.js

* comment in preview.js about hacky solution

* webpack final update and prettier update to preview

* Updated website/readme to include storybook description

* prettier...

* Delete docker-compose 2.yaml
2022-12-29 10:44:14 +01:00
jojopirker 205ff7971c deleted comment 2022-12-29 08:12:34 +01:00
jojopirker 7725297eb2 Merge branch 'LAION-AI:main' into newLoading 2022-12-29 08:01:45 +01:00
jojopirker d4887e0054 new LoadingScreen to replace old loading divs 2022-12-28 20:49:03 +01:00
rsandb 9404654672 Merge remote-tracking branch 'upstream/main' 2022-12-28 12:26:17 -06:00
AbdBarho 4fe45e3651 Implement rank_initial_prompts for web 2022-12-28 11:58:35 +01:00
AbdBarho 072190145b Add global layout
with the ability to be overridden per-page
2022-12-28 10:03:03 +01:00
Keith Stevens bc235b5f51 Closing issue 113 by fixing the landing page links for two tasks 2022-12-28 17:24:25 +09:00
rsandb 5e27695c47 Merge remote-tracking branch 'upstream/main' 2022-12-27 17:29:11 -06:00
Keith Stevens 0ac0ff9b59 Merge branch 'main' into 65-consistent-paths-plus-ui 2022-12-28 07:56:42 +09:00
Lucian Petri cea73ad1c4 Merge pull request #75 from LucianPetri/prettier-userchoice
Prettier User Choice on index page
2022-12-28 00:40:50 +02:00
rsandb de869033bf updated avatar component name, added ability to change username (only works server side for now), updated signin page, updated Footer
Still working on the account settings page but didn't want to get behind on commits.
2022-12-27 13:00:32 -06:00
Lucian Petri ea47c08e4d typo fix 2022-12-27 18:39:19 +02:00
Lucian Petri b87dd9c732 fixing pre-commit on TaskSelection 2022-12-27 16:30:24 +02:00
Yannic Kilcher c70c9d191c Merge pull request #68 from LAION-AI/66-create-a-set-of-fake-default-users-for-the-website
created debug credentials provider
2022-12-27 14:01:15 +01:00
Lucian Petri 6896674476 adding new Tasks 2022-12-27 14:14:29 +02:00
Lucian Petri 3f084c73d0 Merge branch 'main' of https://github.com/LAION-AI/Open-Assistant into prettier-userchoice 2022-12-27 14:09:29 +02:00
Lucian Petri 32a0f14d8a Refactor to TaskSelection 2022-12-27 13:56:01 +02:00
Lucian Petri 33af6fce40 removing UserChoice 2022-12-27 13:55:19 +02:00
Keith Stevens 38266dd76b Merge pull request #81 from AbdBarho/reply
Implement `*_reply` for the web
2022-12-27 20:20:37 +09:00
Lucian Petri b075e62893 Merge https://github.com/LAION-AI/Open-Assistant into prettier-userchoice 2022-12-27 12:52:40 +02:00
AbdBarho 0987a64a85 Implement *_reply for the web
Also, start extracting shared components
2022-12-27 11:36:20 +01:00
poipiii fba75a7942 Merge branch 'main' of https://github.com/LAION-AI/Open-Assistant 2022-12-27 16:42:01 +08:00
poipiii 61d8f3bc5a fixed minor style issues 2022-12-27 16:12:40 +08:00