Commit Graph

169 Commits

Author SHA1 Message Date
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
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
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
Lucas.Xu
086195d2cf fix: inconsistent font weight in Chinese #1488 2022-11-30 16:36:53 +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
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
1ee1f9c775 chore: fix ref 2022-11-15 10:46:26 +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
2eea57aefa
test: add app bloc test (#1370) 2022-10-26 10:38:57 +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
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
Å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
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
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
appflowy
908d005737 refactor: add setting documentation and support save key/value in setting 2022-09-28 11:44:44 +08:00
appflowy
e3a1384f7f fix: open latest after deleting current view 2022-09-26 17:17:46 +08:00
appflowy
37f85cebde chore: open next page when current page get deleted 2022-09-22 13:43:37 +08:00
appflowy
81a7b7f3eb chore: fallback to en localization if the key is not found in the locale file 2022-09-08 11:30:36 +08:00
appflowy
4f8e012d54 chore: fix bugs when switch group field 2022-09-04 15:49:25 +08:00
appflowy
54d6f3709e chore: replace FieldPB with GridField 2022-09-03 21:18:52 +08:00
appflowy
c19b7cf856 chore: update packages's flutter_lint version 2022-08-31 11:15:35 +08:00
appflowy
a2d8fe9e80 chore: run dart fix --apply 2022-08-31 09:19:31 +08:00
appflowy
b762151d44 fix: create document errors 2022-08-23 13:13:01 +08:00
appflowy
af23e3e803 refactor: replace plugin type with layout type 2022-08-18 21:44:22 +08:00
appflowy
d3cd60e527 refactor: rename structs 2022-08-18 21:44:22 +08:00
appflowy
055868bae3 chore: build board card ui 2022-08-12 16:30:08 +08:00
appflowy
ad3e2f5725 chore: add sub data type 2022-08-10 17:59:28 +08:00
appflowy
9930706d9a refactor: separate cache from service file 2022-08-10 16:04:04 +08:00
appflowy
9e090b0183 chore: fix typo: pannel -> panel 2022-08-09 11:59:22 +08:00
appflowy
6d385e811f refactor: move plugin application and presentation together 2022-08-09 10:38:11 +08:00
David
8360dcdc82 feat: Add pl-PL translation
Add pl-PL.json including the new translation.
Updated app_widget.dart with the new language entry
Updated language.dart with the new language entry
2022-07-28 22:30:17 +02:00
kakzaki
22398985b6 fix: add indonesian translation 2022-07-25 13:35:16 +07:00
Ian Su
89644e88da Merge branch 'main' into add_workspace_settings 2022-07-22 00:21:07 +08:00
Ian Su
da80efecd1 feat: add SettingDialogBloc 2022-07-22 00:01:39 +08:00
appflowy
8e18d3a937 chore: reanme flowy-user crate 2022-07-19 14:40:56 +08:00
appflowy
193527e043 chore: rename flowy-folder structs 2022-07-19 14:24:08 +08:00
appflowy
e45b14910b chore: add suffix PB to dart class 2022-07-17 14:49:29 +08:00
appflowy
8ac75af875 refactor: rename GridCellContext to GridCellController 2022-07-14 21:26:58 +08:00
Ian Su
f24e154b4f refactor: create SettingsUserViewBloc 2022-07-09 22:00:17 +08:00
appflowy
cfadf42fe3 chore: fix import path 2022-07-04 15:55:48 +08:00
appflowy
e5f35e46ca chore: fix import path 2022-07-04 15:00:54 +08:00
appflowy
957b83ecd5 chore: refactor user listenr 2022-07-04 10:59:08 +08:00
appflowy
ce73da8212 chore: update user name with UserService 2022-07-03 16:52:06 +08:00
appflowy
7366acb58e chore: config board view plugin 2022-06-14 20:47:28 +08:00