Commit Graph

452 Commits

Author SHA1 Message Date
Keith Stevens 6dee5b132f Deleting a small set of components that aren't used within the project anymore 2023-01-13 10:26:57 +09:00
Keith Stevens 2ba9340448 Merge pull request #656 from Klotske/message-id-fix
#614 - Consistent message ID & FlaggableElement fix
2023-01-13 09:14:27 +09:00
AbdBarho 30242a2f32 Merge pull request #649 from LAION-AI/623-fix-e2e-tests
Semi-comprehensive fix to the web end to end tests
2023-01-12 17:57:55 +01:00
klotske 4ac159ec7e Update CreateTask UI 2023-01-12 16:35:44 +03:00
klotske 82b2693ed6 Remove unused import 2023-01-12 16:17:08 +03:00
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +03:00
klotske d8328807f4 Remove redundant LinkOverlay 2023-01-12 12:51:37 +03:00
klotske 12688d951b Add NextJS's NextLink & add as prop 2023-01-12 12:20:36 +03:00
AbdBarho bac70ce241 Merge pull request #628 from Klotske/add-admin-link
Added admin dashboard link to UserMenu
2023-01-12 09:13:56 +01:00
Keith Stevens e474fd51f5 Merging with main 2023-01-12 14:41:13 +09:00
rsandb fefd3614b0 Remove TOS & Privacy Policy changes 2023-01-11 23:03:47 -06:00
rsandb 0f9867c542 added data-cy divs to Task components 2023-01-11 22:28:20 -06:00
rsandb 938beb4a74 Delete score-leaderboard.tsx 2023-01-11 22:15:19 -06:00
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06:00
Keith Stevens 5cc9a1e1d1 Adding the random end2end test file 2023-01-12 12:42:04 +09:00
Keith Stevens 7b6ffdb9bb Semi-comprehensive fix to the web end to end tests 2023-01-12 12:40:08 +09:00
Keith Stevens be7f933033 Merge pull request #609 from ericv105/main
85: Unit-testing nextjs & react code
2023-01-12 11:46:18 +09:00
Keith Stevens cacfd02c51 Merge pull request #635 from Klotske/add-empty-state
Add empty state & tweak loading screen
2023-01-12 11:24:27 +09:00
ericv105 995c75de99 updated cypress tsconfig to avoid relative imports 2023-01-11 20:36:41 -05:00
klotske 802701d776 Color-mode specific styling for LoadingScreen 2023-01-11 23:42:19 +03:00
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +03:00
klotske 9a00e938bd Add empty state component 2023-01-11 23:35:28 +03:00
klotske 606e07c6a1 Fix link behaviour 2023-01-11 20:59:46 +03:00
klotske cc08a5573b Wrapped message in nextjs link 2023-01-11 19:00:14 +03:00
klotske b568f12727 Moved check out of the array 2023-01-11 18:43:28 +03:00
klotske 82bba57353 Added admin dashboard link to UserMenu 2023-01-11 16:09:08 +03:00
Adrian Cowan 099b7c0b66 website: Remove summarization pages
These pages are now out of sync with the rest of the development and are become hard to maintain without an API to work against. They should be easy to reimplement using the new Components once we have actual summarization tasks.
2023-01-11 22:54:41 +11:00
Keith Stevens 14f6459424 Deleted unused useEffect 2023-01-11 19:54:55 +09:00
Keith Stevens 268cd7d7b5 Forwarding the real task id in backend interactions and ensure the labeling task works 2023-01-11 19:32:52 +09:00
kostiak e2844e4d86 Added random task and moved other tasks to /tasks/all 2023-01-11 09:30:58 +00:00
Keith Stevens 9f1064d656 Complete the handler todo and use withoutRole 2023-01-11 16:54:39 +09:00
Keith Stevens aba5b43a37 Minimal fixing for the Message type in one context 2023-01-11 16:40:28 +09:00
Keith Stevens 454f332823 Ensuring the flagging post has a message or post id 2023-01-11 16:36:40 +09:00
Keith Stevens f4d0ad1cc8 Removing an unused property 2023-01-11 15:05:30 +09:00
Keith Stevens 17bcc53fb7 Merging with main again 2023-01-11 15:02:29 +09:00
Keith Stevens 5109f14e4c Fixing the answer submission problem after unifying code 2023-01-11 14:58:10 +09:00
Riley Sandborg f542821b3a Merge branch 'LAION-AI:main' into main 2023-01-10 18:49:00 -06:00
rsandb f61f582a9b Integrate Dashboard with Messages/Styling Changes 2023-01-10 18:48:14 -06:00
ericv105 66e55b4c65 apply precommit and add relative path contract test 2023-01-10 19:23:03 -05:00
ericv105 d11d81891c Merge branch 'unit-testing-jest-rtl' 2023-01-10 19:14:40 -05:00
ericv105 13883b9ed1 apply pre-commit 2023-01-10 19:07:45 -05:00
Keith Stevens e1dd677677 Merging with main 2023-01-11 08:47:16 +09:00
Keith Stevens c794c2d83a Merge pull request #598 from othrayte/unified-task-controls
website: Unify task controls
2023-01-11 08:35:35 +09:00
ericv105 742ce64706 updated website/README.md 2023-01-10 14:01:36 -05:00
ericv105 3673a5bbb0 readme for unit testing with Jest + RTL 2023-01-10 13:39:21 -05:00
AbdBarho 8ce84ecef8 Merge pull request #590 from LAION-AI/589-reject-banned-users
Ensure all the API routes reject banned users
2023-01-10 18:40:28 +01:00
Adrian Cowan 805bc33ba4 website: Unify task controls
Also happens to fix some issues with the no-changes are-you-sure dialog only appearing once and other form values not being reset correctly.
2023-01-11 02:59:10 +11:00
Keith Stevens 747c3501d1 Adding a new web api path that returns valid labels and then fetching from that within FlaggableElement. This allows FlaggableElement to fetch all its own data and remove the need to pipe labels through a series of components 2023-01-10 20:57:42 +09:00
Adrian Cowan 15e1203be9 website: Refactor remaining task pages to use Task.tsx 2023-01-10 21:44:22 +11:00
Keith Stevens d94cb4b2d6 Ensure all the API routes reject banned users 2023-01-10 19:16:13 +09:00