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

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, frontend

Research direction

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.

Written by the indexing model from the issue text.

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.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DeadantCo/answerLoopsdev

All issues in DeadantCo/answerLoopsdev

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.