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

Ouverte
#75 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
typescript
Domaine
backend, frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de DeadantCo/answerLoopsdev

Toutes les issues de DeadantCo/answerLoopsdev

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.