Commit Graph

1153 Commits

Author SHA1 Message Date
Richard Shiue
d6cbbf3c2f
chore: date cell & header editor UI + move to theme.of(context).texttheme (#1473)
* chore: textstyles

* chore: sizing
2022-11-27 17:24:04 +08:00
Nathan.fooo
182bfae5ad
fix: filter UI bugs (#1489)
* chore: remove the add filter button if there is no filters can not be added

* fix: update field info after filter was changed

* chore: update filter choicechip ui

* chore: insert and delete one by one to keep the delete/insert index is right

* chore: show filter after creating the default filter

* chore: update textfield_tags version to calm the warnings

* chore: try to fix potential fails on backend test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 14:47:11 +08:00
Nathan.fooo
69a7ae5201
Implement Grid's filter UI (#1474)
* fix: border of field cell

* chore: add filter button

* chore: refactor setting button event

* chore: notify row did changed with filter configuration

* chore: add filter bloc test

* chore: config add filter button

* chore: create filter

* chore: load filters and update corresponding field property

* chore: add filter choice chip

* chore: config choice chip ui

* chore: send notification when filter updated

* chore: update filter after update field type option data

* fix: remove/add filter when update field's type option

* chore: create home setting bloc to save the setting of the home screen

* chore: add filter test

* chore: edit text filter ui

* fix: filter cell bugs

* fix: insert row out of bound

* chore: update setting icon in grid

* chore: shrink wrap the filter list

* refactor: extract row container from row cache

* chore: disable split-debuginfo

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-26 21:28:08 +08:00
Richard Shiue
63059ea39d
chore: tints depend on light and dark theme (#1470) 2022-11-22 20:06:32 +08:00
Richard Shiue
5a8f1db5a6
fix: divider colors for top and bottom border widgets (#1468) 2022-11-22 20:01:16 +08:00
Richard Shiue
a8dc55b4f3
chore: use theme.of(context) text theme in settings and around app (#1466)
* chore: use theme.of(context) text theme in settings and around app

* chore: add textDecoration to FlowyText
2022-11-22 20:00:21 +08:00
Richard Shiue
67a253c9c7
fix: fix colors for buttons and allow more customization (#1465) 2022-11-21 08:23:37 +08:00
Richard Shiue
dc462b3847
chore: use theme.of(context) text theme in shared widgets (#1460) 2022-11-19 18:00:08 +08:00
Richard Shiue
81bc31d1b1
chore: use theme.of(context) text theme in FlowyText (#1463) 2022-11-19 17:53:30 +08:00
Lucas.Xu
9c40a501fe Merge remote-tracking branch 'origin/main' into image_selection_area 2022-11-18 09:19:49 +08:00
Richard Shiue
f00a78746e
chore: add textTheme to AppTheme (#1448)
* chore: add textTheme to AppTheme

* chore: extend scaled font size options

* chore: add text styles to extension and rename extension to AFThemeExtension

* chore: use 2021 material design text style tokens
2022-11-17 15:28:57 +08:00
Richard Shiue
eb35fb25af
feat: initial steps to allow changing the app font (#1433)
* feat: initial steps to allow customizing app font

* chore: remove unnecessary factory constructor
2022-11-16 14:40:30 +08:00
Richard Shiue
bbd64fae81
refactor: appflowy theme system pt. 1 (#1407)
* refactor: port theme provider to bloc

* refactor: port from custom theme type enum to material design's brightness

* chore: add custom color extension to ThemeData

* refactor: use Theme.of(context) when trying to get theme colors

* refactor: toggle widget code refactor

* refactor: flowy hover style refactor

* refactor: flowy icon refactor

* fix: regression on sidebar tooltip text from #1210

* chore: read color from theme.of

* chore: quick access to custom color

* fix: dart test

* fix: scrollbar regression

* chore: fix flutter lint

* chore: fix grid bloc test

Co-authored-by: appflowy <annie@appflowy.io>
2022-11-10 14:22:18 +08:00
Lucas.Xu
b6ad0ba597 chore: update changelog 2022-11-09 16:06:55 +08:00
Lucas.Xu
9b56cbb648 fix: export error on Web platform 2022-11-09 16:00:07 +08:00
Lucas.Xu
e20ce9052a feat: implement theme customizer showcase 2022-11-09 15:36:30 +08:00
Lucas.Xu
853be71bf5 feat: implement initalize editor from json and markdown 2022-11-09 15:06:36 +08:00
Lucas.Xu
9a908abfdd feat: implement save document to markdown 2022-11-09 14:36:55 +08:00
Lucas.Xu
205b5f2c21 feat: implement save document to json 2022-11-09 11:50:08 +08:00
Lucas.Xu
064ed16a7a feat: implement drawer and simple editor 2022-11-09 11:37:26 +08:00
Lucas.Xu
8a53abef3f chore: update version and documentation 2022-11-09 11:37:06 +08:00
Lucas.Xu
17536fdecb feat: implement paste markdown text 2022-11-09 09:50:00 +08:00
Lucas.Xu
eb7356474c feat: integate appflowy_editor markdown codec into appflowy 2022-11-08 21:43:51 +08:00
Lucas.Xu
76d1267aa5 feat: remove the codec code from main project 2022-11-08 21:36:51 +08:00
Lucas.Xu
888c1b86f0 test: markdown decoder test 2022-11-08 21:34:27 +08:00
Lucas.Xu
4622a412b7 feat: markdown to document 2022-11-08 20:10:09 +08:00
Lucas.Xu
fc35f74751 feat: markdown to delta 2022-11-08 17:19:14 +08:00
Lucas.Xu
f6e1f2185e chore: remove unused code 2022-11-08 15:55:02 +08:00
Lucas.Xu
2e7f803e02 test: markdown encoder test 2022-11-08 15:44:40 +08:00
Lucas.Xu
9eaa79b558 feat: document to markdown 2022-11-08 15:44:10 +08:00
Lucas.Xu
c85ab276e9 feat: delta to markdown 2022-11-08 14:47:10 +08:00
Lucas.Xu
b15ed56008 fix: #1413 [Bug] Azrty keyboard not opening menu when typing / 2022-11-07 16:46:25 +08:00
Richard Shiue
fcd214b1c0
fix: lint unhappy with unused import (#1412) 2022-11-04 22:15:03 +08:00
Eakam
cd8e4ddf00
fix: disappearing hover effect on popover trigger (#1403) 2022-11-01 21:01:35 +08:00
wanderer163
1262653144
fix: typos and grammar (#1408)
Co-authored-by: arpitpandey0209 <arpit100.700@rediffmail.com>
2022-11-01 20:51:03 +08:00
Nathan.fooo
3fbcd928db
fix: padding for edit field (#1400) 2022-10-30 19:31:53 +08:00
Lucas.Xu
6130dfe36a feat: implement auto focus 2022-10-30 10:34:55 +08:00
Lucas.Xu
10541502b8 chore: pick release/0.0.6 to main 2022-10-29 17:00:40 +08:00
Lucas.Xu
95fdfd7da2
Merge pull request #1390 from LucasXu0/fix_enter_key_handler
fix: remove the unnecessary operation in enter key handler
2022-10-29 16:56:07 +08:00
Lucas.Xu
4a48a2af5a fix: remove the unnecessary operation in enter keyhandler 2022-10-29 15:16:31 +08:00
Sean Riley Hawkins
4d89b7a24e
test: scroll service test for editor 2022-10-28 21:25:04 +08:00
Lucas.Xu
b6dc18ba32 chore: update appflowy_editor CHANGELOG 2022-10-27 15:30:19 +08:00
Lucas.Xu
9c24597bbd
Merge pull request #1380 from LucasXu0/appflowy_editor_0_0_7
appflowy editor 0.0.7
2022-10-27 15:23:17 +08:00
Lucas.Xu
ea46272b49
Merge pull request #1373 from LucasXu0/fix_checkbox_copy
fix: copy link and code style
2022-10-27 15:22:54 +08:00
Lucas.Xu
ac36d76eed chore: update version 0.0.7 2022-10-27 14:53:15 +08:00
Lucas.Xu
90b9456b0b chore: update documentation for customizing a theme 2022-10-27 14:52:17 +08:00
Lucas.Xu
862ba3173a chore: update main.dart 2022-10-27 14:08:54 +08:00
Lucas.Xu
76cdb689fb chore: update language for bn_BN 2022-10-27 14:00:24 +08:00
Lucas.Xu
799ceb432f fix: copy link and code style 2022-10-26 20:14:35 +08:00
Lucas.Xu
c7c9048fe3
Merge pull request #1364 from LucasXu0/adapt_dart_mode
feat: adapt dark mode
2022-10-26 14:55:37 +08:00
Utsav Paul
7e2a0144a1
feat: added new translation (bn_BN) to appflowy-editor (#1356)
* Create intl_bn_BN.arb

* Update intl_bn_BN.arb
2022-10-26 14:52:53 +08:00
Lucas.Xu
e7adc3bcbf fix: selection menu show in wrong position 2022-10-26 14:36:00 +08:00
Lucas.Xu
381913307c fix: copy selection exception 2022-10-26 11:54:21 +08:00
Lucas.Xu
799ed2fdb9 feat: custom upload image menu style 2022-10-26 11:47:38 +08:00
Lucas.Xu
a68903918c feat: custom link menu style 2022-10-26 11:43:10 +08:00
Lucas.Xu
a702c06dc8 feat: custom context menu style 2022-10-26 11:01:25 +08:00
Lucas.Xu
fac76ac5b8 feat: custom selection menu style 2022-10-26 10:52:30 +08:00
Lucas.Xu
23a65bfa2a feat: customize appflowy editor selection menu style 2022-10-26 10:16:14 +08:00
Lucas.Xu
8656cfeb1e chore: add extension for themedata 2022-10-25 22:15:31 +08:00
Lucas.Xu
c5cea81be2 feat: integrate appflowy editor dark mode 2022-10-25 21:58:44 +08:00
Lucas.Xu
dde50d32d6 feat: refactor theme plugin, use themedata extension 2022-10-25 21:35:44 +08:00
Lucas.Xu
cdee706f46 feat: refactor theme plugin, use themedata extension 2022-10-25 20:22:38 +08:00
Richard Shiue
1e6c4a4d88
feat: introduce a default font (#1210)
* style: code auto-format

* feat: introduce default poppins font

* chore: port more const textstyles to shared styles
2022-10-25 19:49:58 +08:00
Lucas.Xu
68da3955c1 fix: disable toolbar hover color 2022-10-25 14:41:50 +08:00
Lucas.Xu
3fb997af84 feat: support dark mode for number-list and bulleted-list 2022-10-25 14:40:18 +08:00
Lucas.Xu
50814b2bee test: add test for format_rich_text_style.dart 2022-10-25 11:13:14 +08:00
Alexandre Moreau
5d2ff8e07c fix: remove attribute if it already exists on the node 2022-10-25 00:42:31 +02:00
Lucas.Xu
aa58c79dbb
feat: support markdown export and customize save path (#1339) 2022-10-23 15:05:51 +08:00
Åke Engelbrektson
aa8addf4a3
feat: Add Swedish translation (#1333)
* Create sv.json

* Update app_widget.dart

* Update language.dart
2022-10-23 13:14:08 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
Lucas.Xu
2d66dfabe8 fix: the old context menu didn't dismiss after double-tap the other place 2022-10-19 16:49:41 +08:00
Lucas.Xu
585e71aa9d feat: update image builder to support board selection style 2022-10-19 16:35:52 +08:00
Lucas.Xu
833a6cd95f
Merge pull request #1314 from LucasXu0/feature/context_menu
feat: implement context menu
2022-10-19 08:14:00 +07:00
Lucas.Xu
c793eb67fc test: skip the secondary tap test on Windows 2022-10-18 19:26:50 +08:00
Lucas.Xu
d90414a8c1 fix: could not copy and paste the plain text 2022-10-18 19:23:04 +08:00
Lucas.Xu
1eaeb2c4c1 feat: implement new shortcut: press Escape to exit editing mode 2022-10-18 17:22:12 +08:00
Lucas.Xu
793d3808ec test: add context menu test 2022-10-18 16:58:09 +08:00
Lucas.Xu
9e40b7f992 Merge remote-tracking branch 'origin/main' into feature/context_menu 2022-10-18 16:17:29 +08:00
Lucas.Xu
30700cd513 feat: implement context menu 2022-10-18 15:44:32 +08:00
Nathan.fooo
230eb5fd55
fix: run bloc_test (#1286)
* fix: run bloc_test

* fix: dart_test ci  workflow

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 23:34:56 +08:00
Jed Aureus Gonzales
8a94bbd602
feat: added support for markdown to link an image (#1277)
* feat: added support for markdown to link an image

#1064

* fix: fixed failing FlowyEditor test

#1064

* chore: add documentation

* chore: add documentation

* chore: update locale

* Refactor/rename crate (#1275)

* chore: addressed review comments

#1064

* chore: removed unused import

* fix: compile error and wrong image attributes

Co-authored-by: appflowy <annie@appflowy.io>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2022-10-15 17:04:02 +08:00
Lucas.Xu
c7bdd4bcc2
Merge pull request #1273 from LucasXu0/transform
feat: notify transaction instead of operations
2022-10-14 11:36:28 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
Lucas.Xu
f3eeb471e7 refactor: abstract the common transaction to commands 2022-10-13 19:46:22 +08:00
Lucas.Xu
71b1769eee feat: notify transaction instead of operations 2022-10-13 11:55:16 +08:00
Lucas.Xu
8895430d9e chore: update locale 2022-10-13 11:30:02 +08:00
Lucas.Xu
d80a67bdda
refactor: implement appflowy editor core 2022-10-11 12:02:46 +08:00
Lucas.Xu
f469253916 chore: update README.MD 2022-10-11 09:36:04 +08:00
Lucas.Xu
06173195c5 chore: dart fix 2022-10-11 09:33:16 +08:00
Minho Yi
68344ef718
Feat: Translation for Korean ko_KR (#1262)
* feat: add translation ko_KR.json

* feat: add ko Locale
2022-10-11 09:27:20 +08:00
Lucas.Xu
b5e9bf6ee3 test: operation.dart 2022-10-10 23:33:58 +08:00
Lucas.Xu
19bf8e3b7a refactor: move transaction.dart to core/transform 2022-10-10 20:07:52 +08:00
Lucas.Xu
319875529f refactor: move operation.dart to core/transform 2022-10-10 16:31:28 +08:00
Lucas.Xu
805bdc9d32 refactor: move document.dart to core/document 2022-10-10 14:58:28 +08:00
Lucas.Xu
b10ff5e68e refactor: move built_in_attributes_key to core/legacy 2022-10-10 14:53:36 +08:00
Lucas.Xu
5e7507c8e7 refactor: rename state_tree to document and move document to core/state 2022-10-10 12:08:13 +08:00
Lucas.Xu
d02c29426e refactor: move selection to core/location 2022-10-10 10:39:42 +08:00
Lucas.Xu
b0257a626d refactor: move position to core/selection 2022-10-10 09:59:12 +08:00
Lucas.Xu
e095fd4181 refactor: move text_delta to core/document 2022-10-10 09:41:54 +08:00
Lucas.Xu
b9788bce09 refactor: move path to core/document 2022-10-09 23:53:18 +08:00
Lucas.Xu
7f92f8988f refactor: move node_iterator to core/document 2022-10-09 23:25:47 +08:00
Richard Shiue
9758fe51f8
fix: regression on hover effect persisting after closing menu (#1253)
* fix: regression on hover effect persisting after closing menu

* chore: reset onhover when FlowyHover get rebuild

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-09 22:50:35 +08:00
Ishan Pandhare
78b7027343
added new translation (hi_IN) to appflowy-editor (#1237)
feat: added new translation (hi_IN) to appflowy-editor
2022-10-09 16:11:46 +08:00
Ishan Pandhare
6c39b5b321
added translation for ru-RU (#1234)
feat: added translation for ru-RU
2022-10-09 16:11:05 +08:00
Lucas.Xu
a015c28e5a
Merge pull request #1232 from Ishanned/branch1
feat: added translation for de_DE
2022-10-09 16:09:15 +08:00
Lucas.Xu
cbb6b2d9b0 refactor: move attributes to core/document 2022-10-09 15:54:39 +08:00
Lucas.Xu
11eca2b3d9 refactor: move node to core/document 2022-10-09 14:30:55 +08:00
Nathan.fooo
ca8be6ab10
chore: replace overlay with popover (#1250) 2022-10-08 17:10:04 +08:00
Lucas.Xu
1841fb293e chore: temporarily remove the code that automatically formats when inserting text 2022-10-08 11:25:26 +08:00
Lucas.Xu
e9c0956c51 Merge remote-tracking branch 'origin/main' into tekdel/main
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/test/infra/test_raw_key_event.dart
2022-10-08 11:11:42 +08:00
Lucas.Xu
228a41d7ea Merge remote-tracking branch 'origin/main' into enzoftware/main
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/tex_block_node_widget.dart
2022-10-08 10:24:51 +08:00
vortixhead
fa9e32d86a
feat: limit max character length on select/multiselect options (#1246)
* Add maxLength of 30 characters and truncation to text fields

* Add dynamic height

* Add maxLength param

* Add maxLength in Rounded Field
2022-10-08 09:24:05 +08:00
Sarang S
2537a04fef
feat: Translation for Malayalam (ml_IN) (#1245) 2022-10-07 21:33:09 +08:00
Lucas.Xu
b9f6b62053
Merge pull request #1242 from LucasXu0/0.0.6
chore: flutter analyze and flutter format
2022-10-07 16:27:36 +08:00
appflowy
dff5e84ca5 chore: update appflowy_board version 2022-10-07 15:33:54 +08:00
Lucas.Xu
2d61581eb3 chore: flutter analyze and flutter format 2022-10-07 15:25:33 +08:00
Lucas.Xu
4abd74ed4b
Merge pull request #1240 from LucasXu0/0.0.6
chore: bump version to 0.0.6 (appflowy_editor)
2022-10-07 15:17:20 +08:00
Nathan.fooo
591d8a3872
Merge pull request #1241 from AppFlowy-IO/fix/1193
Fix/1193
2022-10-07 15:15:05 +08:00
appflowy
fa3f9c21fc fix: state of AppFlowyBoard is wrong after reordering the group 2022-10-07 14:42:40 +08:00
Lucas.Xu
323b56982b chore: bump version to 0.0.6 (appflowy_editor) 2022-10-07 12:24:10 +08:00
Lucas.Xu
e27e8e43e1 chore: update the menu item size for code_block, horizaontal_rule and tex_block 2022-10-07 11:39:49 +08:00
Lucas.Xu
e6d4f9e3f7 feat: implement horizontal rule 2022-10-07 11:24:39 +08:00
appflowy
73e81da356 fix: select card text 2022-10-06 22:26:18 +08:00
Lucas.Xu
d146bb6481 chore: fix compile error 2022-10-06 22:02:56 +08:00
Enzo Lizama
73a97fdbea fix: conflict merge 2022-10-05 23:55:01 -05:00
Enzo Lizama Paredes
d2121ed2b9
Merge branch 'main' into main 2022-10-05 23:53:58 -05:00
Enzo Lizama
90ac7970bd chore: remove dynamic methods 2022-10-05 23:49:41 -05:00
Enzo Lizama
bfe61ea09d test: node tests 2022-10-05 23:46:34 -05:00
Ishan Pandhare
454f33e0fb added translation for de_DE 2022-10-06 09:59:09 +05:30
Enzo Lizama
eaf396630c chore: url launcher test 2022-10-05 23:06:48 -05:00
Lucas.Xu
c9fc9e7497
Merge branch 'main' into latex 2022-10-06 10:32:38 +08:00
Lucas.Xu
09bf373e92 Merge branch 'main' into double_tilde_to_strikethrough
# Conflicts:
#	frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/markdown_syntax_to_styled_text.dart
#	frontend/app_flowy/packages/appflowy_editor/lib/src/service/shortcut_event/built_in_shortcut_events.dart
2022-10-06 10:08:50 +08:00
Lucas.Xu
d7d6729241
Merge pull request #1211 from citricacid2/main
feat: added markdown links
2022-10-06 09:59:16 +08:00
Lucas.Xu
562da32586
Merge pull request #1220 from citricacid2/num-list
feat: added numbered list to the slash menu
2022-10-05 22:31:22 +08:00
Ishan Pandhare
8ee5c6ed25
added translation for pt_PT (#1219) 2022-10-05 21:26:55 +08:00
Lucas.Xu
2501c15a8f chore: update l10n and fix selection_menu_widget_test 2022-10-05 21:07:45 +08:00
Enzo Lizama
fe524736ec test: add url launcher test 2022-10-04 22:40:15 -05:00
Enzo Lizama
b4aceec346 test: add mockito 2022-10-04 22:40:07 -05:00
Enzo Lizama
4acce447f2 test: add node extension test 2022-10-04 22:39:55 -05:00
Enzo Lizama
c0aa90b0b3 test: text style tests 2022-10-04 22:19:38 -05:00
Enzo Lizama
50ebaa3ab8 test: object tests 2022-10-04 17:59:30 -05:00
Enzo Lizama
7914949613 test: color tests 2022-10-04 17:59:20 -05:00
Enzo Lizama
dd15a49d76 test: add unit tests for attributes extensions 2022-10-04 11:38:34 -05:00
Enzo Lizama
bf9f6ac13f chore: small code improvements 2022-10-04 11:37:59 -05:00
Enzo Lizama
6ea3ea189e chore: remove unused imports 2022-10-04 11:37:40 -05:00
Ankur
176668049c
feat: Added fr_CA translation (#1212)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>

Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2022-10-04 20:30:45 +08:00
Ankur
069a23c96b
feat: Added hu-HU translation (#1214)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>

Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2022-10-04 20:30:06 +08:00
Ankur
c403e083cc
feat: Added id-ID translation (#1217)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>

Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2022-10-04 20:29:38 +08:00
Alexandre Moreau
d6cae56d74 test: add tests for double tilde to strikethrough 2022-10-04 01:01:24 +02:00
Alexandre Moreau
b52dfe12c2 feat: add doubleTildeToStrikethrough ShortcutEventHandler to built-in ShortcutEvents 2022-10-04 01:01:17 +02:00