-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(weave): human feedback sidebar for structured call labeling #2807
Conversation
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=0037a45c876e0a5e1b55f3afeecd25c1f9bc9dfa |
...src/components/PagePanelComponents/Home/Browse3/feedback/HumanFeedback/humanFeedbackTypes.ts
Outdated
Show resolved
Hide resolved
...js/src/components/PagePanelComponents/Home/Browse3/feedback/HumanFeedback/tsHumanFeedback.ts
Outdated
Show resolved
Hide resolved
...js/src/components/PagePanelComponents/Home/Browse3/feedback/HumanFeedback/tsHumanFeedback.ts
Outdated
Show resolved
Hide resolved
@@ -18,7 +18,7 @@ class AnnotationSpec(base_object_def.BaseObject): | |||
# Boolean feedback | |||
{"type": "boolean"}, | |||
# Categorical feedback | |||
{"type": "categorical", "options": ["option1", "option2"]}, | |||
{"type": "array", "options": ["option1", "option2"]}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not seem correct. Categorical should be something like
{
"type": "string",
"enum": ["one", "two", "three"]
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
options
is not a json schema key word
...ts/PagePanelComponents/Home/Browse3/pages/wfReactInterface/generatedBaseObjectClasses.zod.ts
Outdated
Show resolved
Hide resolved
weave-js/src/components/PagePanelComponents/Home/Browse3/pages/common/SplitPanelLeft.tsx
Outdated
Show resolved
Hide resolved
weave-js/src/components/PagePanelComponents/Home/Browse3/pages/ObjectVersionPage.tsx
Outdated
Show resolved
Hide resolved
weave-js/src/components/PagePanelComponents/Home/Browse3/pages/TabEditAnnotationSpec.tsx
Outdated
Show resolved
Hide resolved
weave-js/src/components/PagePanelComponents/Home/Browse3/pages/CallPage/CallPage.tsx
Outdated
Show resolved
Hide resolved
...omponents/PagePanelComponents/Home/Browse3/feedback/HumanFeedback/ToggleColumnVisibility.tsx
Outdated
Show resolved
Hide resolved
...s/src/components/PagePanelComponents/Home/Browse3/feedback/HumanFeedback/FeedbackSidebar.tsx
Outdated
Show resolved
Hide resolved
props.callRef, | ||
query.refetch | ||
); | ||
// eslint-disable-next-line react-hooks/exhaustive-deps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you want to at least include props.callRef
focused={focused} | ||
/> | ||
); | ||
case 'array': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure this is not correct (see other comments)
Description
WB-21664
WB-21668
This pr adds a sidebar to the calls detail page, on the right, which when configured allows users to attach specific kinds of feedback to a call. These kinds of feedback can be configured by the user, of many types.
CTA: