AbdBarho
47c402e762
More space for messages on narrow screen
2023-01-20 10:37:54 +01:00
Keith Stevens
a2f68c7259
Require labels to be set on labeling task and setting up basic storybook stories for tasks
2023-01-16 18:51:01 +09:00
Keith Stevens
c4af8bba1e
Switch back to useEffect in FlaggableElement to ensure valid labels are present
2023-01-16 14:44:38 +09:00
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
notmd
138396a662
fix: improve FlaggableElement UI on mobile
2023-01-14 23:16:19 +07:00
AbdBarho
335218ba22
Fix full labeling task display
2023-01-14 09:51:12 +01:00
rsandb
3950f6e780
Fixed tooltip not showing on hover
2023-01-14 00:46:25 -06: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
Adrian Cowan
9f23ffb1b6
website: Enable label when clicking on disabled slider
2023-01-13 20:52:01 +11:00
klotske
82a60ef904
Change typings & refactor FlaggableElement
2023-01-12 16:10:05 +03: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
34a1715923
Cleaning up a suite of eslint warnings
2023-01-10 13:02:17 +09:00
Keith Stevens
2e2efdec65
Fixing a small remaining issues, reporting labels, rejecting tasks, and redirecting users on landing page
2023-01-10 12:51:56 +09:00
James Melvin
420b3739eb
fix: retrieval of valid_labels from API to populate the TEXT_LABEL_FLAGS in FlaggableElements.tsx
2023-01-09 22:31:44 +05:30
James Melvin
d4fdaeca81
fix: pre-commit errors
2023-01-08 10:52:50 +05:30
James Melvin
c129ca9862
fix: propagated message_id to FlaggableElement.tsx
2023-01-08 10:20:38 +05:30
James Melvin
f5130b0fd8
fix: new web route to update text_labels
...
fix: minimum changes to textFlagLabels to keep it coherent with the backend
2023-01-08 09:16:48 +05:30
AbdBarho
53814d77ab
Label Initial Prompt
2023-01-07 17:24:43 +01:00
Keith Stevens
dca0ba1774
Fixing most of the eslint warnings in the web code
2023-01-07 19:57:59 +09:00
chs20
667d51df55
Fix message flagging in dark mode ( #434 )
2023-01-06 15:31:11 +01:00
Klotske
088bc181bd
Add tooltip to Report button
2023-01-04 16:15:22 +03:00
AbdBarho
9902e013b2
Use Chakra UI for Messages
2023-01-02 08:26:33 +01:00
BitterKanegul
725dededbd
Add npm build fixes for types
2023-01-02 10:17:13 +05:30
BitterKanegul
d36f2e4ec5
Change submitResponse function
2023-01-02 10:01:26 +05:30
BitterKanegul
3da5d11883
Add ESLint fixes
2023-01-02 09:52:24 +05:30
BitterKanegul
e81c3cd3bb
Incorporate review comments
2023-01-02 09:11:57 +05:30
BitterKanegul
fa5fc377ec
Run prettier
2023-01-02 09:11:57 +05:30
BitterKanegul
dfcbbee444
Adding popover to flag text with labels
2023-01-02 09:11:57 +05:30