[PR #5945] [CLOSED] chore: reduce get view call #7105

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5945
Author: @appflowy
Created: 8/12/2024
Status: Closed

Base: mainHead: reduce_get_view_call


📝 Commits (1)

  • 6f705d5 chore: reduce get view call

📊 Changes

3 files changed (+81 additions, -48 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/workspace/application/view_title/view_title_bar_bloc.dart (+10 -8)
📝 frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart (+7 -0)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+64 -40)

📄 Description

Fix high cpu when open a new view

  1. Print acquire folder lock
  2. Reduce GetViewAncestors calls

🔄 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/5945 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 8/12/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `reduce_get_view_call` --- ### 📝 Commits (1) - [`6f705d5`](https://github.com/AppFlowy-IO/AppFlowy/commit/6f705d5ca9f69aa0cff6291b5b7e29cb3d98bb2e) chore: reduce get view call ### 📊 Changes **3 files changed** (+81 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/workspace/application/view_title/view_title_bar_bloc.dart` (+10 -8) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart` (+7 -0) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+64 -40) </details> ### 📄 Description Fix high cpu when open a new view 1. Print acquire folder lock 2. Reduce GetViewAncestors calls --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:18:08 +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#7105
No description provided.