[PR #5792] [MERGED] chore: improve UI design on Desktop #7007

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5792
Author: @LucasXu0
Created: 7/23/2024
Status: Merged
Merged: 7/26/2024
Merged by: @LucasXu0

Base: mainHead: ui


📝 Commits (10+)

  • 62361eb fix: only show collapse page button when the children of the page is not emtpy
  • 2e10d3a chore: set minimum sidebar width to 268
  • 080b672 chore: replace space lock icon and pin & unpin icon
  • 16e3a96 chore: change divider color
  • 2b9f73f chore: update divider color
  • 75ac11d chore: improve create space color
  • 5671130 feat: highlight delete button when hovering
  • 9f52989 chore: update translations
  • 41109fc fix: icon align issue
  • 57000dc feat: highlight sidebar resizer when hovering

📊 Changes

54 files changed (+791 additions, -384 deletions)

View changed files

📝 frontend/Makefile.toml (+1 -1)
📝 frontend/appflowy_flutter/lib/core/frameless_window.dart (+6 -10)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/calculations/calculate_cell.dart (+5 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/align_toolbar_item/align_toolbar_item.dart (+2 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_node_widget.dart (+0 -5)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/appearance/desktop_appearance.dart (+10 -14)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/appearance/mobile_appearance.dart (+4 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dart (+6 -39)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/home_layout.dart (+3 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/home_sizes.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart (+12 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_folder.dart (+0 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_menu.dart (+9 -12)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_pin_action.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/header/sidebar_top_menu.dart (+4 -8)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/move_to/move_page_menu.dart (+13 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/shared/sidebar_new_page_button.dart (+21 -3)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar.dart (+13 -16)
frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/_extension.dart (+8 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/create_space_popup.dart (+10 -4)

...and 34 more files

📄 Description

Feature Preview

  • optimize divider color and height
  • only show "collapse all the subpages" when the pages contain subpages.
  • set the minimum width of sidebar to 268.
  • optimize the UX of creating space.
  • replace private space, pin, unpin icon.
  • optimize the workspace menu
  • optimize the scroll bar
  • highlight delete button when hovering
  • improve "switch space" copy
  • highlight sidebar resizer when hovering

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/5792 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/23/2024 **Status:** ✅ Merged **Merged:** 7/26/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `ui` --- ### 📝 Commits (10+) - [`62361eb`](https://github.com/AppFlowy-IO/AppFlowy/commit/62361ebae95191e8e498d44934f176f3a2bb8f8f) fix: only show collapse page button when the children of the page is not emtpy - [`2e10d3a`](https://github.com/AppFlowy-IO/AppFlowy/commit/2e10d3a598dd3d637a2afdd39de2713117d794ab) chore: set minimum sidebar width to 268 - [`080b672`](https://github.com/AppFlowy-IO/AppFlowy/commit/080b6729ecf66ec2652f03671784e46242263bbf) chore: replace space lock icon and pin & unpin icon - [`16e3a96`](https://github.com/AppFlowy-IO/AppFlowy/commit/16e3a96a20553e15cb0c59eec45ba1524e1573b6) chore: change divider color - [`2b9f73f`](https://github.com/AppFlowy-IO/AppFlowy/commit/2b9f73f7ddd7420a83461c9faaa83646a44f4d07) chore: update divider color - [`75ac11d`](https://github.com/AppFlowy-IO/AppFlowy/commit/75ac11d98c86cf6e4849e26d900cc888348bd95a) chore: improve create space color - [`5671130`](https://github.com/AppFlowy-IO/AppFlowy/commit/5671130ea3a3203738d190174bd24e4e225c2d32) feat: highlight delete button when hovering - [`9f52989`](https://github.com/AppFlowy-IO/AppFlowy/commit/9f52989ace6cea5afc19f7d3b291e71531db0d2e) chore: update translations - [`41109fc`](https://github.com/AppFlowy-IO/AppFlowy/commit/41109fca61f7564170e5585c987453b5a709c834) fix: icon align issue - [`57000dc`](https://github.com/AppFlowy-IO/AppFlowy/commit/57000dc24676c5c3488b99a8461d3ef7388e9b50) feat: highlight sidebar resizer when hovering ### 📊 Changes **54 files changed** (+791 additions, -384 deletions) <details> <summary>View changed files</summary> 📝 `frontend/Makefile.toml` (+1 -1) 📝 `frontend/appflowy_flutter/lib/core/frameless_window.dart` (+6 -10) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/calculations/calculate_cell.dart` (+5 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/align_toolbar_item/align_toolbar_item.dart` (+2 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_node_widget.dart` (+0 -5) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/appearance/desktop_appearance.dart` (+10 -14) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/appearance/mobile_appearance.dart` (+4 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/desktop_home_screen.dart` (+6 -39) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/home_layout.dart` (+3 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/home_sizes.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/hotkeys.dart` (+12 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_folder.dart` (+0 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_menu.dart` (+9 -12) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/favorites/favorite_pin_action.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/header/sidebar_top_menu.dart` (+4 -8) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/move_to/move_page_menu.dart` (+13 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/shared/sidebar_new_page_button.dart` (+21 -3) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/sidebar.dart` (+13 -16) ➕ `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/_extension.dart` (+8 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/space/create_space_popup.dart` (+10 -4) _...and 34 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] optimize divider color and height - [x] only show "collapse all the subpages" when the pages contain subpages. - [x] set the minimum width of sidebar to 268. - [x] optimize the UX of creating space. - [x] replace private space, pin, unpin icon. - [ ] optimize the workspace menu - [x] optimize the scroll bar - [x] highlight delete button when hovering - [x] improve "switch space" copy - [x] highlight sidebar resizer when hovering <!--- 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 - [x] 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:40 +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#7007
No description provided.