Commit Graph

4856 Commits

Author SHA1 Message Date
Yijing Huang
a7364e1f4a
fix: set cell style nullable (#3984) 2023-11-22 10:49:01 +08:00
Richard Shiue
16467e9c13
chore: improve mobile grid page (#3939)
* chore: more typo

* chore: improve appearance of mobile grid page

* fix: focus problems with editable grid cells

* chore: apply suggestions from Mathias

* revert: the dragged header looks ugly

* chore: more suggestions from Mathias

* chore: more tarbars

* fix: scrollbar padding is a bit off

* chore: add launch tasks and fix android debug

* chore: more mobile grid improvement

* fix: initial attempt to fix cell focus bug

* chore: fix grid cell lazy loading

* chore: fix cell focus problems

* chore: update same changes to desktop

* fix: revert accessory changes due to regression

* chore: new database view name i18n

* chore: add mobile tab bar header

* fix: fiz zuh eentuhgrashun tastes

* chore: rudimentary grid header

* style: code style stuffz

* chore: restore android standard lib

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-11-21 22:54:09 +08:00
Richard Shiue
b00d29d0cd
test: fix integration tests (#3977) 2023-11-21 21:50:31 +08:00
Yijing Huang
acc951c5eb
feat: mobile card detail screen (#3935)
* feat: add CardDetailScreen and CardPropertyEditScreen

- add basic UI layout for these two screens
- add MobileTextCell as the GridCellWidget adapts to mobile

* feat: add MobileNumberCell and MobileTimestampCell

* feat: Add MobileDateCell and MobileCheckboxCell

- Add MobileDateCellEditScreen
- Add dateStr and endDateStr in DateCellCalendarState

* feat:  add MobileFieldTypeOptionEditor

- Add placeholder for different TypeOptionMobileWidgetBuilders
- Add _MobileSwitchFieldButton

* feat: add property delete feature in CardPropertyEditScreen

* fix: fix VisibilitySwitch didn't update

* feat: add MobileCreateRowFieldScreen

- Refactor MobileFieldEditor to used in CardPropertyEditScreen and MobileCreateRowFieldScreen
- Add MobileCreateRowFieldScreen

* chore: localization and improve spacing

* feat: add TimestampTypeOptionMobileWidget

- Refactor  TimeFormatListTile to be used in TimestampTypeOptionMobileWidget and _DateCellEditBody
- Add IncludeTimeSwitch to be used in TimestampTypeOptionMobileWidget and _DateCellEditBody

* feat: add checkbox and DateTypeOptionMobileWidget

* chore: improve UI

* chore: improve spacing

* fix: fix end time shown issue

* fix: minor issues

* fix: flutter analyze

* chore: delete unused TextEditingController

* fix: prevent group field from deleting

* feat: add NumberTypeOptionMobileWidget

* chore: rename and clean code

* chore: clean code

* chore: extract class

* chore: refactor reorder cells

* chore: improve super.key

* chore: refactor MobileFieldTypeList

* chore: reorginize code

* chore: remove unused import file

* chore: clean code

* chore: add commas due to flutter upgrade

* feat: add MobileURLCell

* fix: close keyboard when user tap outside of textfield

* chore: update go_router version

* fix: add missing GridCellStyle

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-11-20 22:56:21 -07:00
Nathan.fooo
b9ecc7ceb6
chore: add custom folder prompt (#3961)
* chore: add custom folder prompt

* chore: zip collab db

* chore: fix test

* chore: add test

* chore: fmt

* chore: fmt

* chore: fmt
2023-11-20 20:54:47 +08:00
Lucas.Xu
6f83f41c2d
refactor: use dependency injection to adapt the theme on mobile. (#3957) 2023-11-20 10:35:13 +08:00
Nathan.fooo
8179419f8b
feat: show server url (#3956)
* chore: data folder for cloud

* chore: display server url

* chore: fix test
2023-11-17 15:38:56 +08:00
Mathias Mogensen
4a1a143a66
fix: checkbox power toggle missing configuration (#3941)
* fix: add trigger for checkbox children toggle

* fix: localization of block placeholders
2023-11-17 13:55:25 +08:00
Emil
21bbf87089
chore: update Russian, fix naming conventions and typos (#3946)
* chore: typos fix

* chore: compliance with naming conventions
2023-11-17 13:53:21 +08:00
Richard Shiue
19d9e7717c
chore: use page icon instead of document icon (#3952) 2023-11-17 13:52:33 +08:00
Lucas.Xu
d190850f03
feat: keep the toolbar the same height as the keyboard to optimize the editing experience (#3947) 2023-11-17 13:51:26 +08:00
Kilu.He
68de83c611
feat: support modified cell in modal (#3948)
* feat: support drag fields in modal

* fix: wrong draggable position
2023-11-17 10:56:25 +08:00
Richard Shiue
729b8571b5
chore: fix ungroupedsection being shown (#3953)
* chore: fix ungroupedsection being shown

* chore: board ui adjustment
2023-11-17 09:27:10 +08:00
Lucas.Xu
31e9a0b4ea
feat: adjust code block, outline block on mobile (#3940)
* fix: missing delete cover button on mobile

* fix: ensure last node is an empty paragraph

* feat: adjust code block

* feat: adjust code block on mobile

* feat: adjust outline on mobile

* fix: appimage builder issues

* fix: view title issues

* fix: integration tests
2023-11-15 16:04:18 +08:00
Lucas.Xu
6a9866b9d2
chore: upgrade flutter to 3.13.9 (#3936) 2023-11-14 22:33:07 +08:00
Nathan.fooo
1c500fbfc5
feat: add lru cache for document/database instance (#3938) 2023-11-14 17:21:09 +08:00
Richard Shiue
4992f9c281
chore: fix-typo (#3934) 2023-11-14 15:41:44 +08:00
Nathan.fooo
75c26c807c
feat: User profile notify (#3937)
* chore: collab rev

* feat: recv user change via websocket
2023-11-14 14:01:46 +08:00
Richard Shiue
e788c71602
fix: padding issue with the select tags (#3929)
* fix: padding issue with the select tags

* chore: better solution from Lucas
2023-11-13 21:41:25 +08:00
Emil
7de2131431
chore: update Russian translations (#3823) 2023-11-13 19:36:41 +08:00
Richard Shiue
47f3702ca9
fix: integration test on kanban (#3928) 2023-11-13 19:32:11 +08:00
Lucas.Xu
3708a5b86a
feat: add alignment and indent/outdent toolbar item (#3927)
* chore: rename mobile list toolbar item

* feat: add alignment and indent/outdent toolbar item

* feat: adjust link menu on mobile platform
2023-11-13 18:08:39 +08:00
Richard Shiue
a63a7ea611
feat: hidden kanban groups (#3907)
* feat: hide/unhide ui

* chore: implement collapsible side bar and adjust group header (#2)

* refactor: hidden columns into own file

* chore: adjust new group button position

* fix: flowy icon buton secondary color bleed

* chore: some UI adjustments

* fix: some regressions

* chore: proper group is_visible fetching

* chore: use a bloc to manage hidden groups

* fix: hiding groups not working

* chore: implement hidden group popups

* chore: proper ungrouped item column management

* chore: remove ungrouped items button

* chore: flowy hover build

* fix: clean up code

* test: integration tests

* fix: not null promise on null value

* fix: hide and unhide multiple groups

* chore: i18n and code review

* chore: missed review

* fix: rust-lib-test

* fix: dont completely remove flowyiconhovercolor

* chore: apply suggest

* fix: number of rows inside hidden groups not updating properly

* fix: hidden groups disappearing after collapse

* fix: hidden group title alignment

* fix: insert newly unhidden groups into the correct position

* chore: adjust padding all around

* feat: reorder hidden groups

* chore: adjust padding

* chore: collapse hidden groups section persist

* chore: no status group at beginning

* fix: hiding groups when grouping with other types

* chore: disable rename groups that arent supported

* chore: update appflowy board ref

* chore: better naming

* test: fix tests

---------

Co-authored-by: Mathias Mogensen <mathias@appflowy.io>
2023-11-13 16:14:31 +08:00
Kilu.He
7867f0366e
feat: support the operations of field in the grid of tauri (#3906)
* feat: support the operations of field in the grid of tauri

* fix: performance optimizate
2023-11-13 14:16:32 +08:00
Lucas.Xu
251c6d22b2
fix: 0.3.8 known issues (#3912)
* fix: add a left padding to align the document and grid field

* fix: emoji picker in the slash menu is too small

* fix: replace the delete icon color with black

* fix: improve snackbar background color

* fix: cannot add new line after toggle list

* feat: set  as the default icon of getting started

* fix: the titlebar overflows when the title level is too deep

* fix: integration test

* fix: openAI hint text overflow

* fix: integration tests
2023-11-13 12:00:03 +08:00
Lucas.Xu
7cee8e392f
feat: adjust cover plugin and support recent section on mobile platform (#3921) 2023-11-13 10:07:46 +08:00
Richard Shiue
765103dd22
chore: share button text color (#3913) 2023-11-12 23:41:10 +08:00
Nathan.fooo
50e612511d
feat: using workspace crate deps (#3924)
* chore: workspace deps

* chore: use workspace deps
2023-11-12 21:18:27 +08:00
Nathan.fooo
7eb20b232a
feat: adding suffix for user data folder when current cloud type is appflowy cloud (#3918)
* fix: load database fail caused by spawning long run task

* chore: yield long run task

* chore: fmt

* chore: update client api

* feat: copy data between server

* ci: fix af cloud test
2023-11-12 18:00:07 +08:00
Kritarth Sharma
3c7e636b65
fix: added missing hover tooltip to toolbar item (#3786) 2023-11-10 15:42:40 +08:00
Mathias Mogensen
889a313cc2
chore: update to version 0.3.8 (#3902)
* chore: update to version 0.3.8

* chore: Update CHANGELOG.md

* chore: Update CHANGELOG.md
2023-11-09 13:11:33 +08:00
Lucas.Xu
9586ea0e6f
feat: display the titles of a view's ancestors and the view's title on the title bar. (#3898)
* feat: add no pages inside tips

* feat: show view's ancestors (include itself) title on bar

* feat: show view's ancestors (include itself) title on bar

* test: add integration tests

* fix: integration tests
2023-11-09 13:11:13 +08:00
Mathias Mogensen
42e7317cd4
fix: notifications setting (#3903)
* fix: notifications setting

* fix: remove dependency in reminder bloc

* test: remove redundant lines
2023-11-09 00:32:10 +01:00
Mathias Mogensen
17651bf64c
feat: show notes icon when notes is not empty (#3893)
* feat: show notes icon when notes is not empty

* fix: redundant clone

* chore: update collab and fix after merging main
2023-11-09 00:30:50 +01:00
Nathan.fooo
73f1c211c2
fix: Invalid refresh token (#3879)
* chore: update client api

* chore: update client api

* chore: update client api

* chore: fix clippy

* chore: fix clippy

* ci: fix

* chore: update client api
2023-11-08 21:48:17 +08:00
Lucas.Xu
afc6473582
feat: adjust toggle list, callout, quote and divider on mobile (#3894)
* feat: adjust toggle list block

* feat: show block actions when tapping divider

* feat: add toggle list and callout to toolbar

* feat: refactor the emoji picker button

* fix: toggle list integration tests
2023-11-08 21:10:29 +08:00
Kilu.He
663f9d3423
fix: support inserting grid block in editor (#3875)
* fix: support inserting grid block in editor

* feat: support adding view in table

* feat: support the operations of row in tauri grid
2023-11-08 14:13:17 +08:00
Generic-Ripe
5d4142d5b6
chore: update sv.json (#3896)
* Update sv.json

Some small typos

* Rename sv.json to sv-SE.json
2023-11-08 10:14:13 +08:00
Mathias Mogensen
fe23183aef
feat: add placeholder to card editor (#3870) 2023-11-07 15:58:22 +01:00
Lucas.Xu
8116ea1dba
feat: adjust math_equation block and image block on mobile platform (#3890)
* feat: add image toolbar entry

* feat: add ... buttos on math_equation and image block

* fix: review issues

* feat: add copy link and save image to gallery

* feat: support redo / undo on mobile toolbar
2023-11-07 15:24:32 +08:00
Lucas.Xu
3e6529aeb8
chore: add Roboto Mono font family and its regular and italic variants as assets (#3876) 2023-11-06 16:44:21 +08:00
Richard Shiue
c4fc60612f
feat: add new group (#3854)
* feat: implement backend logic

* fix: did_create_row not working properly

* fix: did_delete_group not working properly

* fix: test

* chore: fix clippy

* fix: new card not editable and in wrong position

* feat: imlement UI for add new stack

* test: add integration test

* chore: i18n

* chore: remove debug message

* chore: merge conflict

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-11-06 16:17:05 +08:00
Richard Shiue
4d82bb5322
chore: move field width to field settings (#3830)
* refactor: remove unnecessary builder

* feat: add width to field settings

* refactor: field settings logic

* chore: oopsies

* chore: implement UI

* chore: remove GridFieldCellEquatable

* test: rust-lib test fix
2023-11-06 14:48:59 +08:00
Nathan.fooo
2b684ae7bf
test: rename group test (#3790)
* refactor: rename group

* test: add rename group test

* chore: add group operation interceptor

* refactor: impl interceptor trait

* chore: update type option when group change

---------

Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
2023-11-06 14:39:31 +08:00
Richard Shiue
eb54cf99d4
fix: calendar event editor field name overflow (#3877) 2023-11-06 13:03:32 +08:00
Affif Mukhlashin
85af82acbe
chore: update translations for Indonesian (#3864)
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-11-06 11:05:42 +08:00
Nathan.fooo
3434d447a7
chore: update collab rev (#3874) 2023-11-06 00:47:20 +08:00
Nathan.fooo
1025b6d553
fix: af cloud sync auth (#3873)
* feat: open workspace

* chore: update env docs

* fix: invalid user callback

* fix: token invalid

* chore: update

* chore: update

* chore: update

* chore: fix test

* chore: fix tauri build
2023-11-05 14:00:24 +08:00
Mathias Mogensen
b35d6131d4
feat: inline page reference (#3859)
* feat: more methods of inserting page reference

* test: add tests for inserting document reference

* chore: remove unused import

* chore: update editor ref

* tests: fix test with an interim solution
2023-11-03 21:30:24 +01:00
Yijing Huang
bc502c9c5b
chore: improve share button text color (#3868) 2023-11-03 12:09:12 -07:00