Commit Graph

822 Commits

Author SHA1 Message Date
Alan Jean 91d3045595 fix(website): fix display of task instruction
Fixes the misuse of the i18n lib which caused the task instruction not
to appear above the response text-area when an 'instruction' translation
key exists for the current task.

Fixes #1058
2023-02-01 23:00:00 +04:00
notmd 79a39771aa remove root styles folder 2023-02-01 17:55:29 +07:00
notmd c6bf5bc907 Merge branch 'main' into cleanup 2023-02-01 17:31:03 +07:00
notmd 1e2948743d wip 2023-02-01 17:22:44 +07:00
AbdBarho 2d97ffa371 Merge pull request #1048 from LAION-AI/missing-message-functions-initial-label-task
website: Add missing message features in label initial prompt
2023-02-01 10:00:24 +01:00
AbdBarho 849996c22d Merge pull request #1040 from notmd/995_available_task
Display number of available tasks
2023-02-01 09:44:43 +01:00
Adrian Cowan 530d3e1d1d website: Add missing message features in label initial prompt
Now the backend passes a single message conversation for the label initial prompt task,
this allows us to just show the conversation the same way we do for the other labelling tasks.

The MessageView component was now no longer used and all messages shown are using MessageTableEntry.
2023-02-01 19:36:52 +11:00
notmd 36e55c9bf4 extract to theme 2023-02-01 14:53:28 +07:00
notmd c8cd869594 extract type 2023-02-01 14:34:47 +07:00
Keith Stevens 04e81edf5c Merge pull request #932 from notmd/911_sigin_captcha
911 signin captcha
2023-02-01 15:56:14 +09:00
chs20 25ca82f7e5 Fix #1034 - display newlines in full text modal during ranking 2023-01-31 22:27:14 +01:00
notmd f569c6d12b Display number of available tasks 2023-01-31 22:00:14 +07:00
notmd 4d2baf09a7 fix typo 2023-01-31 20:13:52 +07:00
Keith Stevens 355d621488 Merge pull request #1033 from paulovn/fix/website-fail-label
website: changed the UI label for failed answer to avoid implicit negative
2023-01-31 22:06:11 +09:00
notmd 158cb02025 try disable captcha 2023-01-31 19:53:37 +07:00
Keith Stevens c262255986 Merge pull request #1021 from rjmacarthy/feature/admin-user-link
website: Add link to user admin page in messages dropdown for admin users
2023-01-31 21:03:01 +09:00
rjmacarthy d5e94b5a5e Fix Messages stories wrap with SessionProvider 2023-01-31 10:04:13 +00:00
Paulo Villegas 9aca76daa7 changed the UI label for failed answer to avoid implicit negative 2023-01-31 09:28:29 +01:00
rjmacarthy 54849d30fa Update user icon in messages dropdown 2023-01-31 08:21:40 +00:00
Keith Stevens 3e53caea92 Merge pull request #1020 from notmd/vietnamese
Support vietnamese
2023-01-31 16:44:45 +09:00
Keith Stevens 9b4f53c8e1 Merge pull request #1019 from notmd/998_increase_leaderboard_limit
Show top 100 users on the leaderboards
2023-01-31 16:44:02 +09:00
rjmacarthy eeab643dc3 Add link to user admin page in messages dropdown for admin users
Fix potential undefined data user

revert type change next-auth
2023-01-30 19:54:03 +00:00
AbdBarho b8a62e5f4f Merge pull request #1017 from iurimatias/bug/fix_storybook
storybook: Fix broken storybook page for Task Component
2023-01-30 20:47:07 +01:00
notmd a479a248ef support vietnamese 2023-01-31 01:24:44 +07:00
notmd f1ab2086d6 Show at least the top 100 users on the leaderboards 2023-01-31 01:09:02 +07:00
AbdBarho 5426fe7ee0 Merge pull request #1011 from LAION-AI/983-fix-locale-on-url-change
Update the locale cookie when a user sets the url manually
2023-01-30 18:41:54 +01:00
AbdBarho 1881790edc Merge pull request #1012 from othrayte/double-label-bug
website: Fix crash on reopen labelling after submitting
2023-01-30 17:47:34 +01:00
Iuri Matias 3dc1b187da storybook: Fix broken storybook page for Task Component
storybook: Fix broken storybook page for Task Component

fix linting
2023-01-30 10:48:54 -05:00
Adrian Cowan 6b7cb74e5d website: Fix regression that broke the ability to review unchanged rankings.
This was caused by the init effect in Task.tsx running _after_ the task submits it's default reply validity as part of it's init effect. Clearly we need to refactor the way Task.tsx works.
2023-01-30 23:45:58 +11:00
Adrian Cowan 8e29831528 website: Fix crash on reopen labelling after submitting 2023-01-30 23:04:19 +11:00
Keith Stevens 7a56b152a2 Update the locale cookie when a user sets the url manually 2023-01-30 20:30:01 +09:00
AbdBarho f1eb670d38 Merge pull request #994 from LAION-AI/refactor
Consolidate API calls to TaskContext
2023-01-30 09:28:28 +01:00
Andreas Köpf cef20beee6 'Language Mismatch' -> 'Wrong Language' 2023-01-30 00:28:38 +01:00
Andreas Köpf e59a4393dc Add website translation to German (#1002)
* add German translation

* add missing translations

* improve index teaser line

* add label for lang_mismatch for en & de

* use term 'Prompt' in German too

* improve German translation
2023-01-29 23:45:29 +01:00
Guillermo Hoardings 65969f172e Add two files that were missing in the Spanish translation 2023-01-29 20:44:53 +01:00
Guillermo Hoardings 5b0a00d68d Add website translations to Spanish 2023-01-29 20:26:54 +01:00
notmd f825ae54fb try to fix test 2023-01-30 02:15:34 +07:00
notmd c05c0d88a1 remove debug code 2023-01-30 02:00:45 +07:00
notmd 0ab2fd5c5c try fix test 2023-01-30 01:00:12 +07:00
notmd e3f496df81 try to fix test 2023-01-29 23:44:30 +07:00
notmd 599d70962e Merge branch 'main' into 911_sigin_captcha 2023-01-29 23:34:04 +07:00
notmd fb26a52c2c allow to enable/disable email signin captcha via env variable 2023-01-29 23:28:26 +07:00
notmd fce158b8d3 disable sigin button until captcha success 2023-01-29 23:18:08 +07:00
notmd f75d02c33a use signIn callback instead middleware 2023-01-29 22:59:45 +07:00
notmd a7ff5e5f21 add comment 2023-01-29 20:42:23 +07:00
AbdBarho 77cc96d401 TaskContext as subset of ApiHookState 2023-01-29 11:38:16 +01:00
Keith Stevens cc1a4bdcb4 Merge pull request #920 from LAION-AI/857-backend-token-decrypt
857 backend token decrypt
2023-01-29 19:31:16 +09:00
AbdBarho d7f2a6d0d9 Consolidate API calls to TaskContext 2023-01-29 11:03:07 +01:00
Adrian Cowan 8b152fad1d website: Simplify isLoading handling 2023-01-29 20:48:30 +11:00
AbdBarho aaefac97a8 Merge pull request #970 from othrayte/improve-e2e-test-reliability
website: Improve reliability of e2e tests
2023-01-29 09:18:35 +01:00