Widget customization: live preview on the appearance page

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

还没有人认领这个 Issue。

评估

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

调研方向

The payload names no files, so start with CONTRIBUTING.md for local setup and then find the Widget appearance page from #347, which this issue depends on. The work is a live preview that reflects unsaved title and welcome-message changes, using the same widget code visitors see, with a 375px layout. Done means the preview updates before saving, unsaved changes never reach the real widget, and tests cover each setting.

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

描述

enhancement frontend help wanted

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

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

The problem today

Owners can't see what their changes will look like without leaving the page and reloading their own site.

What to build

A live preview of the chat widget on the Widget appearance page (#347) that updates as the owner changes the title, welcome message, and, once they exist, the color (#348), logo (#349) and size.

  • The preview uses the same widget code visitors see, with sample messages and one sample answer card.
  • It also shows the locked Standard view (answerLoops look and branding).
  • On a phone-width settings page, the preview sits below the controls.

Done when

  • Changing a setting updates the preview immediately, before saving
  • Unsaved changes never affect the real widget
  • Works at 375 pixels wide
  • Tests cover the preview reacting to each setting

Depends on

  • #347 (the page) and picks up #348, #349 and #352 as they land.

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