Skip to content

Chat widget: Ratings go to the dashboard only, comment on the rating's row - #291

Merged
Petr-Klinger-1 merged 1 commit into
mainfrom
petr/docs
Nov 2, 2026
Merged

Petr-Klinger-1 merged 1 commit into
mainfrom
petr/docs

Conversation

@Petr-Klinger-1

Copy link
Copy Markdown
Contributor

What

Google Form removed. Ratings, questions, answers and comments now go only to the team's ThingsBoard dashboard through the backend's /api/event. Live ratings were confirmed to arrive there with full text.

  • feedbackForm removed from docusaurus.config.js, along with postFeedback in the widget.
  • The 👍/👎 buttons were shown only when the form was configured; they now always show.

Comment on the same row. The backend answers a rating with the ts it was stored at. The widget keeps it on the rating and sends it with the comment, so the dashboard table shows rating, question, answer and comment on one row instead of two.

Depends on

Petr-Klinger-1/docs-chatbot#8. Merge and deploy that first. Against the current backend, ratings still work, but the comment lands on its own row as today.

Testing

tsc reports no errors in the widget. The backend side is covered by its tests (81/81).

🤖 Generated with Claude Code

…s row

Drops the Google Form: ratings, questions, answers and comments now go to
the ThingsBoard dashboard through the backend's /api/event, which was
confirmed to receive them. The rating buttons no longer depend on the
form being configured.

A rating's response carries the ts it was stored at; the comment sends it
back so the dashboard shows the comment on the same row as the rating.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
website-hardwario-docs f2d532d Commit Preview URL

Branch Preview URL
Oct 28 2026, 09:59 AM

@Petr-Klinger-1
Petr-Klinger-1 merged commit 4270388 into main Nov 2, 2026
3 checks passed
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