Widget answer cards: comparison table, stat and status timeline
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 22/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- frontend
Rechercherichtung
Start with CONTRIBUTING.md for setup and the pull request process, then read how the existing link and contact cards from #329 are built and checked. Add the three cards (comparison table, stat, status timeline), each filled only from knowledge base content, with plain-text fallback and length limits. Done when all three render at desktop and 375px widths, the fallback and the only-real-information check are tested, and the widget docs show each card.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Copied from DeadantCo/answerLoops#53 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/334 — originally opened by
@NathanTarberton 2026-10-08
The problem today
The first set of answer cards (steps, quick replies, callout, link, contact) shipped in #329. They cover how-tos and "talk to a person." Some questions still get a plain paragraph where a layout would be much easier to read: comparing options, a single key number, or where something is in a process.
What we're adding
Three more cards. Each is a ready-made layout the assistant fills in with information from the business's own knowledge base. They only display information. They don't collect anything from the visitor and don't change any data.
- Comparison table. For "what's the difference between your plans?" Two to four options side by side, with up to six rows each (for example price and what's included). On a narrow screen it scrolls sideways inside the card, with the row labels staying in view.
- Stat card. One big value with a short label, such as "Response time: under 2 hours" or "Free trial: 14 days."
- Status / timeline card. For answers about a process, such as "Order placed, shipped, out for delivery, delivered," with the current step highlighted. Two to six steps.
Rules
- Only real information. Everything shown must appear in the business's own knowledge base content the assistant was given for that answer. If a number, price or status isn't there, the assistant answers in plain text and shows no card. This is enforced in code the same way it is for the link and contact cards, not left to the assistant's judgment.
- Same safety rules as the first cards. Text is shown as plain text (never as HTML), length limits apply, and anything that doesn't pass the checks is dropped instead of shown half-broken.
- Mobile first. Each card must read well at 375 pixels wide.
- Styling. Use the current widget look. When brand customization (#333) ships, the cards pick up the business's colors through the same theme settings as the existing cards. This issue doesn't build any color settings.
Out of scope (so nobody has to guess)
- "Was this helpful?" thumbs up/down. It needs storage, a place for owners to see results and a decision on abuse limits, so it's tracked on its own in #343.
- Turning individual cards on or off per business. Not part of this issue. Every business gets all cards. We can add a per-business switch later if anyone asks for it.
- Any card that takes input from the visitor (forms, ratings, bookings).
Done when
- Comparison table, stat and status cards render correctly on desktop and at 375 pixels wide
- The assistant only fills them from knowledge base content and falls back to plain text when it can't
- Tests cover rendering, the fallback to text, length limits, and the "only real information" check
- The widget docs show each card
Depends on
- #329 (the first cards, merged).
- Nothing else. Brand colors from #333 are picked up later and don't block this.
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus DeadantCo/answerLoopsdev
-
Widget: match the chat bubble color to the rest of the widgetEvtl. vergeben @sethr07 hat das heute übernommen. Offenenhancement frontend help wanted
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 75/100
DeadantCo/answerLoopsdev#68 · 3 Kommentare ·
-
Widget: make the chat window fit on small phonesEvtl. vergeben @sethr07 hat das heute übernommen. Offenenhancement frontend good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
DeadantCo/answerLoopsdev#67 · 9 Kommentare ·
-
Add 'select all' option to Slack channel picker in SettingsEvtl. vergeben @sethr07 hat das heute übernommen. Offenfrontend good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
DeadantCo/answerLoopsdev#22 · 5 Kommentare ·
-
enhancement frontend help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
DeadantCo/answerLoopsdev#140 ·
Alle Issues in DeadantCo/answerLoopsdev
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
microsoft/playwright#44340 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
sindresorhus/eslint-plugin-unicorn#4045 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
CreadorLanda/yo#316 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
awslabs/social-messaging-agent-runtime-toolkit#232 ·
Maintainer antworten meist innerhalb von 3 Tagen