Commit Graph

516 Commits

Author SHA1 Message Date
swaptr 45637dfd51 remove theme button from sidebar (#1181)
* remove theme button from sidebar

Now that the theme switch button is moved to navbar, we can remove this button.

* fix responsiveness
2023-02-05 19:57:35 +01:00
Theodor Peifer 14b41b4a2d Putting a button for toggling the light/dark color mode right into the navigation bar (#1122)
* added button for toggling color mode in nav bar

* removed border from color-theme toggle button

* removed padding around sun icon and made header title slighty responsive

* lower gap between navigation buttons for mobile
2023-02-05 15:34:47 +01:00
AbdBarho e6fe477308 Show ToS on all pages (#1111)
Closes #1047
2023-02-05 19:58:20 +09:00
AbdBarho 692d178a24 Fix localization in for labelling (#1132) 2023-02-05 15:16:12 +09:00
Korbinian Pöppel 7fac0d70c8 Live language feedback (#1071)
* Add live language detection using 'lande' in TrackedTextarea.

* Remove 'Disable Language Detection'.

* Re-run linter.
2023-02-05 15:10:53 +09:00
Richard Macarthy 3b61a26c9c Add halt tree, and copy message id features (#1088) 2023-02-05 15:09:39 +09:00
Anthony Chiu 2de9bccfba Add modal padding bottom and tooltip (#1116) 2023-02-04 21:53:02 +01:00
AbdBarho 86eac87c19 Add ToS/License Agreement to Website (#1080)
* add new apis to oasst client

* add tos handler

* Add ToS to Dashboard

* use Provider for ToS

* simplify provider

* fix error

* Inject into JWT

* primitive error handling

* update comment

* address review
2023-02-03 20:53:20 +01:00
Richard Macarthy d17c87155d Fix ssr locale issue with side menu (#1086)
Remove unused key Success
2023-02-03 17:13:18 +01:00
Adrian Cowan 0a9f0aea92 website: Fix bug introduced into optimised build in recent emoji cleanup (#1085)
The issue was the omtimised build was optimising the "+1" object key name to just "1" causing the context menu to try to shown an undefined emoji icon.
2023-02-03 14:21:13 +01:00
Adrian Cowan 8cd5107601 website: cleanup emoji handling, hide all unknown emojis (#1082) 2023-02-03 21:05:41 +09:00
Keith Stevens 9b611c9f71 Merge pull request #1079 from GuilleHoardings/es-translation-web
Translate strings that were not using i18n yet
2023-02-03 18:07:16 +09:00
Keith Stevens 880a1433d9 Merge pull request #1041 from rjmacarthy/feature/delete-message-ui
website: Add delete message feature for admins
2023-02-03 17:34:02 +09:00
Keith Stevens 98924d0b45 Merge pull request #1078 from LAION-AI/hook-types
Add TaskReply types for task hooks
2023-02-03 17:33:24 +09:00
AbdBarho ae829d0e3d update tasks to use types 2023-02-03 08:30:01 +01:00
AbdBarho 95d143ce4d Merge pull request #1072 from notmd/1068_admin_system_config
System config parameter view
2023-02-03 08:08:03 +01:00
Guillermo Hoardings 602799881a Translate strings that were not using i18n yet
Only English and Spanish translations have been included.
2023-02-03 01:53:04 +01:00
rjmacarthy e9add425e6 Add delete message feature
Remove deleted property from Message

Add dedicated route for delete_message

Pre-commit

Revert change to promp_repository fetch_message

Remove blank line
2023-02-02 13:33:22 +00:00
notmd 28ee771a97 System config parameter view 2023-02-02 20:23:00 +07:00
Keith Stevens fa53505369 Merge pull request #1069 from LAION-AI/flag-label-desciptions
website: show descriptions for label flags
2023-02-02 21:09:53 +09:00
Keith Stevens 242a1e6f3d Merge pull request #1066 from LAION-AI/hide_system_emojis
hide system emojis starting with '_'
2023-02-02 21:06:27 +09:00
AbdBarho 2d10c9f72b Merge pull request #1067 from notmd/side_menu_regression
fix side menu regression
2023-02-02 11:36:10 +01:00
Adrian Cowan b1d86ebc65 website: show descriptions for label flags
Desciptions are shown both via tooltips, which are easier to read on desktop browsers, and via an explain (i) button so that mobile users can get the description (though in one larger list).
2023-02-02 21:34:35 +11:00
Andreas Köpf c84453900f simplify destructuring
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-02-02 10:23:06 +01:00
notmd 9fa22be66e fix side menu regression 2023-02-02 16:07:45 +07:00
Andreas Köpf aa39019e1c hide system emojis starting with '_' 2023-02-02 00:23:33 +00:00
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 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
rjmacarthy 54849d30fa Update user icon in messages dropdown 2023-01-31 08:21:40 +00: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 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