Commit Graph
343 Commits
Author SHA1 Message Date
ml729 19652d5cec remove unnecessary imports 2023-01-21 20:42:34 -05:00
ml729 323f5a19a2 use Promise.allSettled for admin status 2023-01-21 14:01:58 -05:00
ml729 a75c13ef42 use getBackendUserCore for taskAvailability 2023-01-21 13:13:15 -05:00
ml729 4dd809585e handle error/loading case correctly in status page 2023-01-21 12:55:31 -05:00
ml729 fbc2ba468b removed unnecessary element id 2023-01-21 12:55:31 -05:00
ml729andnotmd 72d61cc44c use Promise.all website/src/pages/api/admin/status.ts
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-21 12:55:31 -05:00
ml729andnotmd 05dce5b4a9 Use CardBody website/src/pages/admin/status/index.tsx
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-21 12:55:31 -05:00
ml729andnotmd 56fb28f953 use CardBody in website/src/pages/admin/status/index.tsx
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-21 12:55:31 -05:00
ml729andnotmd 2d7d14b4c9 Update website/src/pages/admin/status/index.tsx
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-21 12:55:31 -05:00
ml729 93969bd49d status use current admin user 2023-01-21 12:55:31 -05:00
ml729 a2932d1613 unify 3 status endpoints and move status fetches to oasst_api_client 2023-01-21 12:55:31 -05:00
ml729 b8ef87fb54 use Card component for status page 2023-01-21 12:55:31 -05:00
ml729 4ccc88e0bb fix admin status api handler comments 2023-01-21 12:55:31 -05:00
ml729 0f2a65ea3c remove unnecessary imports 2023-01-21 12:55:30 -05:00
ml729 91bb560383 clean up status page code 2023-01-21 12:55:30 -05:00
ml729 812c8cb209 create status page 2023-01-21 12:55:30 -05:00
Keith Stevens e756e5d992 Fixing another page with locale data 2023-01-21 19:03:12 +09:00
Keith Stevens b9ce2fb140 Ensuring localization works across all pages and fix user data fetching in admin view 2023-01-21 17:56:29 +09: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
Keith StevensandGitHub 7488f175f2 Merge pull request #859 from LAION-AI/fetch-available-tasks
Fetch available tasks
2023-01-20 21:03:45 +09:00
AbdBarho 0c5e2fc45d Show last updated on leaderboard 2023-01-20 13:00:59 +01:00
AbdBarho e80a69dd8a Fetch available tasks 2023-01-20 12:16:17 +01:00
AbdBarho 1fe24db8ae Restyle account page 2023-01-20 11:05:56 +01:00
Keith StevensandGitHub c81967fca9 Merge pull request #852 from rjmacarthy/chore/apply-i18n-pages
website: Add localization to pages, header and footer
2023-01-20 18:59:27 +09:00
rjmacarthy 9b659191ca Extract common getStaticProps to single file 2023-01-20 09:37:02 +00: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
Keith Stevens ae6600afa2 Removing an unused import 2023-01-19 17:23:53 +09:00
Keith Stevens df1eca4eaf Ensuring the website uses the most specific auth type with the backend when fetching and interacting with tasks 2023-01-19 17:21:41 +09:00
Keith Stevens a5d59339f9 Deleting some function arguments used for debugging 2023-01-18 15:33:27 +09:00
Keith Stevens 173af6847e Moving the username handler to a ts file 2023-01-18 15:23:24 +09:00
Keith Stevens a15481b03d Cleaning up the username api route and ensuring the users name is fresh 2023-01-18 14:41:29 +09:00
Keith StevensandGitHub 527e1513b1 Merge pull request #779 from rjmacarthy/internal/internationalization
website: Enable i18n internationalization and refactor index page
2023-01-18 14:28:12 +09:00
Keith StevensandGitHub 940cf2617a Merge pull request #789 from rsandb/Style-500-Page
style 500 page
2023-01-18 14:26:24 +09:00
rsandb bc1fdbe89f add task empty state back as it's being used by multiple pages 2023-01-17 21:18:46 -06:00
rsandb 0c1bb8df05 update emptystate to be used in specific pages 2023-01-17 21:14:10 -06:00
Keith StevensandGitHub 0a36e459d7 Guarantee all users get a name (#800)
* Guarantee all users get a name and it is used when talking to the backend

* Small code cleanup
2023-01-17 21:12:48 +01: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
Keith StevensandGitHub b8f5eacc13 Merge pull request #790 from notmd/react-hook-form-next
use `react-hook-form` everywhere
2023-01-17 13:23:27 +09:00
notmd 54b5a4b0a3 use react-hook-form everywhere 2023-01-17 10:13:53 +07:00
rsandb 1f47970558 style 500 page 2023-01-16 20:22:04 -06:00
Keith StevensandGitHub 43547ff11a Merge pull request #749 from rsandb/Welcome-Modal
Basic Welcome Modal
2023-01-17 09:34:58 +09:00
rsandb 5d3cd5a4e7 convert modal into widget
copy still needs tweaking
2023-01-16 18:24:53 -06:00
rsandb ce9b665b4d Welcome Modal 2023-01-16 18:24:32 -06:00
Keith Stevens cf29f544eb Merge branch 'main' into 763-make-labels-required 2023-01-17 08:58:29 +09:00
Keith StevensandGitHub 76ffb2a67a Merge pull request #748 from rsandb/Footer-Styling
Footer styling
2023-01-17 07:48:06 +09:00
rsandb 1457d81e6b added SlimFooter component for dashboard, made original footer mobile-friendly 2023-01-16 16:34:11 -06:00
AbdBarho 6c01205b52 Small website fixes 2023-01-16 19:22:04 +01:00
Keith StevensandGitHub 922b422d82 Merge pull request #771 from notmd/react-hook-form
migrate `formik` to `react-hook-form`
2023-01-16 21:21:12 +09:00
notmd e464fcbbb2 migrate formik to react-hook-form 2023-01-16 17:54:21 +07:00
Keith Stevens a2f68c7259 Require labels to be set on labeling task and setting up basic storybook stories for tasks 2023-01-16 18:51:01 +09:00