Skip to content

feat: Add product feedback modal for downvote workflow#2

Open
ForisKuang wants to merge 3 commits intocBioPortal:v0.8.2-custom-v3from
ForisKuang:update/librechat-v0.8.2
Open

feat: Add product feedback modal for downvote workflow#2
ForisKuang wants to merge 3 commits intocBioPortal:v0.8.2-custom-v3from
ForisKuang:update/librechat-v0.8.2

Conversation

@ForisKuang
Copy link

@ForisKuang ForisKuang commented Feb 25, 2026

When the product feedback feature is enabled (via FEEDBACK_ISSUE_SERVICE_URL env var), clicking thumbs-down on an assistant message opens a feedback modal instead of the default tag popover. The modal collects a categorized issue report that is submitted to an external issue creation service, enabling automated GitHub issue creation from user feedback.

Change Type

  • [ X] New feature (non-breaking change which adds functionality)

Testing

Tested locally by spinning up the local instance of LibreChat and clicking the thumbs down button and seeing the modal pop up. See image below.

Screenshot 2026-02-25 at 2 28 39 PM

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective or that my feature works
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules.
  • A pull request for updating the documentation has been submitted.

Foris Chen Kuang added 3 commits February 25, 2026 14:36
When the product feedback feature is enabled (via FEEDBACK_ISSUE_SERVICE_URL
env var), clicking thumbs-down on an assistant message opens a feedback
modal instead of the default tag popover. The modal collects a categorized
issue report that is submitted to an external issue creation service,
enabling automated GitHub issue creation from user feedback.
…sues

Instead of proxying to an external service, the feedback route now calls
the GitHub API directly to create issues. This eliminates the need for a
separate middleware service. Configuration uses GITHUB_FEEDBACK_TOKEN and
GITHUB_FEEDBACK_REPO env vars. Issues are formatted with structured
markdown and labeled based on feedback reason.
…bmitted

The existing feedback storage endpoint was not being called when
submitting via the product feedback modal. Now handleFeedback is
invoked on modal submit to store the thumbs-down rating in MongoDB
alongside creating the GitHub issue.
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.

1 participant