Commit Graph

2612 Commits

Author SHA1 Message Date
Nathan.fooo
6a36bcd31d
chore: add sqlite feature flag (#1683)
* chore: add sqlite feature flag

* chore: fix clippy warings

* ci: fix clippy

* chore: add rev file persistence

* ci: fix clippy

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 13:09:08 +08:00
Nathan.fooo
860c5d100b
chore: rename class according to gitbook documentation (#1682) 2023-01-12 10:01:17 +08:00
Nathan.fooo
fe4e28b576
Feat/read cell data for field (#1695)
* chore: read cells for field

* feat: enable read cells for specific field

* ci: fix tests

Co-authored-by: vedon <vedon.fu@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 07:56:46 +08:00
Nathan.fooo
b7ba189642
Feat/sort UI (#1642)
* feat: implement sort UI

* chore: config sort listener

* chore: config sort ui

* chore: config sort ui

* feat: support ascending & descending

* fix: reorder rows bugs

* chore: add tests

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-11 17:48:53 +08:00
Andreas Bichinger
85bfb8ad80 fix: command of double tilde to strikethrough 2023-01-10 22:55:32 +01:00
Andreas Bichinger
d0fd68da95 feat: greater to blockquote 2023-01-10 22:47:03 +01:00
Lucas.Xu
92baa573e1
Merge pull request #1676 from LucasXu0/text_robot
feat: integrate OpenAI service
2023-01-10 19:47:04 +07:00
Kelvin
c46b09f182
feat: support scientific notation and decimal separator (#1688) 2023-01-10 10:28:35 +08:00
Lucas.Xu
ab108e1dc1 chore: format dart code 2023-01-10 10:14:52 +08:00
Lucas.Xu
fa0a334d6c feat: refactor the gpt3 api and support multi line completion 2023-01-10 10:14:52 +08:00
Lucas.Xu
310236dca0 feat: add sample for open AI editing 2023-01-10 10:14:52 +08:00
Lucas.Xu
fc1efeb70b feat: support prompt and suffix 2023-01-10 10:14:52 +08:00
Lucas.Xu
494e31993b feat: add openAI plugin 2023-01-10 10:14:52 +08:00
Lucas.Xu
34d4ea3e54 feat: text robot 2023-01-10 10:14:52 +08:00
Nathan.fooo
91efcafd77
chore: potential fail on trash bloc test (#1686) 2023-01-09 12:17:37 +08:00
Richard Shiue
e8b21955f8
chore: add calendar view plugin along with backend data (#1611)
* chore: create build-in calendar data

* feat: add new calendar view to plugins

* chore: add create calendar page test

* chore: disable for creation for now

* fix: rebase regression

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-08 20:51:19 +08:00
Nathan.fooo
7572321813
chore: auto width GridFieldCellActionSheet (#1673) 2023-01-08 12:59:54 +08:00
Nathan.fooo
37f269b08b
Chore/rename flowy sdk (#1679)
* chore: run flutter create on flowy_sdk

* chore: rename flowy-sdk to flowy-core

* chore: rename flowy_sdk to appflowy_backend

* chore: fix windows build

* chore: replace bloctest with test

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: vedon <vedon.fu@gmail.com>
2023-01-08 12:10:53 +08:00
Nathan.fooo
a0b5f09b06
chore: save folder snapshot with custom config (#1670) 2023-01-06 14:11:35 +08:00
Nathan.fooo
d4946f1194
chore: cell data operation (#1656)
* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
2023-01-05 21:27:21 +08:00
Kelvin
7949d3fe4a
feat: handling same as Notion when user fills in the mixing of number and text (#1650)
* feat: handling same as Notion when user fills in the mixing of number and text

* feat: remove debug log

* feat: using lazy_static to initialized lazily the regex
2023-01-05 20:59:12 +08:00
Nathan.fooo
e9f8796809
fix: update the cell content if input is not valid data (#1652)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 19:29:19 +07:00
Lucas.Xu
3ba3a8dc18
Merge pull request #1655 from LucasXu0/feat_1649
feat: #1649 [FR] Convert quill delta to appflowy document
2023-01-05 18:58:42 +08:00
Lucas.Xu
50f9ac1657 feat: #1649 add document for importing data 2023-01-05 18:12:39 +08:00
Lucas.Xu
2fb0e8da28 feat: #1649 [FR] Convert quill delta to appflowy document 2023-01-05 17:40:03 +08:00
Nathan.fooo
b25db83bc0
ci: support linux dart_unit_test (#1653)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-05 15:25:30 +08:00
Lucas.Xu
e08ab1fc10 fix: Presses shift + alt + arrow right to select a word 2023-01-05 09:15:18 +08:00
Lucas.Xu
d7410cd6e8 feat: #1624 add shortcut for Shift + Option + Left/Right Arrow 2023-01-04 20:10:41 +08:00
Lucas.Xu
06c5f6a790
Merge branch 'main' into feat_1624 2023-01-04 20:04:33 +08:00
Lucas.Xu
35a72f701b feat: #1624 add shortcut for Shift + Option + Left/Right Arrow 2023-01-04 19:58:43 +08:00
Richard Shiue
1a2af1cf49
chore: add close button in select option tags for select option textfield (#1640)
* chore: remove unused isSelected flag

* chore: close popover when an option is deleted

* chore: allow unselecting an option by clicking on a close button
2023-01-04 19:43:49 +08:00
Lucas.Xu
340f27cf87
fix: the settings view of path configuration is not displayed completely (#1647) 2023-01-04 19:41:31 +08:00
Richard Shiue
d8958e82c8
fix: menu section scrollcontroller not attached (#1631) 2023-01-04 17:19:54 +08:00
Kelvin
3eb1360324
test: add more cases for checkout_box_description_test (#1639) 2023-01-04 16:29:24 +08:00
Lucas.Xu
2006d35a50 fix: the settings view of path configuration is not displayed completely 2023-01-04 15:10:11 +08:00
Richard Shiue
515cd50ac4
chore: grid/kanban toolbar UI improvements (#1634) 2023-01-04 10:21:00 +08:00
Richard Shiue
c5b15daac4
fix: don't delete the property if it shouldn't be allowed (#1633) 2023-01-04 10:20:18 +08:00
Kelvin
ddc99d646c
test: switching_from_text_to_checkbox (#1632)
* feat: switching from text type to checkbox type

* feat: change to use Err(_)

* test: switch from text to checkbox (still need to cover more cases)

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-04 10:19:07 +08:00
nathan
bfd2754bda chore: update rust-toolchain 2023-01-03 23:38:57 +08:00
nathan
bce175255f chore: udpate chnagelog 2023-01-03 09:40:46 +08:00
Kelvin
273aaeec75
feat: switching from text type to checkbox type (#1626) 2023-01-02 14:47:21 +08:00
Nathan.fooo
17def1ffab
chore: enable rust_unit_test on windows (#1630) 2023-01-02 12:31:31 +08:00
Lucas.Xu
c05c1e191c
chore: upgrade minimum support flutter version, >= 3.3.0 (#1551)
* feat: upgrade flutter version to 3.3.0 for appflowy_editor and appflowy_editor_plugin

* feat: upgrade flutter version to 3.3.0 for appflowy

* feat: upgrade flutter version to 3.3.0 for CI

* chore: update flutter version in ci workflows

* chore: fix warnings

* chore: fix unuse import

* chore: support  cargo make dart_unit_test on windows platform

* fix: copy to sandbox errors

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 23:26:27 +08:00
nathan
9cd83d02a9 fix: send dart notification 2023-01-01 22:48:28 +08:00
Nathan.fooo
35a93939fe
fix: send dart notification (#1629)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 22:34:38 +08:00
Richard Shiue
eed6c753dd
chore: add spacing between a popover and the edge of the window (#1625) 2023-01-01 22:26:52 +08:00
Nathan.fooo
436291c01a
fix: update build.rs with cfg flag control (#1627)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-01 17:21:19 +08:00
Nathan.fooo
a2b5d6fa99
fix: number cell format (#1623)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-31 08:06:10 +08:00
Lucas.Xu
5c1b084789
fix: cursor doesn't blink when opening selection menu (#1622)
* fix: cursor doesn't blink when opening selection menu

* chore: fix dart lint
2022-12-30 15:59:34 +08:00
Mayur Mahajan
b09f37e025
[FR] Create a new yellow theme for AppFlowy (#1539)
* feat: add dandelion color scheme

* feat: add dandelion to colorsheme

* feat: add setting for choosing theme

* refactor: make theme selection ui consistent

* refactor: remove duplicate  themeTypeLabel

* refactor: translate theme type setting

* refactor: use an extension method for themename

* refactor: change community theme name

* refactor: add theme name in app theme

* refactor: remove theme type from cubit

* refactor: allow theme change with themename

* test: getThemeNameForDisplaying method

* chore: refactor the theme name to const string

* refactor: remove theme translation logic

* fix: add translation for theme label

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-12-30 11:44:17 +08:00
Nathan.fooo
aa5f052ecf
Refactor/crate directory (#1621)
* chore: fix wanrings

* chore: remove protobuf ref in flowy-error-code

* chore: remove protobuf ref in lib-ws

* refactor: remove protobuf trait in flowy http model

* refactor: remove flowy-error-code crate

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-30 11:16:47 +08:00
Kelvin
aae8259f63
test: grid switch from date to text test (#1616)
* test: grid switch from date to text test

* test: change back the DateTime format to US
2022-12-30 10:47:32 +08:00
Christian
52c8f32c82
fix: scrollToBottom for macos (#1610)
Co-authored-by: DevOwl <christian.muehle@devowl.de>
2022-12-28 21:51:19 +08:00
Iñigo Iparragirre
8139856d6d
Feat/integrate thiserror anyhow (#1599)
* feat: add thiserror and anyhow dependencies

* feat: add thiserror derive to ErrorCode

* feat: add thiserror derive to FlowyStruct

* feat: update error field

* feat: update lock files

* Revert "feat: update lock files"

This reverts commit df9736b843.

* fix: cargo fmt
2022-12-28 21:49:38 +08:00
Kelvin
b83b18274f
test: grid switch from number to text test (#1615)
* test: grid switch from number to text test

* chore: update test

* chore: fix tests

* chore: cargo fmt

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-28 17:22:26 +08:00
Nathan.fooo
05f99ee4a4
fix: potential test fail because of async channel message (#1613)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-28 10:18:17 +08:00
Kelvin
e5717b834d
test: grid switch from checkbox to text test (#1612) 2022-12-28 08:25:26 +08:00
Kelvin
faf8f73206
test: grid switch from multi select to text test (#1608) 2022-12-27 20:08:32 +08:00
Richard Shiue
70689d3239
feat: show the scrollbars again (#1605)
* fix: padding in grid cell editors

* fix: padding in grid header editor

* fix: padding for row details

* fix: shrink number formt list when possible

* chore: simply use column for select option editor

* fix: make sure that popovers are the edges

* fix: delete button padding

* fix: date and time formats padding mistake
2022-12-27 08:21:30 +08:00
Nathan.fooo
f5b7d3951f
Feat/sort after change (#1607)
* chore: generate task after row was changed

* chore: config task

* chore: add task test

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-26 20:28:18 +08:00
Nathan.fooo
5a30f46b85
feat: sort cell (#1593)
* chore: call cell decode data

* chore: cache cell decoded data

* chore: update cache cell data

* chore: cache cell data

* refactor: separate cell type option functionalities

* refactor: add TypeOptionCellDataFilter trait

* chore: remove unused codes

* chore: fix wanrings

* chore: add sort tests

* chore: sort single select and multi select

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-24 23:19:11 +08:00
Richard Shiue
6a465ac3e7
fix: button spacing for grid menus (#1602)
* chore: don't put extra space in front of text

* chore: alter button margins for date and time format buttons
2022-12-24 23:01:55 +08:00
Muhammad Rizwan
e4b07e69fa
Added : customize the color and background color of selected text (#1601)
* Added Emoji Support

* Added Color Picker for font color and background color

* chore: revert code

* feat: re-implement the color picker

* test: add test case for adding color

* test: update appflowy_editor test flag

Co-authored-by: Muhammad Rizwan <haris.arshad.2010@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2022-12-23 19:57:17 +08:00
Richard Shiue
f9cc05319b
chore: deprecate InputTextField (#1566) 2022-12-21 19:12:16 +08:00
Eakam
873a46e443
fix: no focus border on date cells (#1469)
* fix: no focus border on date cells

* fix: remove redundant import

* refactor: use existing functionality from GridCellWidget for focus border

* refactor: use requestBeginFocus override instead of GestureDetector
2022-12-21 19:11:49 +08:00
Lucas.Xu
9a387b275f
Merge pull request #1595 from LucasXu0/release/0.0.9
chore: release 0.0.9
2022-12-21 11:03:33 +08:00
nathan
b6ce7aff9f fix: rename function in test call 2022-12-21 11:03:10 +08:00
Nathan.fooo
eee3dcf43a
Create test template (#1594)
* refactor: rename functions

* chore: create test templagte

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-21 11:00:08 +08:00
Lucas.Xu
384f8ddcb6 chore: release 0.0.9 2022-12-21 10:35:57 +08:00
Lucas.Xu
86e31253de test: fix integration test 2022-12-21 09:34:14 +08:00
Annie
3f00e78508
chore: update text for folder storage (#1590) 2022-12-20 20:33:41 +08:00
Kelvin
45c73a20c2
test: UnitTest Switching from Multi to text (#1585) 2022-12-20 20:33:17 +08:00
nathan
ce86227da3 chore: delete log 2022-12-20 14:45:51 +08:00
Nathan.fooo
4643851b3f
refactor: apply cell change set (#1589)
* refactor: update cell changeset trait

* refactor: update cell changeset documentation

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-20 14:40:40 +08:00
Lucas.Xu
5d7008edd7
feat: Customize the storage folder path (#1538)
* feat: support customize folder path

* feat: add l10n and optimize the logic

* chore: code refactor

* feat: add file read/write permission for macOS

* fix: add toast for restoring path

* feat: fetch apps and show them

* feat: fetch apps and show them

* feat: implement select document logic

* feat: l10n and add select item callback

* feat: add space between tile

* chore: move file exporter to settings

* chore: update UI

* feat: support customizing folder when launching the app

* feat: auto register after customizing folder

* feat: l10n

* feat: l10n

* chore: reinitialize flowy sdk when calling init_sdk

* chore: remove flowysdk const keyword to make sure it can be rebuild

* chore: clear kv values when user logout

* chore: replace current workspace id key in kv.db

* feat: add config.name as a part of seesion_cache_key

* feat: support open folder when launching

* chore: fix some bugs

* chore: dart fix & flutter analyze

* chore: wrap 'sign up with ramdom user' as interface

* feat: dismiss settings view after changing the folder

* fix: read kv value after initializaing with new path

* chore: remove user_id prefix from current workspace key

* fix: move open latest view action to bloc

* test: add test utils for integration tests

* chore: move integration_test to its parent directory

* test: add integration_test ci

* test: switch to B from A, then switch to A again

* chore: fix warings and format code and fix tests

* chore: remove comment out codes

* chore: rename some properties name and optimize the logic

* chore: abstract logic of settings file exporter widget to cubit

* chore: abstract location customizer view from file system view

* chore: abstract settings page index to enum type

* chore: remove the redundant underscore

* test: fix integration test error

* chore: enable integration test for windows and ubuntu

* feat: abstract file picker as service and mock it under integration test

* chore: fix bloc test

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-20 11:14:42 +08:00
Lucas.Xu
b5f6591daa fix: #1586 deleting an image causes the editor to enter a bad state 2022-12-20 09:37:18 +08:00
Nathan.fooo
9f7f86a49a
chore: update test (#1584) 2022-12-20 08:39:46 +08:00
Nathan.fooo
260705280f
fix: remove unused steps (#1580)
* chore: remove unused code

* chore: update pin-project version to remove rust lint warnings

* chore: fix potential test failed

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-19 10:47:40 +08:00
Richard Shiue
60d9a6b3ab
refactor: appflowy themes (#1567)
* refactor: appflowy themes

* refactor: store ThemeData directly in cubit

* refactor: remove textStyles

* refactor: move AppTheme back into cubit
2022-12-18 16:02:18 +08:00
Nathan.fooo
67e350e797
refactor: provide default type option transform (#1579) 2022-12-17 18:12:47 +08:00
Nathan.fooo
85e489babb
Refactor/type option (#1578) 2022-12-17 10:15:13 +08:00
Duy Do
bb312b0a79 build: update install_linux.sh 2022-12-15 11:00:26 +07:00
Lucas.Xu
8cdf6f9ec0
Merge pull request #1557 from rizwan3395/main
fear: support emoji
2022-12-14 11:17:36 +08:00
Nathan.fooo
9666269e27
Merge pull request #1570 from AppFlowy-IO/feat/grid_sort
Feat/grid sort
2022-12-12 21:18:45 +08:00
nathan
31458e817a fix: potential test timeout 2022-12-12 19:49:20 +08:00
nathan
9ba17e004e refactor: type option impl trait 2022-12-12 18:00:09 +08:00
nathan
e141e7ee63 chore: add cell cmp trait 2022-12-12 15:29:33 +08:00
Lucas.Xu
3932d0661d feat: update emoji picker UI 2022-12-12 15:10:38 +08:00
Lucas.Xu
98d408af87 fix: flutter analyze problems 2022-12-12 14:51:43 +08:00
Lucas.Xu
15e3d3b486 feat: move emoji_picker to appflowy editor plugin 2022-12-12 11:27:04 +08:00
nathan
1ac1fabb6e chore: add suffix PB to filter structs 2022-12-12 11:25:49 +08:00
nathan
6b4291ccc7 chore: config sort controller 2022-12-12 10:44:34 +08:00
nathan
0cf0b29721 chore: hide the grid blocks from Dart 2022-12-11 13:10:35 +08:00
Nathan.fooo
2a75ad144a
fix: the grid cell border color didn't change after switch to new theme (#1564)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-11 09:06:16 +08:00
Nathan.fooo
d487820963
fix: update checklist type option data (#1563)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-10 20:46:24 +08:00
Richard Shiue
350c55e71d
style: rename theme extension file (#1562) 2022-12-10 19:00:46 +08:00
ENsu
fd603fe80f
test: fix select transform test name (#1560) 2022-12-10 18:39:37 +08:00
nathan
07ebb0cb95 refactor: refresh rows 2022-12-09 20:04:12 +08:00
Muhammad Rizwan
9dfc8dbb43 Update emoji_select_widget.dart 2022-12-09 15:28:15 +05:00
Haris Arshad
3f27576066 added:emoji
added emoji support
2022-12-09 15:22:43 +05:00
Lucas.Xu
247a19b0c6
Merge pull request #1553 from AppFlowy-IO/update_version_num_0.0.8.1
chore: update changelog
2022-12-09 11:32:04 +08:00
Lucas.Xu
8494e0f0a6
Merge pull request #1554 from LucasXu0/rules
feat: add rules for editorstate.apply
2022-12-09 11:31:51 +08:00
Lucas.Xu
e94eb20388 chore: disable rules for test cases 2022-12-09 11:06:28 +08:00
Lucas.Xu
8bbae46a7c feat: add rules for editorstate.apply 2022-12-09 10:36:01 +08:00
nathan
8521cc0897 chore: update changelog 2022-12-09 10:18:38 +08:00
Nathan.fooo
12441f1183
fix: auto size filter menu (#1552)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 10:12:45 +08:00
Lucas.Xu
53b7595de8
Merge pull request #1548 from ramanverma2k/fix_1503
Refactor linux workflow & fix 1503
2022-12-09 09:42:59 +08:00
Nathan.fooo
8c225fe547
Feat/restore revision (#1549)
* chore: write snapshot

* chore: add tests

* chore: sync close

* chore: restore from snapshot

* chore: delete invalid revisions after restored from snapshot

* chore: create default view if it fail to deserialize view's revisions when there is no snapshot

* chore: auto generate snapshot

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 09:19:47 +08:00
Lucas.Xu
a507fb8ec6
Merge pull request #1550 from LucasXu0/fix_windows_copy_paste
fix: Clipboard does not work in Windows #1406
2022-12-08 16:13:01 +08:00
Lucas.Xu
4db5b7a544 chore: typo 2022-12-08 15:50:43 +08:00
Lucas.Xu
1de5b274c3 chore: fix flutter analyze 2022-12-08 15:29:59 +08:00
Lucas.Xu
12b549bad2 fix: Clipboard does not work in Windows #1406 2022-12-08 15:19:21 +08:00
ramanverma2k
6dbb08c2ae fix: move deb control file to linux_installer 2022-12-08 12:04:43 +05:30
Rasyid Miftahul Ihsan
9711d670ca
feat: add hover effect when trash icon is selected or hovered. (#1513) 2022-12-08 14:22:27 +08:00
Richard Shiue
442dfe7ef8
feat: switch between light and dark theme based on system settings (#1523)
* feat: allow listening to system for light/dark theme

* chore: implement UI for theme mode setting

* chore: fix translations
2022-12-08 14:21:11 +08:00
Richard Shiue
f81d5eb23e
fix: location of popover wrt the cell (#1545) 2022-12-08 14:18:57 +08:00
ramanverma2k
0643e93e94 ci: refactor linux workflow & build an alternative linux package for older distributions. 2022-12-08 10:11:40 +05:30
Lucas.Xu
49574d3ff0 fix: [Bug] Text formatting toolbar disappear under layout #1542 2022-12-07 10:59:28 +08:00
Lucas.Xu
c64b83c2d6
Merge pull request #1541 from LucasXu0/refactor_font_size
chore: refactor font size design
2022-12-06 19:14:14 +08:00
Lucas.Xu
4da786a439 chore: refactor font size design 2022-12-06 18:36:22 +08:00
Lucas.Xu
114968f2ee fix: markdown decoder and encoder test error 2022-12-06 17:48:00 +08:00
Lucas.Xu
29952bc7fd fix: add missing markdown converter for code block and divider 2022-12-06 17:24:10 +08:00
Nathan.fooo
64ee3140a3
fix: click enter to submit the text content (#1537)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 17:17:33 +08:00
Nathan.fooo
a2f9ca2f28
fix: options don't refresh after moving the card (#1536)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 15:23:59 +08:00
Nathan.fooo
72dc0b8f67
fix: filter orders (#1535)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 15:23:48 +08:00
Nathan.fooo
721781f0ae
chore: refresh the grid rows after typing text in the text filter (#1533)
Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 09:55:37 +08:00
Nathan.fooo
0d879a6091
Fix/select option filter (#1530)
* fix: multi select filter bugs

* fix: single select bugs

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-05 09:54:47 +08:00
Nathan.fooo
806a924fff
Merge pull request #1528 from AppFlowy-IO/feat/folder_node
Feat/folder node
2022-12-05 09:53:59 +08:00
ENsu
a2161216d8
feat: can transform options from single & multi select (#1493)
* feat: can transform options from single & multi select

* test: add single-multi switch test
2022-12-04 16:32:37 +08:00
nathan
fa01dbb572 chore: rename 2022-12-02 10:44:46 +08:00
Lucas.Xu
63613689cd
Merge pull request #1522 from LucasXu0/checklist_typo
chore: checklist.panelTitle typo
2022-12-02 09:43:36 +08:00
Lucas.Xu
89f89e8822
Merge pull request #1519 from LucasXu0/plugin
Separate AppFlowy Editor Plugins
2022-12-02 09:43:20 +08:00
Lucas.Xu
a801fa627c chore: checklist.panelTitle typo 2022-12-01 19:42:49 +08:00
Lucas.Xu
c6c164d347 feat: integrate divider, code block, and math equation into appflowy 2022-12-01 19:26:00 +08:00
Nathan.fooo
be4222a62f
Merge pull request #1518 from richardshiue/deprecate-textstyle-getters
chore: remove unused getters for TextStyles
2022-12-01 19:05:49 +08:00
Lucas.Xu
4fa2d6dc2e feat: overwrite paste logic in code block 2022-12-01 18:54:48 +08:00
Lucas.Xu
e476337a6a feat: move code block plugin to appflowy editor plugins directory 2022-12-01 18:35:27 +08:00
nathan
44f9254c0a chore: add codegen crate 2022-12-01 15:17:55 +08:00
Lucas.Xu
89becbfe71 feat: add hint text for math equation plugin 2022-12-01 15:08:16 +08:00
Richard Shiue
cf42d8cd43 chore: remove unused getters for TextStyles 2022-12-01 14:45:59 +08:00
Lucas.Xu
2b27fe85aa feat: move math equation plugin to appflowy editor plugins directory 2022-12-01 14:44:06 +08:00
nathan
30e7323cf7 chore: delete flowy-tool 2022-12-01 14:42:09 +08:00
Lucas.Xu
157f929ff9 feat: move divider plugin to appflowy editor plugins directory 2022-12-01 11:14:35 +08:00
nathan
bf36ef7fd9 chore: update documentation 2022-12-01 10:59:22 +08:00
Lucas.Xu
7ba638268b feat: init appflowy editor plugins 2022-12-01 09:47:28 +08:00
nathan
96c427e869 refactor: rename flowy-dispatch structs 2022-12-01 09:26:16 +08:00
Nathan.fooo
fff4af53e2
Merge pull request #1510 from LucasXu0/fix_1488
fix: [Bug] Inconsistent font weights #1488
2022-11-30 20:31:39 +08:00
Nathan.fooo
6910004003
Merge pull request #1512 from richardshiue/fix-flowytextfield-bugs
fix: flowy text field bugs
2022-11-30 20:30:42 +08:00
Richard Shiue
eaa1cb5a67 fix: flowy text field bugs 2022-11-30 18:28:51 +08:00
nathan
553cfb3f5e chore: support checklist filter 2022-11-30 16:43:57 +08:00
Lucas.Xu
086195d2cf fix: inconsistent font weight in Chinese #1488 2022-11-30 16:36:53 +08:00
Nathan.fooo
5ce8087c91
Merge pull request #1508 from AppFlowy-IO/update_version_num_0.0.8
Update version num 0.0.8
2022-11-30 15:37:14 +08:00
nathan
f1a25ab4b7 chore: update version 2022-11-30 15:26:57 +08:00
nathan
2d11d3a68d chore: update version 2022-11-30 15:19:09 +08:00
nathan
d89a89131e chore: remove textstyle ref 2022-11-30 15:16:01 +08:00
nathan
a800e01f0b chore: config checklist board UI 2022-11-30 15:15:05 +08:00
nathan
29e07089ca fix: checklist cell did get notified after the cell content change 2022-11-30 15:15:03 +08:00
nathan
3cdd6665b3 chore: config checklist cell 2022-11-30 15:14:27 +08:00
nathan
1ba299815e feat: implement checklist UI 2022-11-30 15:14:27 +08:00
nathan
b4671c1d99 feat: support checklist 2022-11-30 15:14:27 +08:00
Richard Shiue
aa85970b0f
chore: port more const textstyles to theme provider styles (#1477)
* chore: port more const textstyles to theme provider styles

* style: unnecessary or use shared text fontSizes

* fix: build error from merging main

Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2022-11-30 15:11:32 +08:00
Richard Shiue
3b3b61e67c
chore: select option cell & header editor UI + move to theme.of(context).texttheme (#1483)
* chore: improvements for suffix text in textfields

* chore: port more const textstyles to theme provider styles

* chore: select option editor UI improvements
2022-11-30 15:02:41 +08:00
Richard Shiue
f02e77fcd8
fix: onPrimary and onPrimary colors (#1499) 2022-11-30 15:00:14 +08:00
Lucas.Xu
c127fd28b8 chore: fix flutter analyze 2022-11-30 13:23:03 +08:00
Lucas.Xu
d7783a6440 chore: remove duplicated svg function 2022-11-30 13:22:16 +08:00
Lucas.Xu
fba69767a7
Merge pull request #1495 from LucasXu0/customize_font_size
Customize Font Size In AppFlowy #1479
2022-11-29 13:45:33 +08:00
Nathan.fooo
acaaabee2a
chore: add transform field tests (#1504)
Co-authored-by: nathan <nathan@appflowy.io>
2022-11-29 13:34:10 +08:00
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
Lucas.Xu
11a0ef319f
Merge pull request #1461 from ramanverma2k/feat_1305
ci: add .exe installer support for Windows releases #1305
2022-11-28 19:51:05 +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
52ba0c0092 fix: the cursor shows sometimes when tapping the checkbox 2022-11-28 18:44:48 +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
04e14c6bba fix: transparent color should be treated as a highlight color 2022-11-28 16:22:10 +08:00
Lucas.Xu
d75645c4bc fix: remove the unnecessary text style update 2022-11-28 16:17:46 +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.fooo
8c7e2d341d
Merge pull request #1490 from AppFlowy-IO/filter_bloc_test
chore: add filter test
2022-11-27 17:20:24 +08:00
Nathan.fooo
039d62cbbb
chore: update version number (#1491)
Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 17:20:08 +08:00
nathan
b6773a732b chore: add filter tests 2022-11-27 16:53:42 +08:00
nathan
60267e674e chore: refactor grid test directory 2022-11-27 15:38:02 +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
149c2a2725
Ci/build scripts (#1487)
* chore: rename flowy_dev name

* chore: rename tasks

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-26 22:18:39 +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
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
Annie
500d5efc33
Merge pull request #1442 from ramanverma2k/fix_1416
fix: Application name in Windows taskbar.
2022-11-18 10:57:22 +08:00
Lucas.Xu
9c40a501fe Merge remote-tracking branch 'origin/main' into image_selection_area 2022-11-18 09:19:49 +08:00
ramanverma2k
c1e6f27020 chore: update FileDescription to app name. 2022-11-17 19:45:25 +05:30
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
ramanverma2k
af9b4b3922 ci: build & upload installer package for windows 2022-11-17 13:33:19 +05:30
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.fooo
92de27eae8
Merge pull request #1455 from AppFlowy-IO/rename_doc_folder
chore: rename doc folder to document
2022-11-15 11:10:57 +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
6846bbf103 chore: fix test 2022-11-15 10:19:13 +08:00
appflowy
ef3837f246 chore: add selection option fitler test 2022-11-14 19:40:45 +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
appflowy
18c209848b chore: add select option tests 2022-11-14 17:21:32 +08:00
appflowy
c80fa5da78 chore: add date filter tests 2022-11-14 16:33:24 +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
Nathan.fooo
a0a16cc493
feat: config grid filter in backend & add tests
* chore: add search crate

* chore: add task order test

* chore: enable timeout

* add task crate

* chore: run filter task

* chore: run filter task

* chore: filter rows

* chore: cache filter result

* chore: filter rows when open a grid

* chore: add tests

* test: add number filter test

* test: add checkbox fitler test

* chore: fix test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-13 22:23:57 +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
ramanverma2k
bb370b28b7 fix: Application name in Windows taskbar. 2022-11-12 12:14:08 +05:30
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
Lucas.Xu
65f677b277
Merge pull request #1429 from LucasXu0/refactor_appflowy_editor_example
Refactor appflowy editor example
2022-11-09 16:48:57 +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
Nathan.fooo
e482ac75f9
test: edit a field in kanban board (#1428) 2022-11-09 12:25:07 +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
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
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
Nathan.fooo
882d5535e6
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate

* chore: rename lib-infra features
2022-11-08 21:13:28 +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