Commit Graph

559 Commits

Author SHA1 Message Date
Lucas.Xu
2e91dfb4be
Integrate Grid into Document (#1759)
* fix: cursor doesn't blink when opening selection menu

* feat: add board plugin

* feat: integrate board plugin into document

* feat: add i10n and fix known bugs

* feat: support jump to board page on document

* feat: disable editor scroll only when the board plugin is selected

* chore: dart fix

* chore: remove unused files

* fix: dart lint

* feat: integrate grid plugin into document

* feat: add more menu to grid plugins

* feat: refactor built-in page plugins, including board and grid

* feat: remove padding set up when plugin type equals to editor
2023-02-01 15:37:45 +08:00
Lucas.Xu
5de3912fe3
integrate board plugin into document (#1675)
* fix: cursor doesn't blink when opening selection menu

* feat: add board plugin

* feat: integrate board plugin into document

* feat: add i10n and fix known bugs

* feat: support jump to board page on document

* feat: disable editor scroll only when the board plugin is selected

* chore: dart fix

* chore: remove unused files

* fix: dart lint
2023-01-30 13:22:13 +08:00
Nathan.fooo
347245aaa1
Refactor/dart notification (#1740)
* refactor: notification send

* refactor: rename dart-notify to flowy-notification

* ci: fix clippy wanrings

* ci: fix rust code converage
2023-01-26 15:40:23 +08:00
abichinger
d36aea648c
feat: save menu appearance (#1707)
* feat: save menu offset and menu visibility

* refactor: remove collapsedNotifier
2023-01-18 14:30:39 +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
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
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
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
Lucas.Xu
2006d35a50 fix: the settings view of path configuration is not displayed completely 2023-01-04 15:10:11 +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
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
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
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
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
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
Richard Shiue
350c55e71d
style: rename theme extension file (#1562) 2022-12-10 19:00:46 +08:00
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
nathan
1ba299815e feat: implement checklist UI 2022-11-30 15:14:27 +08:00
Lucas.Xu
d7783a6440 chore: remove duplicated svg function 2022-11-30 13:22:16 +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
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
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
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
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
76d1267aa5 feat: remove the codec code from main project 2022-11-08 21:36:51 +08:00
Nathan.fooo
2eea57aefa
test: add app bloc test (#1370) 2022-10-26 10:38:57 +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
Nathan.fooo
0d8be87031
chore: add view bloc test (#1343)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 17:52:17 +08:00
Lucas.Xu
aa58c79dbb
feat: support markdown export and customize save path (#1339) 2022-10-23 15:05:51 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +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
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
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
Luke Greenwood
2d1793c5ff
fix: Theme toggle not updating UI (#1205) 2022-10-02 20:19:17 +08:00