[PR #584] [MERGED] refactor: grid block cache #4210

Closed
opened 2026-03-23 21:36:48 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/584
Author: @appflowy
Created: 7/3/2022
Status: Merged
Merged: 7/3/2022
Merged by: @appflowy

Base: mainHead: refactor/grid_block_cache


📝 Commits (1)

  • fedc57a refactor: grid block cache

📊 Changes

17 files changed (+364 additions, -361 deletions)

View changed files

📝 frontend/app_flowy/lib/workspace/application/grid/block/block_listener.dart (+2 -39)
📝 frontend/app_flowy/lib/workspace/application/grid/block/block_service.dart (+55 -0)
📝 frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/cache.dart (+9 -11)
📝 frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/cell_service.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/context_builder.dart (+3 -3)
📝 frontend/app_flowy/lib/workspace/application/grid/grid_bloc.dart (+54 -46)
📝 frontend/app_flowy/lib/workspace/application/grid/grid_header_bloc.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/grid/grid_service.dart (+58 -48)
📝 frontend/app_flowy/lib/workspace/application/grid/row/row_bloc.dart (+4 -4)
📝 frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart (+4 -4)
📝 frontend/app_flowy/lib/workspace/application/grid/row/row_service.dart (+141 -171)
📝 frontend/app_flowy/lib/workspace/application/grid/setting/property_bloc.dart (+7 -5)
📝 frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart (+15 -13)
📝 frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/cell/cell_builder.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart (+3 -6)
📝 frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/row_detail.dart (+4 -6)
📝 frontend/rust-lib/flowy-grid/src/entities/row_entities.rs (+2 -2)

📄 Description

  1. Move GridRowCacheService to GridBlockCacheService
  2. Move GridCellCacheService to GridRowCacheService

🔄 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/584 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 7/3/2022 **Status:** ✅ Merged **Merged:** 7/3/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `refactor/grid_block_cache` --- ### 📝 Commits (1) - [`fedc57a`](https://github.com/AppFlowy-IO/AppFlowy/commit/fedc57a52c6cd8631e2f71e5a479c44d8e1aae6b) refactor: grid block cache ### 📊 Changes **17 files changed** (+364 additions, -361 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/workspace/application/grid/block/block_listener.dart` (+2 -39) 📝 `frontend/app_flowy/lib/workspace/application/grid/block/block_service.dart` (+55 -0) 📝 `frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/cache.dart` (+9 -11) 📝 `frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/cell_service.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/grid/cell/cell_service/context_builder.dart` (+3 -3) 📝 `frontend/app_flowy/lib/workspace/application/grid/grid_bloc.dart` (+54 -46) 📝 `frontend/app_flowy/lib/workspace/application/grid/grid_header_bloc.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/grid/grid_service.dart` (+58 -48) 📝 `frontend/app_flowy/lib/workspace/application/grid/row/row_bloc.dart` (+4 -4) 📝 `frontend/app_flowy/lib/workspace/application/grid/row/row_detail_bloc.dart` (+4 -4) 📝 `frontend/app_flowy/lib/workspace/application/grid/row/row_service.dart` (+141 -171) 📝 `frontend/app_flowy/lib/workspace/application/grid/setting/property_bloc.dart` (+7 -5) 📝 `frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/grid_page.dart` (+15 -13) 📝 `frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/cell/cell_builder.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/grid_row.dart` (+3 -6) 📝 `frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/row/row_detail.dart` (+4 -6) 📝 `frontend/rust-lib/flowy-grid/src/entities/row_entities.rs` (+2 -2) </details> ### 📄 Description 1. Move GridRowCacheService to GridBlockCacheService 2. Move GridCellCacheService to GridRowCacheService --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:48 +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#4210
No description provided.