Widget: make the chat window fit on small phones
维护者通常 1 天内回复
@anushreemehta6 已经在做这个了。
开始于 2026年10月9日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- css, javascript, typescript
调研方向
从 public/widget.js 和 widget 页面样式入手,然后检查 widget 在桌面和手机屏幕宽度下如何打开和关闭。针对 375 像素的情况,验证是否存在溢出,以及能否访问关闭按钮、消息列表和发送框;添加测试或截图检查。完成标准是手机布局能够完整显示且页面无需横向滚动,同时桌面外观和打开/关闭行为保持不变。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 16
- 派生
- 2
- 平均合并
- 6 小时 28 分钟
- 30 天内合并 PR
- 167
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
answerLoops/answerLoops 的其他 Issue
-
Widget: match the chat bubble color to the rest of the widget可能已有人在做 @uchiha-suraj 于 2 天前认领。 未关闭enhancement help wanted
难度 1/5 1-3 小时 新手友好度 84/100
answerLoops/answerLoops#345 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
answerLoops/answerLoops#17 ·
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 45/100
answerLoops/answerLoops#352 ·
维护者通常 1 天内回复
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 52/100
answerLoops/answerLoops#351 ·
维护者通常 1 天内回复
查看 answerLoops/answerLoops 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
homarr-labs/dashboard-icons#2939 ·
维护者通常 1 天内回复
-
Agent/category reasoning variants are still checked against the stale model cache in chat.params未关闭opencode
难度 2/5 1-3 小时 新手友好度 75/100
code-yeongyu/oh-my-openagent#10003 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
nextcloud-libraries/nextcloud-dialogs#2669 ·
维护者通常 1 天内回复