Widget customization page: title, welcome message and reset (Pro)

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
full-stack

调研方向

Start with CONTRIBUTING.md, then find the Settings page and the widget's configuration lookup that issue #346 describes; the payload names neither file. Done means a Pro owner's title and welcome message appear in the real widget without changing the install snippet, reset restores the defaults, Standard orgs see a locked page and get refused on save, and tests cover saving, limits and plan gating. Resolve #346 first, since this issue depends on it.

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

描述

backend enhancement frontend help wanted

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

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

The problem today

A business can't change what its chat widget says. The header title and the welcome message are ours.

What to build

A Widget appearance section in Settings, available on Pro and above (Standard keeps the answerLoops look, see #331).

  1. Chat title, for example "Acme Support".
  2. Welcome message, for example "Hi! Ask us anything about your order."
  3. Reset to default.
    Both texts have length limits and are shown as plain text only.
    Where the settings are saved, how the widget reads them (through the lookup in #346) and the plan check are part of this issue. The color, logo, preview and size controls are separate issues that add to the same page.

What a Standard owner sees

The page with the controls locked and a friendly message that this is a Pro feature, with an upgrade button.

Done when

  • A Pro owner can set the title and welcome message and the real widget shows them within about a minute, with no change to the install snippet
  • Reset returns to the answerLoops defaults
  • A Standard owner sees the locked state; the server also refuses saves from a Standard org
  • Looks right at 375 pixels wide
  • Docs describe the page; tests cover saving, limits and plan gating

Depends on

  • #346 (the lookup the widget reads from)

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 摘要。