Widget customization: upload a logo (Pro)
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 28/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
- 領域
- backend, database, frontend, full-stack
研究方向
Start with CONTRIBUTING.md in the upstream answerLoops repository for local setup and pull request rules, then look at the Widget appearance page from #347, which this work depends on and which is where the upload control and saved settings belong. The work spans upload validation, image re-encoding, database storage and a cached serving route, so it is not a first-timer task. Done means a Pro owner can upload, replace and remove a logo, bad files are rejected with clear messages, and tests cover those checks.
由索引模型根據 Issue 內容生成。
描述
Copied from DeadantCo/answerLoops#62 · originally opened by sethr07 on 2026-11-20
Copied from https://github.com/answerLoops/answerLoops/issues/349 — originally opened by
@NathanTarberton 2026-10-08
The problem today
The widget shows the answerLoops logo. A business wants its own.
What to build
A logo upload on the Widget appearance page (#347). The logo shows in the chat header, next to every reply and on the chat bubble.
- Accepts a small 1:1 aspect ratio (square) image: PNG, JPEG or WebP, under 1 MB. SVG is not accepted because it carries scripts.
- We crop it square, shrink it, and re-encode it, then store the small result in the database we already use. No new storage service, and it works for self-hosted installs too.
- Served from a fast, cached address so the chat doesn't slow down.
- Bad uploads (wrong type, too large, corrupted) are rejected with a clear message. Removing the logo goes back to the default.
- Pro and above only.
Done when
- A Pro owner can upload, replace and remove a logo and see it on the live widget
- Wrong type, too large and corrupted files are rejected with clear messages
- The stored image is the re-encoded small version, never the original upload
- The logo address is cached and only serves a business's own logo
- Looks right at 375 pixels wide; tests cover the checks above
Depends on
- #347 (the page and where settings are saved)
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 則留言 ·
-
Widget: make the chat window fit on small phones可能已有人在做 @sethr07 今天認領。 未關閉enhancement frontend good first issue help wanted
難度 2/5 1-3 小時 新手友好度 70/100
DeadantCo/answerLoopsdev#67 · 9 則留言 ·
-
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 ·
查看 DeadantCo/answerLoopsdev 的全部 Issue
相似的 Issue
-
chore
難度 2/5 1-3 小時 新手友好度 82/100
drydocs/meridian#1503 · 1 則留言 ·
維護者通常 2 天內回覆
-
refactor review: high
難度 2/5 1-3 小時 新手友好度 72/100
1lck/Lithe-IDEA#2376 ·
維護者通常 1 天內回覆
-
bug extension mcp
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
primer/primitives#1426 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
danielmiessler/LifeOS#2941 ·
維護者通常 4 天內回覆