notmd
8028693e3b
use useSWR data instead calling setState
2023-01-16 10:09:54 +07:00
rsandb
9423f0c973
Fix width issue for messages on desktop
...
Also replaced grid with box because it wasn't using any grid props and was just calling an extra element
2023-01-14 21:36:35 -06:00
AbdBarho
335218ba22
Fix full labeling task display
2023-01-14 09:51:12 +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
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
rsandb
80cf195972
Dashboard Integration
2023-01-11 22:12:09 -06: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
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
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
80268136b0
A simpler fix to ensuring the messages view can render
2023-01-10 17:52:48 +09:00
Keith Stevens
9e14de2570
Moving the ValidLabel type
2023-01-10 16:30:44 +09:00
Keith Stevens
aa22ed0d1c
Remove debug log
2023-01-10 14:52:55 +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
54cc88bb1f
Ensure FlaggableElement always has the set of labels
2023-01-10 14:08:43 +09:00
Keith Stevens
19ff44f442
Fixing a build issue I introduced
2023-01-07 20:01:50 +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
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
b4034e56e2
moved isLoading
2023-01-04 20:35:20 +01:00
jojopirker
efdfb09695
fixed typo
2023-01-04 20:04:26 +01:00
jojopirker
910c1c88ce
pre-commit
2023-01-04 15:42:51 +01:00
jojopirker
be22c77b07
moved components into new folder
2023-01-04 15:38:26 +01:00