[PR #400] [CLOSED] Put business logic in BLoC #4117

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/400
Author: @MikeWallaceDev
Created: 3/1/2022
Status: Closed

Base: mainHead: put_business_logic_in_bloc


📝 Commits (2)

  • cfec033 refactor: Put business logic in BLoC
  • bcc8029 refactor: Put business logic in BLoC

📊 Changes

5 files changed (+61 additions, -93 deletions)

View changed files

📝 frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart (+33 -13)
📝 frontend/app_flowy/lib/workspace/application/trash/trash_bloc.dart (+25 -8)
📝 frontend/app_flowy/lib/workspace/application/trash/trash_listener.dart (+1 -33)
📝 frontend/app_flowy/lib/workspace/infrastructure/deps_resolver.dart (+2 -10)
frontend/app_flowy/lib/workspace/infrastructure/repos/document_repo.dart (+0 -29)

📄 Description

refactor: Put business logic in BLoC

remove ThrashRepo class
delete trash_repo.dart

add file : trash_listener.dark
move TrashListener class to trash_listener.dart


🔄 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/400 **Author:** [@MikeWallaceDev](https://github.com/MikeWallaceDev) **Created:** 3/1/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `put_business_logic_in_bloc` --- ### 📝 Commits (2) - [`cfec033`](https://github.com/AppFlowy-IO/AppFlowy/commit/cfec033101856d04d452fcda29419e6ac11ea99b) refactor: Put business logic in BLoC - [`bcc8029`](https://github.com/AppFlowy-IO/AppFlowy/commit/bcc8029ee0adb05156f10a3a5bb97d04d2b97521) refactor: Put business logic in BLoC ### 📊 Changes **5 files changed** (+61 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart` (+33 -13) 📝 `frontend/app_flowy/lib/workspace/application/trash/trash_bloc.dart` (+25 -8) 📝 `frontend/app_flowy/lib/workspace/application/trash/trash_listener.dart` (+1 -33) 📝 `frontend/app_flowy/lib/workspace/infrastructure/deps_resolver.dart` (+2 -10) ➖ `frontend/app_flowy/lib/workspace/infrastructure/repos/document_repo.dart` (+0 -29) </details> ### 📄 Description refactor: Put business logic in BLoC remove ThrashRepo class delete trash_repo.dart add file : trash_listener.dark move TrashListener class to trash_listener.dart --- <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:22 +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#4117
No description provided.