Commit Graph
315 Commits
Author SHA1 Message Date
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
notmd 045b6df99b Merge remote-tracking branch 'origin/main' into react-hook-form 2023-01-16 13:05:01 +07:00
Keith Stevens 9dd753a076 ensure we include a timeframe when fetching leaderboard 2023-01-16 14:57:19 +09:00
notmd b90ac368f7 wip 2023-01-16 12:27:40 +07:00
notmd eec432758b remove text and fix lint 2023-01-16 11:55:21 +07:00
notmd 20752f3d2a remove data-cy 2023-01-16 11:53:07 +07:00
notmd 88fccf38b9 remove console.log 2023-01-16 11:50:54 +07:00
notmd 510c718f2b allow to select role when sigin in debug mode 2023-01-16 11:49:53 +07:00
notmd 8028693e3b use useSWR data instead calling setState 2023-01-16 10:09:54 +07:00
Keith StevensandGitHub 5e814eaa4c Merge pull request #732 from LAION-AI/673-admin-page-pagination
Supporting user pagination on the web admin view
2023-01-16 08:39:15 +09:00
AbdBarho ab63150004 Use new leaderboard api 2023-01-15 14:07:30 +01:00
Keith Stevens 8bf56b1494 Merge branch 'main' into 673-admin-page-pagination 2023-01-15 19:14:10 +09:00
Keith Stevens e5219bd5f7 Merge branch 'main' into 394-show-privacy-links 2023-01-15 19:06:57 +09:00
Keith StevensandGitHub ceefe4d568 Merge pull request #736 from LAION-AI/email
Use email input type for sign up form
2023-01-15 19:03:06 +09:00
AbdBarho 9e453902bd Use email input type for sign up form 2023-01-15 10:11:20 +01:00
AbdBarho 7fabe39174 Fix missing display_name for debug users 2023-01-15 10:07:02 +01:00
AbdBarhoandGitHub acc629e73c Merge pull request #706 from LAION-AI/670-store-isNew-in-webdb
Tag in the user table when they are new and include it in use session
2023-01-15 09:40:12 +01:00
Keith Stevens 35e92dbd15 Supporting user pagination on the web admin view 2023-01-15 15:26:12 +09:00
Keith Stevens d3eca126fd Ensuring the user can find the privacy and terms of service links when logged in 2023-01-15 14:01:33 +09:00
Keith StevensandGitHub 69be679fe1 Merge pull request #701 from LAION-AI/673-enhanced-admin-routing
673 enhanced admin management
2023-01-15 08:34:09 +09:00
Keith Stevens b02429c1f7 Tag in the user table when they are new and include it in the user session 2023-01-14 18:55:28 +09:00
Keith Stevens 5282c11827 Adding an explicit type 2023-01-14 18:14:29 +09:00
AbdBarho 335218ba22 Fix full labeling task display 2023-01-14 09:51:12 +01:00
Keith Stevens 7de25f299c fixing a type error 2023-01-14 17:07:37 +09:00
Keith Stevens 8203406fa1 Merging with main changes 2023-01-14 17:03:18 +09:00
Keith StevensandGitHub 206ef80426 Merge pull request #695 from rsandb/Style-Empty-State-and-404
Style Empty State and 404
2023-01-14 17:01:27 +09:00
Keith Stevens ddfb497764 Fixing some lint errors and adding a TODO 2023-01-14 16:57:06 +09:00
Keith Stevens f9c8d1dd81 Combining the admin API routes with the backends user routes 2023-01-14 16:55:14 +09:00
Keith StevensandGitHub 713d38e601 Merge pull request #577 from LAION-AI/messages
Simplify messages page
2023-01-14 16:23:29 +09:00