Commit Graph

47 Commits

Author SHA1 Message Date
rjmacarthy 24f4c08796 Refactor task page routes and repetition
Remove blank line

Lint add blank line

Link pre-commit
2023-01-27 10:16:02 +00:00
rjmacarthy 9b659191ca Extract common getStaticProps to single file 2023-01-20 09:37:02 +00:00
rjmacarthy 3fa2e637d2 Add localization to pages, header and footer
Fix import orders for useTranslation

Apply common translations for header and footer

lint

Fix getServerSideProps messages/id
2023-01-19 19:23:29 +00:00
AbdBarho 6c01205b52 Small website fixes 2023-01-16 19:22:04 +01:00
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06:00
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +03: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
Keith Stevens 5109f14e4c Fixing the answer submission problem after unifying code 2023-01-11 14:58:10 +09: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
Keith Stevens 2c34b09f85 Merge branch 'main' into web-tidy-sweep 2023-01-10 16:25:43 +09:00
Keith Stevens 062bfdba3a Revert "Centralize task types"
This reverts commit 97c1f12e11.
2023-01-10 16:24:35 +09:00
AbdBarho 97c1f12e11 Centralize task types 2023-01-10 16:20:48 +09:00
AbdBarho 54a042d002 Centralize task types 2023-01-10 06:51:59 +01:00
Keith Stevens 34a1715923 Cleaning up a suite of eslint warnings 2023-01-10 13:02:17 +09:00
Keith Stevens 16df53fc54 Merge pull request #550 from LAION-AI/use-hooks-create
Use hooks for "create" tasks
2023-01-09 09:22:36 +09:00
AbdBarho ad91bfe201 Use hooks for "create" tasks 2023-01-08 19:19:52 +01: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
Kostia 2987ec76ff Refactor tasks into components 2023-01-07 05:13:28 +02:00
klotske 3449c053f6 Removed unused imports & unused variable 2023-01-07 00:08:56 +03:00
klotske 44d05ed709 Initial implementation of progressbar tracking 2023-01-07 00:06:15 +03:00
Kostia 96be0edb1e Fix for #343 2023-01-04 18:58:54 +02: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
Desmond Grealy a76441baf0 fix method signature from merge. eslint fixes 2023-01-02 20:28:36 -08:00
Desmond Grealy 3d13c7c91c Darkmode for survey pages. Fixes for eslint. 2023-01-02 18:36:54 -08:00
Desmond Grealy 5f3d32b875 Merge branch 'main' into dark-mode-implementation 2023-01-02 00:49:03 -08: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 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
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 b8fcb4df8f Update all the task pages to fetch a new taks after submission 2022-12-31 18:24:50 +09:00
Desmond Grealy 6ff96fce4e ("text_reply_to_post" -> "text_reply_to_message") 2022-12-30 17:50:25 -08:00
Desmond Grealy 5243270212 Rename to in api endpoints in affected pages 2022-12-30 17:12:20 -08: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
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
AbdBarho c487e4dbac clean up path imports 2022-12-29 14:38:00 +01:00
jojopirker 29bd355529 Ran prettier and fixed permanent loadingScreen in assistant_reply 2022-12-29 08:01:19 +01:00
jojopirker d4887e0054 new LoadingScreen to replace old loading divs 2022-12-28 20:49:03 +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 0ac0ff9b59 Merge branch 'main' into 65-consistent-paths-plus-ui 2022-12-28 07:56:42 +09:00
AbdBarho 0987a64a85 Implement *_reply for the web
Also, start extracting shared components
2022-12-27 11:36:20 +01:00
Keith Stevens 530599d59f Setting a simpler task path structure, Adding some layout to the task types, and fixing a ui bug in the rating task 2022-12-27 11:04:17 +09:00