[PR #5869] [MERGED] feat: support custom icon #7058

Closed
opened 2026-03-23 23:17:54 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5869
Author: @qinluhe
Created: 8/2/2024
Status: Merged
Merged: 8/8/2024
Merged by: @LucasXu0

Base: mainHead: feat/support-space-icons


📝 Commits (5)

  • f2b1265 feat: support custom icon
  • fbc2307 fix: quote
  • f7f0d90 Merge branch 'main' into feat/support-space-icons
  • df12d08 chore: join lines for icons.json
  • b2af864 fix: manual add .svg for icon

📊 Changes

984 files changed (+8184 additions, -5 deletions)

View changed files

📝 frontend/appflowy_web_app/deploy/nginx.conf (+6 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-chip-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-cloud-spark.svg (+12 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-edit-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-email-generator-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-gaming-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-landscape-image-spark.svg (+11 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-music-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-portrait-image-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-variation-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-navigation-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-network-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-prompt-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-redo-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-science-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-settings-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-technology-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-upscale-spark.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-vehicle-spark-1.svg (+10 -0)
frontend/appflowy_web_app/public/af_icons/artificial_intelligence/artificial-intelligence-spark.svg (+10 -0)

...and 80 more files

📄 Description

Feature Preview

  • Support rendering custom icons on the web

using the icon's id field as iconValue @LucasXu0


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/5869 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 8/2/2024 **Status:** ✅ Merged **Merged:** 8/8/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `feat/support-space-icons` --- ### 📝 Commits (5) - [`f2b1265`](https://github.com/AppFlowy-IO/AppFlowy/commit/f2b1265aa855f41a22d0c3ed7c4cea141ba7c918) feat: support custom icon - [`fbc2307`](https://github.com/AppFlowy-IO/AppFlowy/commit/fbc230761e73155a5626537dc33c151d1d12561a) fix: quote - [`f7f0d90`](https://github.com/AppFlowy-IO/AppFlowy/commit/f7f0d90a02eadb4c770d980de82cfb2fe339088c) Merge branch 'main' into feat/support-space-icons - [`df12d08`](https://github.com/AppFlowy-IO/AppFlowy/commit/df12d0825fdfbba3b7dc023ce48560b88a3f4582) chore: join lines for icons.json - [`b2af864`](https://github.com/AppFlowy-IO/AppFlowy/commit/b2af86476a73050cde57cb2ffffad0ec5a98efa4) fix: manual add .svg for icon ### 📊 Changes **984 files changed** (+8184 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_web_app/deploy/nginx.conf` (+6 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-chip-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-cloud-spark.svg` (+12 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-edit-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-email-generator-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-gaming-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-landscape-image-spark.svg` (+11 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-music-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-portrait-image-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-generate-variation-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-navigation-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-network-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-prompt-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-redo-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-science-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-settings-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-technology-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-upscale-spark.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/ai-vehicle-spark-1.svg` (+10 -0) ➕ `frontend/appflowy_web_app/public/af_icons/artificial_intelligence/artificial-intelligence-spark.svg` (+10 -0) _...and 80 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview - [x] Support rendering custom icons on the web using the icon's id field as iconValue @LucasXu0 <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:17:54 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#7058
No description provided.