[PR #6925] [MERGED] feat: shrinkWrap grid in document #7641

Closed
opened 2026-03-23 23:20:33 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6925
Author: @Xazin
Created: 12/5/2024
Status: Merged
Merged: 12/12/2024
Merged by: @Xazin

Base: mainHead: feat/shrinkWrap-in-document


📝 Commits (6)

  • 645ca1e feat: shrinkWrap grid in document
  • 7d3c464 chore: merge branch 'upstream/main' into feat/shrinkWrap-in-document
  • 4e0b15d fix: clean up code and minor fixes
  • b5cdf21 test: add test w/ load more option
  • a95a95e fix: reinstate pageview & clean unused code
  • 5ba7918 fix: clean database tab bar view

📊 Changes

12 files changed (+477 additions, -299 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/document/document_with_database_test.dart (+104 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart (+13 -17)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/application/grid_bloc.dart (+42 -18)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/grid_page.dart (+188 -154)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/footer/grid_footer.dart (+41 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/row/row.dart (+14 -11)
📝 frontend/appflowy_flutter/lib/plugins/database/tab_bar/tab_bar_view.dart (+61 -85)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/built_in_page_widget.dart (+4 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart (+1 -6)
📝 frontend/appflowy_flutter/lib/workspace/application/view/view_ext.dart (+7 -5)
frontend/resources/flowy_icons/16x/load_more.svg (+1 -0)
📝 frontend/resources/translations/en.json (+1 -0)

📄 Description

  • shrinkWrap inline grids in Documents
  • tests for inline grids in Documents w. more than 25 rows

Feature Preview

https://github.com/user-attachments/assets/65cde122-7041-4596-a657-eeadd4b5796e

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/6925 **Author:** [@Xazin](https://github.com/Xazin) **Created:** 12/5/2024 **Status:** ✅ Merged **Merged:** 12/12/2024 **Merged by:** [@Xazin](https://github.com/Xazin) **Base:** `main` ← **Head:** `feat/shrinkWrap-in-document` --- ### 📝 Commits (6) - [`645ca1e`](https://github.com/AppFlowy-IO/AppFlowy/commit/645ca1e223319b2f8e0f6d9a1d0894657b0ea4e6) feat: shrinkWrap grid in document - [`7d3c464`](https://github.com/AppFlowy-IO/AppFlowy/commit/7d3c4642bc48965225d4210a4cef9974bc6ca76e) chore: merge branch 'upstream/main' into feat/shrinkWrap-in-document - [`4e0b15d`](https://github.com/AppFlowy-IO/AppFlowy/commit/4e0b15d0013ee7c9993cade2d9c915fc7fc70bfd) fix: clean up code and minor fixes - [`b5cdf21`](https://github.com/AppFlowy-IO/AppFlowy/commit/b5cdf21a99186390cdca05ec669aae92c5a988d0) test: add test w/ load more option - [`a95a95e`](https://github.com/AppFlowy-IO/AppFlowy/commit/a95a95e15dbd19e5eaeb22cb323bcd1483044a1d) fix: reinstate pageview & clean unused code - [`5ba7918`](https://github.com/AppFlowy-IO/AppFlowy/commit/5ba79189e46cc90e754c66a94335616ad11fad51) fix: clean database tab bar view ### 📊 Changes **12 files changed** (+477 additions, -299 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/document/document_with_database_test.dart` (+104 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/board/presentation/board_page.dart` (+13 -17) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/application/grid_bloc.dart` (+42 -18) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/grid_page.dart` (+188 -154) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/footer/grid_footer.dart` (+41 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/row/row.dart` (+14 -11) 📝 `frontend/appflowy_flutter/lib/plugins/database/tab_bar/tab_bar_view.dart` (+61 -85) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/built_in_page_widget.dart` (+4 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/database/database_view_block_component.dart` (+1 -6) 📝 `frontend/appflowy_flutter/lib/workspace/application/view/view_ext.dart` (+7 -5) ➕ `frontend/resources/flowy_icons/16x/load_more.svg` (+1 -0) 📝 `frontend/resources/translations/en.json` (+1 -0) </details> ### 📄 Description - [x] shrinkWrap inline grids in Documents - [x] tests for inline grids in Documents w. more than 25 rows ### Feature Preview https://github.com/user-attachments/assets/65cde122-7041-4596-a657-eeadd4b5796e #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] 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:20:33 +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#7641
No description provided.