Commit Graph

981 Commits

Author SHA1 Message Date
Nathan.fooo
80d1cbabe0
feat: support multi-select option filter (#1501)
Co-authored-by: nathan <nathan@appflowy.io>
2022-11-28 22:49:13 +08:00
Lucas.Xu
43031b50eb feat: update bold text style 2022-11-28 21:31:33 +08:00
Nathan.fooo
bd32ce5543
Feat: support single select option filter (#1494)
* feat: support select option filter

* chore: select option filter ui

* chore: support edit single select filter

* chore: add flutter tests

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-28 19:41:57 +08:00
Lucas.Xu
0e55cd07a4 chore: fix typo 2022-11-28 18:32:32 +08:00
Lucas.Xu
14ac2db06d Merge remote-tracking branch 'origin/main' into customize_font_size 2022-11-28 18:11:06 +08:00
Lucas.Xu
a162b02476 feat: convert provider to cubit #1479 2022-11-28 18:02:05 +08:00
Lucas.Xu
6d6e61956a feat: Customize Font Size In AppFlowy #1479 2022-11-28 15:34:55 +08:00
Lucas.Xu
37b119172b feat: Customize Font Size In AppFlowy #1479 2022-11-28 13:26:43 +08:00
Lucas.Xu
0ba26e0a84 feat: Customize Font Size In AppFlowy #1479 2022-11-28 10:37:37 +08:00
Nathan.fooo
c47f755155
feat: support checkbox filter (#1492)
* feat: support checkbox filter

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 23:44:23 +08:00
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
b6773a732b chore: add filter tests 2022-11-27 16:53:42 +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
Lucas.Xu
462daee934
fix: #1467 Editor's left and right margins is too rigid (#1471) 2022-11-22 20:06:54 +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
dcf6628aa3
feat: add divider between sidebar and the page (#1450) 2022-11-19 19:05:09 +08:00
Richard Shiue
81bc31d1b1
chore: use theme.of(context) text theme in FlowyText (#1463) 2022-11-19 17:53:30 +08:00
Richard Shiue
d7f14db6ab
chore: use theme.of(context) text theme in board (#1453) 2022-11-17 16:48:48 +08:00
Nathan.fooo
fc10ee2d6b
Fix filter test (#1459)
* chore: move grid_view_editor.rs to view_editor folder

* chore: hide invisible rows

* fix: lock issue

* fix: flutter test potential failed

* chore: separate group tests

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-17 16:44:17 +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
Nathan.fooo
276df8202a
Merge pull request #1456 from AppFlowy-IO/filter_bloc
Add Filter bloc
2022-11-16 08:50:03 +08:00
nathan
0ee27097ce chore: add fitler bloc test 2022-11-15 23:17:01 +08:00
nathan
f1ac38dd59 chore: add filter service 2022-11-15 13:04:30 +08:00
Richard Shiue
66ed712952
feat: Add new page icon and refactor (#1449)
* refactor: port to popover action list for add new page

* feat: add icons to menu items for add new page

* chore: change translation for Doc to Document

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-15 11:45:23 +08:00
nathan
3dddd907b0 chore: create filter bloc 2022-11-15 11:12:30 +08:00
nathan
1ee1f9c775 chore: fix ref 2022-11-15 10:46:26 +08:00
nathan
400220a312 chore: rename doc folder to document 2022-11-15 10:22:35 +08:00
Nathan.fooo
c3a41ba9ad
Merge pull request #1452 from AppFlowy-IO/feat/filter_date
Feat/filter date
2022-11-14 17:38:43 +08:00
Richard Shiue
aaadab434c fix: use surface color of colorscheme as editor's background color 2022-11-14 15:31:39 +08:00
appflowy
0e137f12f5 chore: date with utc 2022-11-14 12:03:22 +08:00
appflowy
6aba344583 chore: rename some pb structs 2022-11-14 09:59:23 +08:00
Onyedika Israel Ukwueze
a1e0282df0
fix: NetworkType null safety issues (#1435)
* fix: Networktype null safety issues

Networktype returns nulls when the connectivity result is vpn resulting to null safety issues.
Implemented a case for when the connectivity result is vpn to resolve this issue.

* chore: update connectivity_plus_platform_interface ^1.2.2

* chore: update network state on Rust side

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-11-13 11:57:47 +08:00
Nathan.fooo
dd1dcba599
chore: return user setting (#1438) 2022-11-11 17:24:10 +08:00
Richard Shiue
5b4a93ee34
test: split test into widget and unit test (#1432) 2022-11-11 12:42:20 +08:00
Nathan.fooo
f426745094
fix: await the cell dispose (#1437) 2022-11-11 12:41:53 +08:00
Nathan.fooo
840095d73c
fix: create grid for each test (#1431) 2022-11-10 20:22:37 +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
Nathan.fooo
42c2c4738a
chore: remove flutter quill (#1426) 2022-11-09 11:07:29 +08:00
Lucas.Xu
cdf6f1b38a
Merge pull request #1424 from LucasXu0/markdown
Implement appflowy editor document to markdown
2022-11-09 09:50:15 +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
506f789318 chore: set theme.surface as editor's background color 2022-11-08 10:00:28 +08:00
Nathan.fooo
20f527f4eb
Merge pull request #1384 from Cyrine-benabid/fix-option_button_doesnt-close_popover
Close popover on text field tap
2022-11-07 17:36:44 +08:00
cyrine-benabid
9c8d00bb61
fix: request focus when InputTextField is added (#1394)
* fix request focus when InputTextField is added

* style: fix indentation
2022-11-01 20:56:42 +08:00
Cyrine-benabid
c7d8a0b7c3 refactor: remove useless popoverMutex from _AddOptionButton widget 2022-10-31 06:48:28 +01:00
Cyrine-benabid
286c89bf74 refactor: remove useless onTap and don't pass popovermutex when not needed 2022-10-30 20:30:38 +01:00
Cyrine-benabid
339e3d242f style: rename class and fix constructor 2022-10-30 20:20:13 +01:00
Cyrine-benabid
fad02eb09d fix: remove useless onTap 2022-10-30 20:19:20 +01:00
Cyrine-benabid
8f1752a253 fix: add missing super.initState() call 2022-10-30 19:30:56 +01:00
Cyrine-benabid
16a8dbc6ce feat: unfocus CreateOptionTextField when popover state changes 2022-10-30 18:27:12 +01:00
Cyrine-benabid
1a53a0e375 refactor: implementation using focusNode 2022-10-30 18:25:50 +01: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
Cyrine-benabid
baeedf557d feat: close popover on AddOptionButton tap 2022-10-30 02:24:57 +02:00
Cyrine ben-abid
b7f369b3d9 feat: close popover on text field tap 2022-10-29 16:47:32 +02:00
Cyrine ben-abid
3e76fa8e42 fix: close popover on add option button clicked and textfield focused 2022-10-29 16:47:32 +02:00
Nathan.fooo
309bbbd8e7
chore: Add group by field tests 2022-10-27 14:11:15 +08:00
Nathan.fooo
3bbf91ab2b
Add board group test (#1376) 2022-10-26 22:36:34 +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
Lucas.Xu
3f97820094 feat: customize the placeholder text style 2022-10-26 14:51:39 +08:00
Lucas.Xu
fac76ac5b8 feat: custom selection menu style 2022-10-26 10:52:30 +08:00
Nathan.fooo
2eea57aefa
test: add app bloc test (#1370) 2022-10-26 10:38:57 +08:00
Lucas.Xu
6a853036a5 feat: customize appflowy editor heading style 2022-10-25 22:07:30 +08:00
Lucas.Xu
c5cea81be2 feat: integrate appflowy editor dark mode 2022-10-25 21:58:44 +08:00
Nathan.fooo
586c20a14e
chore: add board test (#1363) 2022-10-25 19:50:11 +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
Nathan.fooo
18185cc90c
chore: add app setting test (#1361) 2022-10-25 17:30:57 +08:00
Nathan.fooo
67e4a759c7
chore: add reorder bloc test (#1354)
* chore: add reorder bloc test

* chore: add trash test

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-25 16:51:51 +08:00
Lucas.Xu
3fb997af84 feat: support dark mode for number-list and bulleted-list 2022-10-25 14:40:18 +08:00
Richard Shiue
58ad9a260c
fix: several grid ui improvements (#1347) 2022-10-25 08:29:21 +08:00
Nathan.fooo
0d8be87031
chore: add view bloc test (#1343)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 17:52:17 +08:00
Nathan.fooo
96b1c6a540
chore: add grid header bloc test (#1341)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 16:44:10 +08:00
Lucas.Xu
aa58c79dbb
feat: support markdown export and customize save path (#1339) 2022-10-23 15:05:51 +08:00
Nathan.fooo
87247ccd9d
fix: hide field & add field tests (#1340)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 15:05:06 +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
nathan
1af6c5eadc fix: bloc test errors 2022-10-23 11:52:15 +08:00
nathan
299e771877 fix: create a new property from grid 2022-10-23 10:32:37 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
Richard Shiue
80f034beee
feat: alter some select option editor bloc events and add tests (#1264)
* chore: separate select and unselect events

* style: improve readability

* chore: don't send empty payloads if we can help it

* test: add select option text field test

* test: complete bloc test for select option

* test: delete all options between each test

* fix: keep insert order

* test: combine select and unselect tests

* chore: remove duplicate wait

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-22 19:55:18 +08:00
Lucas.Xu
bf1d4b923a
Merge pull request #1322 from ChiragKr04/fix/grid-half-hidden-textfield
fix: half hidden textfield in name field
2022-10-21 09:48:54 +08:00
chiragkr04
9064b9f7ad fix: half hidden textfield in name field 2022-10-20 16:19:23 +05:30
Nathan.fooo
f1a5726fcb
Feat: add appflowy editor in backend (#1320)
* chore: remove update attributes

* chore: format code

* chore: extension for transaction

* refactor: add document editor trait

* chore: add appflowy_document editor

* chore: add document serde

* chore: add new document editor

* chore: add tests

* chore: add more test

* chore: add test

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-20 11:35:11 +08:00
Lucas.Xu
31ed88364a
Merge pull request #1317 from alemoreau/grid-incomplete_display_of_the_property_names
fix: add overflow ellipsis in FieldCellButton
2022-10-19 08:13:43 +07:00
Alexandre Moreau
3ee703cd6d style: align code and add comment 2022-10-18 19:03:26 +02:00
Alexandre Moreau
0e278ddf3f fix: add overflow ellipsis in FieldCellButton 2022-10-18 13:44:23 +02:00
Chirag Bargoojar
df91e00985
feat: horizontal scroll on multiselect options (#1282) 2022-10-16 20:49:47 +08:00
Nathan.fooo
6a8c15899c
chore: add grid bloc test (#1289)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-16 16:51:21 +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
Nathan.fooo
eb970a6b7a
fix: FieldEditor not refresh its type-option data after switching to a new field (#1285)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-15 19:06:34 +08:00
Chirag Bargoojar
f53c2567fc
fix: grid cell abnormal on click behaviour (#1278) 2022-10-14 16:09:40 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
appflowy
3a7660108c chore: add documentation 2022-10-12 22:16:14 +08:00
Richard Shiue
295b887cf1
feat: use commas to select a tag in multi-select grid cells (#1158)
* fix: comma to select tags

* chore: support passing multiple option ids

* chore: add more unit tests for single select and multi select

* chore: move to select multiple options using a single payload

* chore: do not unselect the option if insert option ids contain that option

Co-authored-by: appflowy <annie@appflowy.io>
2022-10-11 13:43:29 +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
Nathan.fooo
6b528733fa
Merge pull request #1261 from sahej-dev/main
fix: Extra spacing in multiselect cell
2022-10-11 08:21:42 +08:00
sahej-dev
820d2548b6 fix: Extra spacing in multiselect cell 2022-10-10 23:08:35 +05:30
appflowy
a2d27657dc refactor: remove insertField function in dart 2022-10-10 20:02:52 +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
Nathan.fooo
89d036158b
chore: update view state when close the popover (#1251) 2022-10-08 20:48:14 +08:00
Nathan.fooo
ca8be6ab10
chore: replace overlay with popover (#1250) 2022-10-08 17:10:04 +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
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
appflowy
73e81da356 fix: select card text 2022-10-06 22:26:18 +08:00
Richard Shiue
5860d35d1a
fix: improve look of calendar (#1226) 2022-10-06 21:36:39 +08:00
Richard Shiue
a4a88959fd
fix: make sidebar resizing follow cursor more closely (#1202)
* fix: make sidebar resizing follow cursor more closely

* fix: don't animate sidebar size changes when dragging
2022-10-06 21:31:52 +08:00
Richard Shiue
5a5f5eceb5
fix: improve look of share button dropdown menu (#1224) 2022-10-06 19:33:02 +08:00
Richard Shiue
2331b328d8
feat: elide sidebar text (#1026) 2022-10-03 09:58:13 +08:00
Richard Shiue
cff24581a4
feat: use appflowy styled toggle widget in date settings (#1192)
* feat: use appflowy styled toggle widgets in date settings

* feat: some date cell UI improvements
2022-10-03 09:56:45 +08:00
Luke Greenwood
2d1793c5ff
fix: Theme toggle not updating UI (#1205) 2022-10-02 20:19:17 +08:00
Richard Shiue
3dc64f3d50
fix: improve look of select option list (#1168) 2022-10-01 21:13:56 +08:00
Syeerzy
c11a00a380
locale fix (#1195) 2022-10-01 17:50:19 +08:00
appflowy
62d0a31a76 refactor: save default group order 2022-10-01 16:50:54 +08:00
appflowy
5763e289ef feat: support moving group 2022-09-30 20:44:41 +08:00
appflowy
908d005737 refactor: add setting documentation and support save key/value in setting 2022-09-28 11:44:44 +08:00
appflowy
155cf3dca5 fix: display cell data after switching to text field 2022-09-27 18:22:11 +08:00
appflowy
602f7e7b6c fix: format number in percent format 2022-09-27 09:52:50 +08:00
appflowy
e3a1384f7f fix: open latest after deleting current view 2022-09-26 17:17:46 +08:00
appflowy
81ecbd8ae2 fix: open latest view 2022-09-26 15:25:33 +08:00
Nathan.fooo
02fd2bc427
Merge pull request #1161 from Poly-Pixel/trash-resize-fix
fix: only open the last opened view if plugin is blank
2022-09-26 15:01:33 +08:00
Poly-Pixel
510fd11680
fix: only open the last opened view if plugin is blank 2022-09-25 11:36:34 -04:00
nathan
b2d2e071bd fix: auto width for view action 2022-09-25 22:05:22 +08:00
nathan
42995b6baf fix: auto resize Action list 2022-09-25 15:01:39 +08:00
Richard Shiue
edd9128046 fix: press enter to create or select option in text field 2022-09-25 12:32:40 +08:00
appflowy
f990e3cabb chore: set icon color of the app ation panel 2022-09-23 18:00:11 +08:00
appflowy
77d1dbedd6 chore: adjust insets of some popup 2022-09-23 17:50:32 +08:00
appflowy
9730069ec1 chore: rounded button hover 2022-09-23 17:40:17 +08:00
appflowy
0218f4e8b9 fix: create view panel icon color 2022-09-23 17:27:30 +08:00
appflowy
ee7cb0cb42 chore: delete button ui 2022-09-23 16:24:01 +08:00
Nathan.fooo
a352adf0d7
Merge pull request #1138 from AppFlowy-IO/fix/context_not_found
fix: can't find context after popover disappear
2022-09-23 16:22:29 +08:00
Nathan.fooo
7de6a21331
Merge pull request #1137 from AppFlowy-IO/fix/format_date_fail
fix: switch format style of the date after creating
2022-09-23 16:22:17 +08:00
appflowy
af98febcb0 fix: can't find context after popover disappear 2022-09-23 15:10:20 +08:00
appflowy
082b0d2f5d fix: switch format style of the date after creating 2022-09-23 13:43:48 +08:00
appflowy
44ad0a2623 fix: create the default group for grid 2022-09-23 11:23:35 +08:00
Nathan.fooo
6a1b84a098
Merge pull request #1130 from AppFlowy-IO/fix/open_card_error
fix: open card error
2022-09-23 09:15:56 +08:00
appflowy
5464f1851b fix: UI layout issue when date select panel popup 2022-09-22 21:12:41 +08:00
appflowy
c790b698f2 fix: open card error 2022-09-22 21:02:10 +08:00
Nathan.fooo
f84e0548a8
Merge pull request #1121 from AppFlowy-IO/fix/black_page_after_delete_doc
chore: open next page when current page get deleted
2022-09-22 14:39:48 +08:00
appflowy
37f85cebde chore: open next page when current page get deleted 2022-09-22 13:43:37 +08:00
Annie
a5e0e97df5
Merge pull request #1080 from richardshiue/fix-include-time
fix: some improvements for when including time in a date cell
2022-09-21 20:08:35 +08:00
Poly-Pixel
4e0b9c87e2
feat: show menu as overlapping drawer on small screens (#1088)
* feat: show menu as overlapping drawer on small screens

* refactor: simplify home page left offset ternary expression
2022-09-21 20:06:48 +08:00
appflowy
ccc1d91896 fix: insert grid row 2022-09-21 18:23:05 +08:00
Nathan.fooo
2258e3468d
Merge pull request #1109 from AppFlowy-IO/fix/drag_grid_header_cell
fix: tap event conflict when dragging grid header cell
2022-09-21 16:15:32 +08:00
appflowy
437228d4cf ci: fix warnings 2022-09-21 15:54:34 +08:00
appflowy
7e972c3ccd chore: display highlight color in delete/restore button 2022-09-21 11:46:32 +08:00