Commit Graph
421 Commits
Author SHA1 Message Date
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 c8cd869594 extract type 2023-02-01 14:34:47 +07:00
Keith StevensandGitHub 04e81edf5c Merge pull request #932 from notmd/911_sigin_captcha
911 signin captcha
2023-02-01 15:56:14 +09: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
notmd f1ab2086d6 Show at least the top 100 users on the leaderboards 2023-01-31 01:09:02 +07:00
AbdBarhoandGitHub f1eb670d38 Merge pull request #994 from LAION-AI/refactor
Consolidate API calls to TaskContext
2023-01-30 09:28:28 +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
AbdBarho 77cc96d401 TaskContext as subset of ApiHookState 2023-01-29 11:38:16 +01:00
Keith StevensandGitHub cc1a4bdcb4 Merge pull request #920 from LAION-AI/857-backend-token-decrypt
857 backend token decrypt
2023-01-29 19:31:16 +09:00
AbdBarhoandGitHub 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
Keith StevensandGitHub 7072ae2a8d Merge pull request #971 from othrayte/message-specific-labels
website: request message specific labels for on demand labelling
2023-01-29 15:16:23 +09:00
Adrian Cowan 8d45a989d6 website: request message specific labels for on demand labelling 2023-01-29 12:41:15 +11:00
Adrian Cowan 21c4a1263a website: Add head to task pages even if no task and improve var name 2023-01-29 12:09:58 +11:00
rjmacarthy 86911b4453 Fix locale issue on messages/id page
Pre-commit
2023-01-28 20:25:31 +00:00
Adrian Cowan e0e398fa8b website: Improve reliability of e2e tests 2023-01-29 03:17:44 +11:00
Keith Stevens 3197b6088b Using more pydantic features in the backend and fixing env issues on the website 2023-01-28 19:35:40 +09:00
Keith Stevens 3dc8ff6ddd Fixing a build error from merging 2023-01-28 19:22:24 +09:00
Keith Stevens c333ecd27a Merging from main 2023-01-28 18:05:56 +09:00
Keith Stevens 9541607473 Small change to simplify the demo call to the backend 2023-01-28 18:02:01 +09:00
Keith Stevens 75c4f90db3 Reverting some uneccesary changes 2023-01-28 17:58:52 +09:00
Keith StevensandGitHub c47b8f175d Merge pull request #959 from LAION-AI/oasst-header
Send `x-oasst-user` header to backend
2023-01-28 16:23:07 +09: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
AbdBarho 3c791efb79 Move api calls to oasst_api_client 2023-01-27 22:33:04 +01:00
AbdBarho 9429590a81 Move to factory 2023-01-27 22:33:04 +01:00
AbdBarho 59531c7d3d userless client 2023-01-27 22:33:04 +01:00
AbdBarho cdb9f2da4e Send x-oasst-user header 2023-01-27 22:33:04 +01: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
notmd 1af8079e17 remove debug code 2023-01-26 01:02:27 +07:00
notmd 3c9e5388ba add captcha to signin page 2023-01-26 01:00:31 +07:00
notmd 05f2e5c534 Merge branch 'main' into refactor_oasst_api_client 2023-01-25 16:36:32 +07:00
notmd 31630be319 fix test & build 2023-01-25 15:48:53 +07: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 957bd25793 fix wrong import 2023-01-23 19:30:22 +07:00
notmd 8bd9187a7a Merge branch 'main' into typesafe_i18n 2023-01-23 19:29:24 +07:00
Keith StevensandGitHub 7a279ad1c8 Merge pull request #890 from LAION-AI/lang
Send language when fetching available tasks
2023-01-23 08:31:26 +09:00
AbdBarho 51afea69ec Send language when fetching available tasks 2023-01-22 21:57:21 +01:00
notmd 80a7ad0154 typesafe i18n 2023-01-22 23:28:27 +07:00
notmd 204e11b400 migrate all icon to lucide 2023-01-22 21:02:52 +07:00