Widget: 'Was this helpful?' rating and owner results view

Ouverte
#66 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
12/100
Type d'issue
Fonctionnalité
Clarté
À clarifier
Activité
Active
Stack technique
typescript
Domaine
analytics, frontend

Piste de recherche

The payload names no source files; the widget and dashboard code is not shown. The open decisions are listed in the body: where owners see results, what gets stored, rate limits and plan gating. Settle those with maintainers first; the body also points at #329 (merged) and related issues #11 and #335. Done means the four checklist items in the body are met, including tests for saving, one rating per answer, rate limits and per-business separation.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

backend enhancement frontend question

Copied from DeadantCo/answerLoops#56 · originally opened by sethr07 on 2026-11-20

Copied from https://github.com/answerLoops/answerLoops/issues/343 — originally opened by @NathanTarbert on 2026-10-08

The problem today

Business owners can't tell which widget answers actually helped their customers. The only signals today are indirect (questions the assistant couldn't cover, handoffs to a person).

What we're adding

A small "Was this helpful?" thumbs up / thumbs down shown after an assistant answer in the widget, and a place in the dashboard where the owner can see the results.

Decisions needed before building

  • Where owners see results. Options: a section on the existing analytics page, or a list of thumbs-down answers on the Knowledge coverage tab so they can fix the article behind it. Our suggestion: show thumbs-down answers with the question asked, so each one points to something fixable.
  • What we store. Suggested minimum: the rating, the question and answer it belongs to, the time, and the business. No visitor identity.
  • Abuse limits. Visitors are anonymous, so ratings must be rate limited per widget and one rating per answer, so one visitor can't flood the numbers.
  • Plan. Which plans get it, if any restriction.

Rules

  • Only the business that owns the widget can see its ratings.
  • Visitors can only submit a rating. They can't read anyone's results.
  • Must read well at 375 pixels wide.

Done when

  • The decisions above are written down on this issue
  • Visitors can rate an answer once, and the rating is saved for that business only
  • Owners can see the results in the dashboard
  • Tests cover saving, the one-rating-per-answer rule, rate limits and the per-business separation
  • The widget docs describe it

Depends on

  • #329 (cards, merged).

These three react to "no useful knowledge-base match" or a failing answer; settle one widget behavior settings surface before building. See #11 and #335.

Start here: new to the project? Read CONTRIBUTING.md first. It covers the ground rules, running answerLoops locally, and how to open a pull request.

Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DeadantCo/answerLoopsdev

Toutes les issues de DeadantCo/answerLoopsdev

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.