Commit Graph

49 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
AbdBarho 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 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
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
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ö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
Keith Stevens f8c9503ba6 merging with main 2023-01-29 15:18:49 +09:00
Keith Stevens 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
Adrian Cowan 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 Stevens 46d20aff40 Final manual change 2023-01-28 21:13:58 +09:00
Keith Stevens 656d44529b manually applying the lint fixes that get applied in GitHub actions 2023-01-28 20:53:02 +09:00
Keith Stevens 4709223e93 manually applying the lint fixes that get applied in GitHub actions 2023-01-28 20:47:45 +09:00
Keith Stevens 8a69f3541e test 2023-01-28 20:44:14 +09:00
Keith Stevens 2e1abd3f69 Copying from #769 to implement mock service worker 2023-01-28 20:09:04 +09:00
Keith Stevens 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
Adrian Cowan 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 Stevens 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
Yannic Kilcher 6452bb860d moved bot to discord-bot
added playbook to deploy dev machine

added playbook to deploy dev machine

added next.js font module, updated fonts, updated login page

replaced logos, changed logo on login and header

added 404 and email confirmation pages, changed discord and github buttons to show conditionally

also removed unused imports, fixed one spelling error, and minor styling changes

Quick format to the authenticated user page, updated header with user profile, styling updates

fixed html encoding

added checkout for release

re-vamped release config and ports
2022-12-25 11:35:54 +01:00
Lennon Puldagrealy f2be89fc73 Add Prettier configuration. Run Prettier 2022-12-18 11:30:23 -08:00
Lennon Puldagrealy 278189d015 remove older logo version 2022-12-18 10:44:35 -08:00
Lennon Puldagrealy a296f6ea99 Grading Page WIP & Homepage 2022-12-18 10:28:43 -08:00
Yannic Kilcher 13551ae3e4 renamed to open assistant 2022-12-17 23:56:05 +01:00
Keith Stevens 288d64d1e9 Running prettier on all next.js files 2022-12-13 21:37:52 +09:00
Keith Stevens c1f1408aac Merging with main 2022-12-13 21:16:18 +09:00
Yannic Kilcher d3d657e636 ran pre-commit and fixed issues 2022-12-13 12:38:59 +01:00
Birger Moell 159e9cfc13 Website update 2022-12-13 11:26:26 +01:00
Birger Moell 7395652257 Added website 2022-12-13 11:09:41 +01:00