Commit Graph
14 Commits
Author SHA1 Message Date
notmd 8028693e3b use useSWR data instead calling setState 2023-01-16 10:09:54 +07: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
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 Stevens 48e9c7d09c Ensure FlaggableElement has an empty list of labels in the messages views 2023-01-10 14:16:19 +09: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
jojopirker a1b0bb5561 moved key prop 2023-01-06 16:50:25 +01:00
jojopirker d292643ea6 (#309) pre-commit 2023-01-06 15:57:20 +01:00
jojopirker 2db310ab06 (#309) Message navigation recursive 2023-01-06 15:53:18 +01:00