Commit Graph
288 Commits
Author SHA1 Message Date
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
rsandb d052d676cc add report button 2023-01-14 01:19:09 -06:00
rsandb a4522b97af Style Empty State and 404 2023-01-14 01:17:17 -06:00
AbdBarhoandGitHub 3b4955ff1c Merge pull request #692 from LAION-AI/672-live-leaderboards
Udpating the leaderboard components to use real data
2023-01-14 08:11:43 +01:00
AbdBarho 1c34f8201c Simplify messages page 2023-01-14 08:10:41 +01:00
AbdBarhoandGitHub cc1078616f Merge pull request #693 from rsandb/Messages-Styling-For-Mobile
Message Styling For Mobile
2023-01-14 08:07:48 +01:00
rsandb eb0988bee9 Message Styling For Mobile
Decreased padding for mobile and changed some styling to give better contrast
2023-01-13 19:57:46 -06:00
Keith Stevens 5732952b3e Udpating the leaderboard components to use real data 2023-01-14 10:27:38 +09:00
Keith Stevens 9d3e5cc6cb Updating the 404 and 500 pages to provide a link to github issues 2023-01-14 08:49:59 +09:00
rjmacarthy 2a8d38f058 Refactor fetch and post to use axios
Fix set_label id missing in payload use frontend_message_id

pre-commit

Refactor api fetcher/poster to axios create

lint

Remove string literal for path

Revert oasst_api_client.ts

Fix warning httpStatusCode OasstError optional parameter

Refactor remove api base url for local api

Lint add blank line
2023-01-13 17:05:10 +00:00
klotske b2fbc5d2ad Add enabled & linkEnabled props to messages 2023-01-13 13:10:06 +03:00
AbdBarhoandGitHub 5d1b03b02d Merge pull request #652 from LAION-AI/238-admin-view-user-messages
Displaying a different user's messages in the admin view
2023-01-13 07:11:04 +01:00
rsandb 7bb5768dc0 updated paths and names 2023-01-12 20:34:59 -06:00
rsandb e6d8ee7d3e separate cards, section data to page 2023-01-12 20:34:59 -06:00
rsandb 18279b95cf Style Provacy Policy & TOS 2023-01-12 20:34:59 -06:00
klotske 82a60ef904 Change typings & refactor FlaggableElement 2023-01-12 16:10:05 +03:00
Keith Stevens 0386a8aded Fixing some build and lint errors 2023-01-12 15:05:31 +09:00
Keith Stevens 55635f1a27 Displaying a different user's messages in the admin view 2023-01-12 14:38:31 +09:00
rsandb fefd3614b0 Remove TOS & Privacy Policy changes 2023-01-11 23:03:47 -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
klotske 0eed9b5126 Implement new TaskEmptyState component 2023-01-11 23:39:55 +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 454f332823 Ensuring the flagging post has a message or post id 2023-01-11 16:36:40 +09:00