[PR #374] [MERGED] Remove freezed files #4098

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/374
Author: @hieugao
Created: 2/23/2022
Status: Merged
Merged: 2/24/2022
Merged by: @appflowy

Base: mainHead: refactor/remove-freezed-files


📝 Commits (7)

  • a829d2a refactor: remove freezed files
  • a0654d8 chore: disable invalid_annotation_target warning
  • 6ae8efb ci: generate freezed files
  • 6e1c6d7 fix: cargo-make platforms, mac not macos
  • 288afbe ci: no more sed
  • d05e4bb chore: ignore freezed files
  • 0c9fc35 ci: refactor code generation

📊 Changes

20 files changed (+32 additions, -12862 deletions)

View changed files

📝 .github/workflows/dart_lint.yml (+6 -5)
📝 .github/workflows/dart_test.yml (+5 -4)
📝 frontend/app_flowy/.gitignore (+4 -0)
📝 frontend/app_flowy/analysis_options.yaml (+3 -0)
frontend/app_flowy/lib/user/application/sign_in_bloc.freezed.dart (+0 -771)
frontend/app_flowy/lib/user/application/sign_up_bloc.freezed.dart (+0 -1007)
frontend/app_flowy/lib/user/application/splash_bloc.freezed.dart (+0 -312)
frontend/app_flowy/lib/user/domain/auth_state.freezed.dart (+0 -487)
frontend/app_flowy/lib/workspace/application/app/app_bloc.freezed.dart (+0 -1273)
frontend/app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart (+0 -1214)
frontend/app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart (+0 -867)
frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart (+0 -541)
frontend/app_flowy/lib/workspace/application/home/home_bloc.freezed.dart (+0 -851)
frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart (+0 -767)
frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart (+0 -1061)
frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart (+0 -481)
frontend/app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart (+0 -1131)
frontend/app_flowy/lib/workspace/application/view/view_bloc.freezed.dart (+0 -1166)
frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart (+0 -891)
📝 frontend/scripts/makefile/flutter.toml (+14 -33)

📄 Description

I messed up #319 so I open this new PR. Link #338.

The reason for the sed... line is because I faced this problem -- https://github.com/dart-lang/build/issues/2835#issuecomment-702511142 when generating the files:
- [ ] Build Automation for Windows - I don't know what command is equivalent to sed in Windows


🔄 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/374 **Author:** [@hieugao](https://github.com/hieugao) **Created:** 2/23/2022 **Status:** ✅ Merged **Merged:** 2/24/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `refactor/remove-freezed-files` --- ### 📝 Commits (7) - [`a829d2a`](https://github.com/AppFlowy-IO/AppFlowy/commit/a829d2ac61418700ccab8f181c086c2a640459fc) refactor: remove `freezed` files - [`a0654d8`](https://github.com/AppFlowy-IO/AppFlowy/commit/a0654d8a412b838073bf9a84d55de92175ae569a) chore: disable `invalid_annotation_target` warning - [`6ae8efb`](https://github.com/AppFlowy-IO/AppFlowy/commit/6ae8efbdfe878e45e6e85d8303914fa545bc786d) ci: generate `freezed` files - [`6e1c6d7`](https://github.com/AppFlowy-IO/AppFlowy/commit/6e1c6d7a472ab6bc16609b6a92d158a1a11acb32) fix: `cargo-make` platforms, `mac` not `macos` - [`288afbe`](https://github.com/AppFlowy-IO/AppFlowy/commit/288afbe68bec7c5617502d7e6a280bcd9f7490bf) ci: no more `sed` - [`d05e4bb`](https://github.com/AppFlowy-IO/AppFlowy/commit/d05e4bbc825c3abff3d730916cd605122153a882) chore: ignore `freezed` files - [`0c9fc35`](https://github.com/AppFlowy-IO/AppFlowy/commit/0c9fc35cb3723704b69844147eab6748df59dc5f) ci: refactor code generation ### 📊 Changes **20 files changed** (+32 additions, -12862 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/dart_lint.yml` (+6 -5) 📝 `.github/workflows/dart_test.yml` (+5 -4) 📝 `frontend/app_flowy/.gitignore` (+4 -0) 📝 `frontend/app_flowy/analysis_options.yaml` (+3 -0) ➖ `frontend/app_flowy/lib/user/application/sign_in_bloc.freezed.dart` (+0 -771) ➖ `frontend/app_flowy/lib/user/application/sign_up_bloc.freezed.dart` (+0 -1007) ➖ `frontend/app_flowy/lib/user/application/splash_bloc.freezed.dart` (+0 -312) ➖ `frontend/app_flowy/lib/user/domain/auth_state.freezed.dart` (+0 -487) ➖ `frontend/app_flowy/lib/workspace/application/app/app_bloc.freezed.dart` (+0 -1273) ➖ `frontend/app_flowy/lib/workspace/application/doc/doc_bloc.freezed.dart` (+0 -1214) ➖ `frontend/app_flowy/lib/workspace/application/doc/share_bloc.freezed.dart` (+0 -867) ➖ `frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.freezed.dart` (+0 -541) ➖ `frontend/app_flowy/lib/workspace/application/home/home_bloc.freezed.dart` (+0 -851) ➖ `frontend/app_flowy/lib/workspace/application/home/home_listen_bloc.freezed.dart` (+0 -767) ➖ `frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart` (+0 -1061) ➖ `frontend/app_flowy/lib/workspace/application/menu/menu_user_bloc.freezed.dart` (+0 -481) ➖ `frontend/app_flowy/lib/workspace/application/trash/trash_bloc.freezed.dart` (+0 -1131) ➖ `frontend/app_flowy/lib/workspace/application/view/view_bloc.freezed.dart` (+0 -1166) ➖ `frontend/app_flowy/lib/workspace/application/workspace/welcome_bloc.freezed.dart` (+0 -891) 📝 `frontend/scripts/makefile/flutter.toml` (+14 -33) </details> ### 📄 Description I messed up #319 so I open this new PR. Link #338. ~The reason for the `sed...` line is because I faced this problem -- https://github.com/dart-lang/build/issues/2835#issuecomment-702511142 when generating the files:~ ~- [ ] Build Automation for Windows - I don't know what command is equivalent to `sed` in Windows~ --- <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:17 +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#4098
No description provided.