Widget: make the chat window fit on small phones

オープン 初心者向け
#67 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

@sethr07 がすでに取り組んでいます。

2026年11月23日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

チャットウィンドウの固定幅は、小さな埋め込みスクリプト public/widget.js とウィジェットページのスタイルで設定されています。まず、ウィンドウの幅がどのように適用されているかを読んでください。その後、幅375ピクセルでのレイアウトを確認してください。完了の条件は、ウィンドウが水平方向のはみ出しなしにスマートフォンの画面に収まること、デスクトップの表示が変わらないこと、開く・閉じる操作が引き続き動作すること、そしてスマートフォン幅のケースをテストまたはスクリーンショットで確認できることです。

索引モデルが issue の本文から書いたものです。

説明

enhancement frontend good first issue help wanted

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

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

The problem today

The chat window on a customer's website is a fixed width (about 380 pixels). On phones narrower than that, part of the window hangs off the edge of the screen and visitors can't reach the send button or close button.

What to change

On small screens (phone width), the chat window should fill the screen with no horizontal overflow. On larger screens nothing changes. The change lives in the small embed script (public/widget.js) and the widget page styles.

Done when

  • At 375 pixels wide the window fits the screen: nothing is cut off, and the close button, message list and send box are all reachable
  • On desktop the window looks exactly as it does today
  • Open and close still work on phone and desktop, and the page behind doesn't scroll sideways
  • A test or screenshot check covers the phone-width case

Good first issue

Small, self-contained and with no dependencies. Part of the chat widget work tracked in #333.

Sequencing: lands before #352 and #351, which touch the same panel 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.

主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DeadantCo/answerLoopsdev のほかの issue

DeadantCo/answerLoopsdev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。