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

Abierto
#75 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DeadantCo/answerLoopsdev

Todos los issues de DeadantCo/answerLoopsdev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.