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

未关闭
#66 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
12/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
typescript

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DeadantCo/answerLoopsdev 的其他 Issue

查看 DeadantCo/answerLoopsdev 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。