[PR #5779] [MERGED] chore: enable billing #7001

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5779
Author: @appflowy
Created: 7/22/2024
Status: Merged
Merged: 7/24/2024
Merged by: @appflowy

Base: mainHead: billing


📝 Commits (10+)

  • 67e18bb chore: enable billing
  • aa2e6c1 chore: adjust bright mode UI
  • cfbec39 chore: show corresponding error in sidebar
  • fa38359 chore: dismiss dialog in ai writter when hit ai response
  • 865dab9 fix: improvements from test session
  • 403f7a0 chore: ai error message for database
  • 49f18fc chore: different prompt for workspace owner
  • e56f88a feat: cancel plan survey
  • 921f275 chore: merge changes
  • 6bf03b1 chore: show ai repsonse limit on chat

📊 Changes

34 files changed (+1158 additions, -432 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_ai_message_bloc.dart (+47 -23)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart (+51 -9)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart (+28 -20)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/summary.dart (+24 -7)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/translate.dart (+21 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_util.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/open_ai_image_widget.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/ai_limit_dialog.dart (+5 -27)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/auto_completion_node_widget.dart (+29 -31)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/_page_style_cover_image.dart (+6 -12)
📝 frontend/appflowy_flutter/lib/plugins/shared/share/_shared.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/shared/feature_flags.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/user/application/ai_service.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/user/application/user_service.dart (+14 -5)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/billing/settings_billing_bloc.dart (+5 -4)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/plan/settings_plan_bloc.dart (+5 -2)
📝 frontend/appflowy_flutter/lib/workspace/application/settings/plan/workspace_subscription_ext.dart (+9 -1)
📝 frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dart (+18 -6)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_footer.dart (+18 -12)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_toast.dart (+197 -119)

...and 14 more files

📄 Description

Feature Preview


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/5779 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 7/22/2024 **Status:** ✅ Merged **Merged:** 7/24/2024 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `billing` --- ### 📝 Commits (10+) - [`67e18bb`](https://github.com/AppFlowy-IO/AppFlowy/commit/67e18bbe94b0443dfeebfb8b33a31def6bb67a43) chore: enable billing - [`aa2e6c1`](https://github.com/AppFlowy-IO/AppFlowy/commit/aa2e6c16f8bc72ec54cae66dc62aa1d4bbcdd35d) chore: adjust bright mode UI - [`cfbec39`](https://github.com/AppFlowy-IO/AppFlowy/commit/cfbec39ef71a72e4bfe930c5627f9779038d1738) chore: show corresponding error in sidebar - [`fa38359`](https://github.com/AppFlowy-IO/AppFlowy/commit/fa38359c0a6000e1a73573e30c4dddd67511b897) chore: dismiss dialog in ai writter when hit ai response - [`865dab9`](https://github.com/AppFlowy-IO/AppFlowy/commit/865dab92c886df683c8ba9d4b7d3ea9a30ae8aaf) fix: improvements from test session - [`403f7a0`](https://github.com/AppFlowy-IO/AppFlowy/commit/403f7a0934b223d34e0f72ade11d88216246d1ed) chore: ai error message for database - [`49f18fc`](https://github.com/AppFlowy-IO/AppFlowy/commit/49f18fc5c535c18a52ced7f21b5ace0738f823c3) chore: different prompt for workspace owner - [`e56f88a`](https://github.com/AppFlowy-IO/AppFlowy/commit/e56f88a148bca210adca9f142290b6062aa02276) feat: cancel plan survey - [`921f275`](https://github.com/AppFlowy-IO/AppFlowy/commit/921f2758e2782879615c57ec7cccedee5713026d) chore: merge changes - [`6bf03b1`](https://github.com/AppFlowy-IO/AppFlowy/commit/6bf03b130e137ef5b1289491436eccbf0f118fef) chore: show ai repsonse limit on chat ### 📊 Changes **34 files changed** (+1158 additions, -432 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_ai_message_bloc.dart` (+47 -23) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart` (+51 -9) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart` (+28 -20) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/summary.dart` (+24 -7) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/translate.dart` (+21 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_util.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/open_ai_image_widget.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/ai_limit_dialog.dart` (+5 -27) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/auto_completion_node_widget.dart` (+29 -31) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/page_style/_page_style_cover_image.dart` (+6 -12) 📝 `frontend/appflowy_flutter/lib/plugins/shared/share/_shared.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/shared/feature_flags.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/user/application/ai_service.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/user/application/user_service.dart` (+14 -5) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/billing/settings_billing_bloc.dart` (+5 -4) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/plan/settings_plan_bloc.dart` (+5 -2) 📝 `frontend/appflowy_flutter/lib/workspace/application/settings/plan/workspace_subscription_ext.dart` (+9 -1) 📝 `frontend/appflowy_flutter/lib/workspace/application/sidebar/billing/sidebar_plan_bloc.dart` (+18 -6) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_footer.dart` (+18 -12) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/footer/sidebar_toast.dart` (+197 -119) _...and 14 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:17:39 +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#7001
No description provided.