[PR #7622] [MERGED] fix: numbered list generated by ai should keep the same index as the input #8001

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7622
Author: @LucasXu0
Created: 3/26/2025
Status: Merged
Merged: 3/26/2025
Merged by: @richardshiue

Base: mainHead: ai_numbered_list


📝 Commits (2)

  • 85dfc2c fix: numbered list generated by ai should keep the same index as the input
  • 597c40a Merge branch 'main' into ai_numbered_list

📊 Changes

3 files changed (+77 additions, -12 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart (+49 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart (+27 -8)

📄 Description

Feature Preview

Screenshot 2025-03-26 at 11 46 20 Screenshot 2025-03-26 at 11 59 22

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/7622 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/26/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `ai_numbered_list` --- ### 📝 Commits (2) - [`85dfc2c`](https://github.com/AppFlowy-IO/AppFlowy/commit/85dfc2c5f83f6f6b5595bc08362d00808d4122c9) fix: numbered list generated by ai should keep the same index as the input - [`597c40a`](https://github.com/AppFlowy-IO/AppFlowy/commit/597c40adfa7ea8eed6bf9e53629a0c6a62a3a014) Merge branch 'main' into ai_numbered_list ### 📊 Changes **3 files changed** (+77 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart` (+49 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart` (+27 -8) </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 <img width="1095" alt="Screenshot 2025-03-26 at 11 46 20" src="https://github.com/user-attachments/assets/caa634e1-933a-46a2-a071-673bed35ffaa" /> <img width="1096" alt="Screenshot 2025-03-26 at 11 59 22" src="https://github.com/user-attachments/assets/03e81b31-9218-4a44-9a62-37d6b66e95b9" /> <!--- 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:22:10 +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#8001
No description provided.