Commit graph appflowy-editor/test/core/document
Author SHA1 Message Date
Lucas
41335c54ae
chore: merge flutter 3_27_4 into main branch (#1228)
* chore: merge flutter/3_27_4 to main branch

* chore: code format

* fix: unit tests
2026-07-27 15:37:27 +08:00
Lucas
f882d958d9
feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173)
* chore: update Flutter SDK to version 3.38.5

Upgrade Flutter from 3.32.4 to 3.38.5 to meet awesome_lints
requirement for Dart SDK 3.10.0+. Update CI workflow to use
the new Flutter version and add custom_lint verification step.

* chore: integrate awesome_lints with custom lint rules

Add awesome_lints and custom_lint dependencies, configure
analysis_options.yaml to enable newline lint rules: newline_before_case,
newline_before_constructor, newline_before_method, and newline_before_return.

* style: apply newline formatting per awesome_lints rules

Add blank lines before case clauses, return statements, method
declarations, and constructors throughout the codebase to comply
with awesome_lints newline rules.

* fix: replace deprecated translate with leftTranslateByDouble

Update Matrix4.translate() calls to use the new leftTranslateByDouble()
API to resolve deprecation warnings in Flutter SDK 3.38.5.

* chore: improve code readability with blank line formatting
2025-12-23 15:12:57 +08:00
Lucas
450912305a
fix: use retain instead of insert/delete for same attr (#937)
* fix: use retain instead of insert/delete for same attr

* test: add delta diff test
2024-10-17 11:07:53 +08:00
Lucas
8582191b06
feat: support moving a block to become a child of another block (#896)
* feat: support moving a block to become a child of another block

* fix: disable moving a block to its children

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* feat: optimize moving logic

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2024-09-20 16:09:03 +08:00
LinJi
c3c700524c
fix: document getting first or last node exception (#885) 2024-09-11 17:51:35 +08:00
Lucas.Xu
c8cd4071e3
feat: combine diff operations (#759) 2024-04-08 11:52:45 +08:00
Lucas.Xu
cbb33469cd
feat: add diff document/nodes function (#748)
* feat: transform operations

* feat: add document diff function
2024-03-19 17:38:14 +08:00
LinJi
87068d1df9
fix: node_iterator toList encounter Dangling Node trigger dead loop. (#623)
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-01 14:28:21 +08:00
Lucas.Xu
b602141d32 fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
Lucas.Xu
dd59eb5210
feat: implement delta diff and provide external values (#444)
* feat: support diff funciton in delta

* feat: support diff funciton in delta
2023-09-11 11:29:25 +08:00
Mathias Mogensen
36d6c779be test: coverage for text_delta.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
668feddf56 test: doc node.dart and coverage path.dart 2023-08-17 13:13:45 +08:00
Mathias Mogensen
b2f6c9c206 test: increase coverage for document.dart 2023-08-17 13:13:45 +08:00
Lucas.Xu
5f136df356
feat: remove the reference of the deprecated values (#304)
* feat: remove the reference of the deprecated values

* chore: add migration guide
2023-07-12 13:21:54 +08:00
Lucas.Xu
2b2bce4f3c
fix: analysis issues (#283) 2023-07-04 11:22:35 +08:00
Lucas.Xu
eec1d19de7
fix: the cursor is inaccuracy when the text contains special emoji (#238) 2023-06-22 15:06:53 +08:00
Lucas.Xu
c573b9a80f
feat: rename delta and document (#153)
* chore: rename delta

* fix: rename attributes to data

* chore: rename document to page

* fix: flutter analyze
2023-06-01 14:43:12 +08:00
Lucas.Xu
8e878012a7 chore: refactor the node.dart 2023-05-04 10:35:54 +08:00
Lucas.Xu
c3aadf9f4a feat: refactor the node 2023-05-03 21:00:50 +08:00
Lucas.Xu
19ab87cf8a test: migrate all the test cases 2023-05-03 20:13:05 +08:00
Mathias Mogensen
cf5e83d370
chore: add linters conforming to style guide (#59)
Relates: #56 #57
2023-04-12 20:37:50 +08:00
Lucas.Xu
7885d5f1ff
chore: sync the latest code from AppFlowy (#41)
* chore: sync latest code from appflowy

* chore: sync latest tests from appflowy
2023-04-06 15:55:23 +08:00
Lucas.Xu
682e3dce53
chore: pre-release 0.1.1 (#3) 2023-03-09 15:38:54 +08:00
Lucas.Xu
5db0480075 chore: update LICENSE 2023-02-05 11:43:51 +08:00