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

UI/Let users up&down vote the copilot response #578

Merged
merged 14 commits into from
Jan 24, 2024

Conversation

ah7255703
Copy link
Collaborator

@ah7255703 ah7255703 commented Jan 24, 2024

  • Update dependencies in package.json
  • Update API and socket URLs in copilot-widget/index.html
  • Add Vote component and implement useVote hook
  • add Vote component for users to up/down vote the response
  • Add text-blur-out animation to index.css
  • add useUp&Down vote impl, and useAsyncFn impl.
  • Remove console.log statement in InitialDataContext.tsx
  • Refactor Vote component to use async upvote and downvote
  • Update API and socket URLs (dummy)
  • Refactor Messages and Controller components to use the new Voting Component

We should note that

  • this feature is not available on the OSS repo, as it will be less useful (no users).
  • so the vote component will be rendered conditionally.

@ah7255703 ah7255703 merged commit b3dc7ae into main Jan 24, 2024
4 checks passed
@ah7255703 ah7255703 deleted the ui/sessions-can-review-the-response branch January 24, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant