Commit Graph

370 Commits

Author SHA1 Message Date
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
AbdBarho e3387b43b8 Merge pull request #793 from LAION-AI/773-links-to-docs-everywhere
Adding links to external documentation for tasks and in footers
2023-01-17 07:25:01 +01:00
Keith Stevens ac5a0e8157 Adding links to external documentation for tasks and in footers 2023-01-17 15:11:33 +09:00
AbdBarho e49654dfb7 Scroll to top on submit 2023-01-17 07:05:46 +01:00
Keith Stevens c912caaf76 Merge pull request #788 from rsandb/Convert-Header-to-Chakra-Components
convert header to chakra components
2023-01-17 11:36:34 +09:00
rsandb 57878bc123 Update UserMenu.tsx 2023-01-16 20:31:23 -06:00
rsandb 9986e6f4d8 removed unused components
i guess prettier decided to stop working
2023-01-16 20:29:36 -06:00
rsandb 964dc1f2c4 remove divider 2023-01-16 20:24:09 -06:00
rsandb 5f134d44a5 Update Header.tsx 2023-01-16 20:23:43 -06:00
rsandb ed4d1f2551 Update Header.tsx 2023-01-16 20:23:21 -06:00
rsandb 11a8f47f41 convert header to chakra components
also added z-index changes
2023-01-16 20:15:41 -06:00
rsandb 03defa2bec dashboard shadow fix
There was a problem where the shadow of components would get cut off by the container on large screens
2023-01-16 19:45:43 -06:00
Keith Stevens 43547ff11a Merge pull request #749 from rsandb/Welcome-Modal
Basic Welcome Modal
2023-01-17 09:34:58 +09:00
rsandb 87572ad589 removed button as modal will disappear when user is no longer new 2023-01-16 18:24:53 -06:00
rsandb 5d3cd5a4e7 convert modal into widget
copy still needs tweaking
2023-01-16 18:24:53 -06:00
rsandb 97a87f8c23 add isNew function 2023-01-16 18:24:32 -06:00
rsandb 2e0f6115c2 styling changes
working on new content to put in. Thinking it'll be a menu where the new user will setup their username if they sign up with email and some other tutorial steps
2023-01-16 18:24:32 -06:00
rsandb 92a707bdc1 uses localStorage 2023-01-16 18:24:32 -06:00
rsandb a57ab054f0 uses localStorage to show modal 2023-01-16 18:24:32 -06:00
rsandb dbaa3eecf8 add fallback name 2023-01-16 18:24:32 -06:00
rsandb f70ab2314b copy edit 2023-01-16 18:24:32 -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 Stevens 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
Adrian Cowan 17f860b9d6 website: Improve 'spam?' question 2023-01-16 22:27:32 +11:00
Keith Stevens 7e1b57a93e Fixing the build 2023-01-16 18:58:44 +09:00
Keith Stevens 68f22d0fa9 Adding new index and story files 2023-01-16 18:53:11 +09: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
AbdBarho 35887decfb Merge pull request #759 from LAION-AI/754-leaderboard-on-dashboard
ensure we include a timeframe when fetching leaderboard
2023-01-16 09:11:02 +01:00
Keith Stevens 8586eff596 Using the proper type 2023-01-16 16:13:56 +09:00
Keith Stevens 2d8778c299 Updating LeaderboardTable to use LeaderboardGridCell 2023-01-16 16:03:34 +09:00
Keith Stevens 43a5b19715 Merge pull request #760 from LAION-AI/AbdBarho-patch-1
Fix rank in leaderboard
2023-01-16 15:50:41 +09:00
AbdBarho b6c585bdd4 Merge pull request #758 from LAION-AI/753-label-all-messages
Switch back to useEffect in FlaggableElement
2023-01-16 07:50:22 +01:00
AbdBarho 425b698d62 Remove +1 2023-01-16 07:35:40 +01:00
AbdBarho 8accd0dfbe Fix rank displaying 2023-01-16 07:34:17 +01:00
Keith Stevens c4af8bba1e Switch back to useEffect in FlaggableElement to ensure valid labels are present 2023-01-16 14:44:38 +09:00
notmd f181094fbf move to RoleSelect file 2023-01-16 12:31:05 +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 Stevens 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
rsandb 4217681784 add vertical padding 2023-01-15 16:20:33 -06:00
rsandb ecab225c03 footer styling 2023-01-15 16:16:37 -06:00
AbdBarho ab63150004 Use new leaderboard api 2023-01-15 14:07:30 +01:00
Keith Stevens c36d5ed423 Array bounds checking 2023-01-15 20:43:31 +09:00
notmd 042c151e77 hide user score for now 2023-01-15 17:35:30 +07:00
notmd 8731ded1e0 Merge remote-tracking branch 'origin/main' into user_menu_fix 2023-01-15 17:34:14 +07:00
notmd c01a4fa345 use NextLink for UserMenu option and cleanup 2023-01-15 17:23:46 +07:00
Keith Stevens 8bf56b1494 Merge branch 'main' into 673-admin-page-pagination 2023-01-15 19:14:10 +09:00