[PR #3099] [MERGED] feat: support updating the view name and icon through document #5563

Closed
opened 2026-03-23 22:19:18 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3099
Author: @qinluhe
Created: 8/2/2023
Status: Merged
Merged: 8/4/2023
Merged by: @qinluhe

Base: mainHead: fix/support-view-name-and-icon


📝 Commits (10+)

  • ecea62f feat: support updating the view name and icon through document
  • e6c2c6a fix: store expand pages
  • 58f28e2 fix: refactor text link
  • eff4186 fix: update cargo.toml
  • d40c5e7 fix: update test
  • fafb04a fix: update event map
  • 9ccc0d7 fix: move deal with icon codes to a single file
  • 1e154e4 fix: delete useless code from flutter
  • af23acf fix: document banner
  • 43b759a fix: build error

📊 Changes

91 files changed (+1295 additions, -1297 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_banner_bloc.dart (+1 -14)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_ext.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart (+0 -10)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_item.dart (+1 -1)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+10 -10)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+14 -14)
📝 frontend/appflowy_tauri/src/appflowy_app/AppMain.hooks.ts (+13 -23)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPicker.hooks.ts (+82 -36)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPickerCategories.tsx (+18 -3)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPickerHeader.tsx (+18 -10)
📝 frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/index.tsx (+10 -15)
📝 frontend/appflowy_tauri/src/appflowy_app/components/auth/GetStarted/GetStarted.tsx (+4 -3)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSideToolbar/BlockSideToolbar.hooks.tsx (+1 -1)
frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/DocumentBanner.hooks.ts (+72 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/DocumentIcon.tsx (+5 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/TitleButtonGroup.tsx (+10 -5)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeColors.tsx (+0 -0)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeCoverButton.tsx (+5 -6)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeCoverPopover.tsx (+11 -11)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeImages.tsx (+2 -2)

...and 71 more files

📄 Description

Feature Preview

  • Support updating the view name and icon through the document

https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/d383fe0f-d1b6-433d-8b8b-b6c2bbf9d483


PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/3099 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 8/2/2023 **Status:** ✅ Merged **Merged:** 8/4/2023 **Merged by:** [@qinluhe](https://github.com/qinluhe) **Base:** `main` ← **Head:** `fix/support-view-name-and-icon` --- ### 📝 Commits (10+) - [`ecea62f`](https://github.com/AppFlowy-IO/AppFlowy/commit/ecea62f28db0c64c8cae1056af0f7862e088a7f5) feat: support updating the view name and icon through document - [`e6c2c6a`](https://github.com/AppFlowy-IO/AppFlowy/commit/e6c2c6a95aec61aa8f4baea7233638511ea7f7a8) fix: store expand pages - [`58f28e2`](https://github.com/AppFlowy-IO/AppFlowy/commit/58f28e2fa6c415bf00b1375671ded4b20c5c2d53) fix: refactor text link - [`eff4186`](https://github.com/AppFlowy-IO/AppFlowy/commit/eff4186e2fceb2847fa4c2de819a3bd7bc8a3d8e) fix: update cargo.toml - [`d40c5e7`](https://github.com/AppFlowy-IO/AppFlowy/commit/d40c5e7f030467aeb07e078585def6a82f642d23) fix: update test - [`fafb04a`](https://github.com/AppFlowy-IO/AppFlowy/commit/fafb04a0fe885358ff91569e7acfc088f6ac334f) fix: update event map - [`9ccc0d7`](https://github.com/AppFlowy-IO/AppFlowy/commit/9ccc0d7fdee658d54df09809696e6d8fbacfc7ba) fix: move deal with icon codes to a single file - [`1e154e4`](https://github.com/AppFlowy-IO/AppFlowy/commit/1e154e4ace7d28b75111724f3840720fba2b2def) fix: delete useless code from flutter - [`af23acf`](https://github.com/AppFlowy-IO/AppFlowy/commit/af23acfe9e8822b7be57681ecfffd2829ab72457) fix: document banner - [`43b759a`](https://github.com/AppFlowy-IO/AppFlowy/commit/43b759af3134ae80c8d25c24b3c4a8bd92be0383) fix: build error ### 📊 Changes **91 files changed** (+1295 additions, -1297 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database_view/application/row/row_banner_bloc.dart` (+1 -14) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_ext.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_service.dart` (+0 -10) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/view/view_item.dart` (+1 -1) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+10 -10) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+14 -14) 📝 `frontend/appflowy_tauri/src/appflowy_app/AppMain.hooks.ts` (+13 -23) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPicker.hooks.ts` (+82 -36) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPickerCategories.tsx` (+18 -3) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/EmojiPickerHeader.tsx` (+18 -10) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/_shared/EmojiPicker/index.tsx` (+10 -15) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/auth/GetStarted/GetStarted.tsx` (+4 -3) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSideToolbar/BlockSideToolbar.hooks.tsx` (+1 -1) ➕ `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/DocumentBanner.hooks.ts` (+72 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/DocumentIcon.tsx` (+5 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/TitleButtonGroup.tsx` (+10 -5) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeColors.tsx` (+0 -0) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeCoverButton.tsx` (+5 -6) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeCoverPopover.tsx` (+11 -11) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentBanner/cover/ChangeImages.tsx` (+2 -2) _...and 71 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 updating the view name and icon through the document https://github.com/AppFlowy-IO/AppFlowy/assets/108015703/d383fe0f-d1b6-433d-8b8b-b6c2bbf9d483 <!--- 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 the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] 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 22:19:18 +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#5563
No description provided.