Commit Graph
33 Commits
Author SHA1 Message Date
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
AbdBarhoandGitHub 849996c22d Merge pull request #1040 from notmd/995_available_task
Display number of available tasks
2023-02-01 09:44:43 +01:00
notmd f569c6d12b Display number of available tasks 2023-01-31 22:00:14 +07:00
Keith StevensandGitHub 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
Keith StevensandGitHub 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
Paulo Villegas 9aca76daa7 changed the UI label for failed answer to avoid implicit negative 2023-01-31 09:28:29 +01: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
notmd a479a248ef support vietnamese 2023-01-31 01:24:44 +07:00
Andreas Köpf cef20beee6 'Language Mismatch' -> 'Wrong Language' 2023-01-30 00:28:38 +01:00
Andreas KöpfandGitHub 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
Keith StevensandGitHub 608bc0506a Merge pull request #986 from occupytheweb/981_fix_typos_in_labelling_task
Fix two typos in the labelling translation file
2023-01-29 15:15:07 +09:00
Alan Jean bcecf257c7 Fix two typos in the labelling translation file
Fixes #981
2023-01-29 05:30:00 +04:00
Alan Jean ccf96fd843 Refactor tasks translation file to have one placeholder per task-type
Fixes #979
2023-01-29 05:30:00 +04:00
rjmacarthy 86911b4453 Fix locale issue on messages/id page
Pre-commit
2023-01-28 20:25:31 +00:00
ab4dce3f60 website: Support new widget types for labelling (#966)
* website: Support new widget types for labelling

Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.

Also cleaned up the Task component to fix some rerender issues.

* website: Fix some UI text, adjust yes/no button alignment

* website: Remove left over console.log

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>

---------

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-28 17:07:43 +01:00
Keith StevensandGitHub b3f28d2bf3 Merge pull request #940 from rjmacarthy/refactor/tasks-page
website: Refactor task page routes and repetition
2023-01-28 16:07:42 +09:00
356fd775e9 Add emoji reactions and reporting for messages (website) (#952)
* website: Move labelling to message ... menu and add reporting and emoji reactions

We can add more emoji easily in future, we just need to pick ones that we have consistent icons for.

Also added "open in new tab" option so that messages can be navigated to from tasks on mobile.

* website: Make new label and report strings translatable.

* website: Move report api call to oasst client

* small fixes

* pre-commit

---------

Co-authored-by: AbdBarho <ka70911@gmail.com>
2023-01-27 20:52:40 +01:00
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 c14bcd7c14 Fix dashboard translation keys 2023-01-24 19:20:59 +00:00
rjmacarthy 54cc7827b6 Add localisation to tasks and dashboard
Fix i18n merge issues

Add blank line dashboard.json

Remove console.log

Alphabeticalise

Pre-commit

Fix i18n key warnings add util function

Fix Task.storties.tsx

Revert pass duplicate prop
2023-01-24 10:41:12 +00:00
notmd b7056eccd1 Show more stats in leaderboard table 2023-01-24 02:04:00 +07:00
notmd 7f993b670c Merge branch 'main' into leaderboard_enhancement 2023-01-23 21:14:29 +07:00
notmd 037ec3c96e wip 2023-01-23 21:10:56 +07:00
notmd 80a7ad0154 typesafe i18n 2023-01-22 23:28:27 +07:00
rjmacarthy edeae8cc84 Fix locale leaderboard after rebase 2023-01-21 20:33:27 +00:00
rjmacarthy 81a392232e Add locale to leaderboard and organize locale json 2023-01-21 20:26:40 +00:00
Keith StevensandGitHub b05df5b095 Merge pull request #861 from LAION-AI/last-updated
Show last updated on leaderboard
2023-01-21 10:34:23 +09:00
AbdBarho 0c5e2fc45d Show last updated on leaderboard 2023-01-20 13:00:59 +01:00
AbdBarho 1fe24db8ae Restyle account page 2023-01-20 11:05:56 +01: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
rjmacarthy d10f691eeb Implemented i18n for internationalization and refactor index for localization support
lint

Fix Hero as tag types

Fix build warning regarding i18n

Update package.json and package-lock.json

Revert package-lock.json

Add package-lock, fix build

Pre-commit

Fix default export in favour of named export

Refactor cta buttons to use react-icons

Remove unused props from CircleBackground
2023-01-17 08:01:37 +00:00