Commit Graph
33 Commits
Author SHA1 Message Date
notmd 8028693e3b use useSWR data instead calling setState 2023-01-16 10:09:54 +07:00
AbdBarho 1c34f8201c Simplify messages page 2023-01-14 08:10:41 +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
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
rsandb 80cf195972 Dashboard Integration 2023-01-11 22:12:09 -06: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
rsandb f61f582a9b Integrate Dashboard with Messages/Styling Changes 2023-01-10 18:48:14 -06: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
Keith StevensandGitHub 2c34b09f85 Merge branch 'main' into web-tidy-sweep 2023-01-10 16:25:43 +09:00
Keith Stevens 062bfdba3a Revert "Centralize task types"
This reverts commit 97c1f12e11.
2023-01-10 16:24:35 +09:00
AbdBarhoandKeith Stevens 97c1f12e11 Centralize task types 2023-01-10 16:20:48 +09:00
AbdBarho 54a042d002 Centralize task types 2023-01-10 06:51:59 +01:00
Keith Stevens 48e9c7d09c Ensure FlaggableElement has an empty list of labels in the messages views 2023-01-10 14:16:19 +09:00
AbdBarho 5c48e34abb Fix infinite fetch loop in messages
if user has not submitted anything
2023-01-08 11:32:42 +01:00
klotske a493fc2fe9 Changed some links to NextJS & Fixed messages page 2023-01-07 16:32:24 +03:00
Keith Stevens dca0ba1774 Fixing most of the eslint warnings in the web code 2023-01-07 19:57:59 +09:00
jojopirker 4f5a864305 visual cleanup 2023-01-07 10:23:08 +01:00
jojopirkerandGitHub f4fcee3ef9 Merge branch 'LAION-AI:main' into messageNavigation 2023-01-07 08:12:18 +01:00
klotske 5524db5a01 Removed duplicate Box components 2023-01-07 03:50:25 +03:00
klotske d3a0bd4305 Moved SideMenu to component & refactored layout 2023-01-07 03:38:34 +03:00
jojopirker fa7d8ecfde Update index.tsx 2023-01-06 17:01:27 +01:00
jojopirkerandGitHub ad7ccb21d8 Merge branch 'LAION-AI:main' into messageNavigation 2023-01-06 16:43:50 +01:00
jojopirker 2db310ab06 (#309) Message navigation recursive 2023-01-06 15:53:18 +01:00
jojopirker a822db11a7 pre-commit 2023-01-06 11:55:31 +01:00
jojopirker 1bd0336d27 bugfix 2023-01-05 19:02:00 +01:00
jojopirker 1d46b3132a hacky solution for a bug
https://dev.to/wh1zk1d/swr-dynamic-routes-in-next-js-3cbl
2023-01-05 18:54:38 +01:00
jojopirker d0bc720761 inital try for navigation messages trees
should be redone probably in a recursive way...
2023-01-05 12:17:45 +01:00
jojopirker ac8ae2652e spacing for message dashboard 2023-01-05 10:33:35 +01:00
jojopirker b4034e56e2 moved isLoading 2023-01-04 20:35:20 +01:00
jojopirker 8e61cef81d added getDashboardLayout 2023-01-04 20:22:06 +01:00
jojopirker 3905f75d6c moved messages page into subfolder 2023-01-04 16:01:37 +01:00