78 Commits

Author SHA1 Message Date
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
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
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
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
5b4a93ee34
test: split test into widget and unit test (#1432) 2022-11-11 12:42:20 +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
3fbcd928db
fix: padding for edit field (#1400) 2022-10-30 19:31:53 +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
Richard Shiue
58ad9a260c
fix: several grid ui improvements (#1347) 2022-10-25 08:29:21 +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
chiragkr04
9064b9f7ad fix: half hidden textfield in name field 2022-10-20 16:19:23 +05:30
Chirag Bargoojar
df91e00985
feat: horizontal scroll on multiselect options (#1282) 2022-10-16 20:49:47 +08:00
Chirag Bargoojar
f53c2567fc
fix: grid cell abnormal on click behaviour (#1278) 2022-10-14 16:09:40 +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
sahej-dev
820d2548b6 fix: Extra spacing in multiselect cell 2022-10-10 23:08:35 +05:30
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
Richard Shiue
5860d35d1a
fix: improve look of calendar (#1226) 2022-10-06 21:36:39 +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
Richard Shiue
3dc64f3d50
fix: improve look of select option list (#1168) 2022-10-01 21:13:56 +08:00
appflowy
155cf3dca5 fix: display cell data after switching to text field 2022-09-27 18:22:11 +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
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
082b0d2f5d fix: switch format style of the date after creating 2022-09-23 13:43:48 +08:00
appflowy
5464f1851b fix: UI layout issue when date select panel popup 2022-09-22 21:12:41 +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
appflowy
0ff08ff8d2 fix: tap event conflict when dragging grid header cell 2022-09-21 11:24:37 +08:00
appflowy
ba3f2f3c02 fix: focus when SelectOptionCellEditor show 2022-09-20 16:49:19 +08:00
appflowy
5191b6af93 chore: remove field type option widget one by one 2022-09-20 16:37:14 +08:00
appflowy
370db4f71b fix: center left the date cell of the grid 2022-09-20 16:23:35 +08:00
appflowy
d35727b93c chore: make some overlay as barrier 2022-09-20 11:09:25 +08:00
appflowy
723b34a736 feat: enable remove one layer when click the empty space 2022-09-20 10:53:47 +08:00
Richard Shiue
c3033bd6e8 fix: few UI/usability issues with the time input field 2022-09-19 18:50:31 +08:00
appflowy
d1737d35fe chore: add src folder 2022-09-19 18:12:41 +08:00
appflowy
d26d620db8 fix: typo 2022-09-19 15:49:27 +08:00
appflowy
53cc0fff9d fix: open GridRowActionSheet with appflowy overlay 2022-09-19 15:46:06 +08:00
appflowy
4d835757d2 fix: select option pannel didn't disappear 2022-09-19 12:04:06 +08:00
nathan
6c27b5455e refactor: replace FlowyOverlay with AppFlowyPopover in select option 2022-09-18 11:46:04 +08:00
appflowy
520d5c2cb0 chore: replace popover with appflowy popover 2022-09-15 21:51:18 +08:00
Vincent Chan
7bde75ee2f feat: wrap appflowy style popover 2022-09-14 11:59:12 +08:00