Widget: make the chat window fit on small phones
@sethr07 已經在處理了。
開始於 2026年11月23日。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 70/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
- 領域
- frontend
研究方向
聊天視窗的固定寬度是在小型嵌入腳本 public/widget.js 以及 widget 頁面的樣式中設定。請先閱讀視窗寬度是如何套用的,然後檢查寬度為 375 像素時的版面配置。完成的標準是:視窗能在手機螢幕內放下且沒有水平溢出,桌面版外觀保持不變,開啟和關閉功能仍然正常,並且有測試或螢幕截圖涵蓋手機寬度的情況。
由索引模型根據 Issue 內容生成。
描述
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
@NathanTarberton 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
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
DeadantCo/answerLoopsdev 的其他 Issue
-
Widget: match the chat bubble color to the rest of the widget可能已有人在做 @sethr07 今天認領。 未關閉enhancement frontend help wanted
難度 2/5 半天 新手友好度 75/100
DeadantCo/answerLoopsdev#68 · 3 則留言 ·
-
Add 'select all' option to Slack channel picker in Settings可能已有人在做 @sethr07 今天認領。 未關閉frontend good first issue
難度 2/5 1-3 小時 新手友好度 68/100
DeadantCo/answerLoopsdev#22 · 5 則留言 ·
-
enhancement frontend help wanted
難度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#141 ·
-
backend enhancement frontend help wanted
難度 4/5 3-5 天 新手友好度 45/100
DeadantCo/answerLoopsdev#140 ·
-
backend enhancement frontend help wanted notifications
難度 4/5 3-5 天 新手友好度 42/100
DeadantCo/answerLoopsdev#139 ·
查看 DeadantCo/answerLoopsdev 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
External sources always come back in English: `lc` isn't passed to `/api/v3/external_sources`可能已有人在做 @Anurag1428 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
openfoodfacts/openfoodfacts-explorer#2264 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 80/100
cloudflare/workers-sdk#17139 ·
維護者通常 1 天內回覆
-
area: editor P3 type: feature
難度 2/5 1-3 小時 新手友好度 74/100
halisonworks/mod-codeling#290 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
colinhacks/zod#6776 ·
維護者通常 1 天內回覆