Skip to content
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

Merged
merged 51 commits into from
Nov 19, 2024

Conversation

gtarpenning
Copy link
Member

@gtarpenning gtarpenning commented Oct 29, 2024

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.

Screenshot 2024-11-15 at 2 58 10 PM

CTA:
Screenshot 2024-11-18 at 4 28 36 PM

sidebar2

@circle-job-mirror
Copy link

circle-job-mirror bot commented Oct 29, 2024

@gtarpenning gtarpenning marked this pull request as ready for review November 8, 2024 00:49
@gtarpenning gtarpenning requested review from a team as code owners November 8, 2024 00:49
@@ -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"]},
Copy link
Collaborator

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"]
    }

Copy link
Collaborator

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

props.callRef,
query.refetch
);
// eslint-disable-next-line react-hooks/exhaustive-deps
Copy link
Collaborator

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':
Copy link
Collaborator

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)

@gtarpenning gtarpenning enabled auto-merge (squash) November 19, 2024 01:43
@gtarpenning gtarpenning merged commit 4cd1f36 into master Nov 19, 2024
113 of 115 checks passed
@gtarpenning gtarpenning deleted the griffin/show-human-feedback-sidebar branch November 19, 2024 01:51
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants