Widget: small, medium and large window sizes (Pro)

Aperta
#75 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, frontend

Direzione di ricerca

Start with CONTRIBUTING.md, then read issues #344, #346 and #347, which this work depends on, to see how the widget size lookup and the Widget appearance page are meant to fit together. The sizing is in the widget script, and the Standard-plan rule has to be enforced on the server, so tests should cover both. Done means each size fits the browser window, a size change reaches the live widget without a site edit, and a Standard org always gets small.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement frontend help wanted

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

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

The problem today

The chat window is one fixed size (about 380 by 580 pixels). Businesses say it feels small, and answer cards would be easier to read with more room.

What to build

Three sizes, chosen on the Widget appearance page (#347) and read by the script through the lookup in #346.

  • Small is today's size and stays the default.
  • Medium about 440 by 680 and large about 520 by 760 (check on real pages before locking in).
  • Every size shrinks to fit the browser window. On a phone the window fills the screen (see #344).
  • Pro and above. A Standard org always gets small, enforced on our server.

Done when

  • Each size renders correctly on desktop and never exceeds the browser window
  • A size change shows on the live widget without the business touching their site
  • A Standard org always gets small, even if the lookup is asked for another size
  • Docs explain the sizes; tests cover the plan rule

Depends on

  • #346, #347 and #344

Sequencing: #344, then #352, then #351 (they touch the same panel and positioning code).

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.

Lingua principale
TypeScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DeadantCo/answerLoopsdev

Tutte le issue di DeadantCo/answerLoopsdev

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.