Commit Graph

409 Commits

Author SHA1 Message Date
Nathan.fooo
2a35787dd1
Feat/rename views (#2495)
* refactor: rename belongings to child views

* test: fix test
2023-05-10 19:43:32 +08:00
Kilu.He
bc723f8d0f
chore: update node version to 18.16.0 and update pnpm version to 8.5.0 (#2492) 2023-05-10 17:21:41 +08:00
Kilu.He
dad0419da0
feat: support code block (#2464) 2023-05-10 15:53:30 +08:00
Nathan.fooo
a9c06632ad
ci: tauri build (#2485)
* ci: tauri build

* ci: tauri build

* chore: update appflowy-collab version

* ci: fix build

* ci: tauri with pnpm

* ci: fix build

* ci: comment out includetime

* chore: add the --quiet option (to only output errors and not warnings) to the configuration file

* ci: enable linux platform

---------

Co-authored-by: qinluhe <qinluhe.twodog@gmail.com>
2023-05-10 13:27:50 +08:00
Kilu.He
ba8cbe170c
Support divider block and callout block (#2457)
* feat: divider block

* feat: callout block
2023-05-08 10:31:35 +08:00
nathan
96c058db9b chore: fix compile 2023-05-08 10:30:24 +08:00
Kilu.He
12151d1f3b
feat: support toggle list (#2456) 2023-05-05 10:13:39 +08:00
Kilu.He
e2ced6524f
Feat/number list block (#2453)
* feat: support bulleted list block

* feat: support number list block
2023-05-04 17:20:23 +08:00
Kilu.He
cf97c8ba9c
Support block config (#2419)
* fix: refactor block config
2023-05-04 11:24:35 +08:00
Kilu.He
76b94e363e
Support quote block (#2415)
* feat: support quote block

* fix: database ts error
2023-05-03 14:54:07 +08:00
Kilu.He
7db36e3f1e
feat: checkbox block (#2413) 2023-05-03 11:18:25 +08:00
Nathan.fooo
93d787a9ae
Fix: flutter test (#2421)
* fix: tauri compile

* ci: update

* fix: flutter test
2023-05-02 17:10:35 +08:00
Kilu.He
f5b23e5fc1
feat: Support heading block (#2376)
* feat: support transform heading block according to markdown

* fix: folder scroll
2023-05-01 15:40:56 +08:00
Askarbek Zadauly
55cb7acc7f
feat: tauri kanban fixes (#2273)
* chore: group cards count

* chore: delete board card

* chore: date time format read and update

* fix: move field

* fix: dnd fields

* chore: number format popup

* chore: refactor date options

* chore: replace button in DateFormatPopup with PopupItem

---------

Co-authored-by: qinluhe <qinluhe.twodog@gmail.com>
2023-04-30 17:01:25 +08:00
Nathan.fooo
2838cd5e0c
Feat/tauri build (#2378)
* fix: tauri compile

* ci: update
2023-04-28 20:47:40 +08:00
qinluhe
070ac051b1
fix: support up/down/left/right keyboard event to move cursor (#2365) 2023-04-28 17:08:58 +08:00
Nathan.fooo
32bd0ffca2
feat: migrate flowy-database (#2373)
* feat: add flowy-database2

* chore: config type option data

* chore: impl type option

* feat: config group

* fix: group compile

* feat: add sort

* chore: setting

* chore: insert with specific type

* chore: custom group

* chore: rename any map

* chore: use group setting

* chore: update

* chore: open database event

* chore: update database editor

* chore: update

* chore: update view editor

* chore: update

* chore: update view editor

* chore: sort feat

* chore: update handler

* chore: update

* chore: config handler event

* feat: impl handlers

* feat: impl handlers

* chore: layout setting

* feat: impl handlers

* chore: remove flowy-folder ref

* chore: integrate flowy-database2

* feat: get cell

* chore: create database with data

* chore: create view

* chore: fix dart compile

* fix: some bugs

* chore: update

* chore: merge develop

* chore: fix warning

* chore: integrate rocksdb

* fix: rocksdb compile errros

* fix: update cell

* chore: update the bundle identifier

* fix: create row

* fix: switch to field

* fix: duplicate grid

* test: migrate tests

* test: migrate tests

* test: update test

* test: migrate tests

* chore: add patch
2023-04-28 14:08:53 +08:00
qinluhe
243f062d4f
feat: support to break wrap the text block when triggering shift+enter (#2360)
* fix: make TextBlock's keydown event code easier to maintain

* fix: support  to break wrap the text block
2023-04-27 15:39:16 +08:00
qinluhe
a0efd206a9
fix: modify some eslint rule (#2359) 2023-04-27 10:53:22 +08:00
qinluhe
9717dfa3c4
fix: refactor match change code (#2352) 2023-04-26 13:14:38 +08:00
qinluhe
eb78f9d36a
fix: make it unidirectional data flow by listening to document updates (#2347) 2023-04-25 19:10:08 +08:00
qinluhe
1ad2f6cef5
fix: set cursor after operation (#2343) 2023-04-25 15:52:57 +08:00
qinluhe
973cd9194d
feat: Support ui update when receive doc changes (#2270)
* fix: add  method

* fix: update text block and doc title

* fix: support ui update when receive doc changes

* fix: modify the subscribe change

* chore: add test for document manager

* chore: add test for document manager

* chore: add insert and update test for document manager

* fix: load document data

* fix: add update page block test

* fix: try fix again

* fix: node can not rerender when the node data change

* fix: it should cover all content when the text delta updated

* fix: add insert and delete operation in left menu

* fix: put the UI Actions in async thunks

* fix: remove log

* fix: split text block

* fix: review code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: nathan <nathan@appflowy.io>
2023-04-24 14:25:00 +08:00
Nathan.fooo
0068c7e731
fix: compile errors (#2310) 2023-04-21 17:02:26 +08:00
qinluhe
07947db98b
feat: split create document and open document (#2261)
* fix: add  method

* fix: update text block and doc title
2023-04-17 10:12:04 +08:00
qinluhe
4582413e89 fix: modify blocks pb 2023-04-14 09:23:22 +08:00
qinluhe
9ed5bfa51e fix: delete useless files 2023-04-13 19:41:31 +08:00
Lucas.Xu
ec89e9517b
feat: init flowy document 2 (#2248)
* feat: init flowy document 2

* feat: convert inner document to document PB

* feat: integrate colla document into Flutter

* feat: integrate colla document into tauri

* fix: cargo clippy
2023-04-13 18:53:51 +08:00
qinluhe
c7eb490db4
Merge pull request #2230 from Ascarbek/feat/tauri-grid
Feat: tauri grid
2023-04-13 10:55:07 +08:00
ascarbek
125eaf49a9 refactor: color item 2023-04-11 22:10:28 +06:00
ascarbek
73c4a33191 fix: separate icons page 2023-04-11 16:37:21 +06:00
Mikias Tilahun Abebe
68bfa0b9cd fix: remove try catch for global error boundary 2023-04-11 11:03:18 +03:00
qinluhe
d42084f242 Merge branch 'develop' of github.com:AppFlowy-IO/AppFlowy into refactor-tauri-document 2023-04-11 10:45:11 +08:00
qinluhe
886766c887 refactor: document controller 2023-04-11 10:35:47 +08:00
Mikias Tilahun Abebe
37a6b54e82 feat/implement error boundary 2023-04-10 18:24:08 +03:00
Nathan.fooo
341dce67d4
test: add tauri format test (#2229) 2023-04-10 22:50:00 +08:00
ascarbek
43cafdd524 fix: change to url error 2023-04-09 21:15:29 +06:00
ascarbek
2d85afe168 chore: HOC popup window 2023-04-09 20:13:53 +06:00
ascarbek
44585079b6 chore: import reorganize and edit option on grid 2023-04-09 18:38:18 +06:00
Mike Abebe
a33fc3dd60 feat/implement field options edit and change field option type functionality 2023-04-09 14:34:32 +03:00
ascarbek
e3b7864a91 chore: edit option name and color 2023-04-07 22:03:40 +06:00
ascarbek
6bbf6873d6 chore: edit cell options wip 2023-04-07 21:02:04 +06:00
Mike Abebe
bc9b1a5c33 fix: change grid type import 2023-04-07 14:51:16 +03:00
ascarbek
8b68b1390c Merge branch 'feat/tauri-kanban-fixes' into feat/tauri-grid 2023-04-07 17:39:18 +06:00
ascarbek
915494761a chore: close on esc 2023-04-07 17:25:04 +06:00
ascarbek
e467481b75 chore: group popup 2023-04-07 16:52:34 +06:00
ascarbek
c3a7f94cb3 chore: board toolbar 2023-04-07 16:22:11 +06:00
ascarbek
033a231b67 chore: board title and show icons on design page 2023-04-06 15:38:50 +06:00
ascarbek
d2b0f7e6b0 chore: imports optimise 2023-04-06 14:46:49 +06:00
ascarbek
0c211188f0 Merge branch 'upstream-develop' into feat/tauri-kanban-fixes 2023-04-05 21:35:20 +06:00
Mike Abebe
4f08654fc3 feat/add new field functionality done 2023-04-05 17:25:07 +03:00
Mike Abebe
db1184ff0d feat/add row functionality done 2023-04-05 17:13:52 +03:00
Mike Abebe
764ec73e94 feat/integrate number to grid 2023-04-05 16:56:59 +03:00
Mike Abebe
4d5a3ee13d feat/integrate url to grid 2023-04-05 16:07:15 +03:00
ascarbek
034d4d9bf4 chore: return database rows on open 2023-04-04 17:23:15 +06:00
ascarbek
ed977868cf Merge branch 'feat/tauri-move-fields' into feat/tauri-grid
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/DatePickerPopup.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCheckboxCell.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/board/BoardCell.tsx
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_bd_svc.ts
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
2023-04-04 17:16:05 +06:00
Mike Abebe
8ccc2414c8 feat/integrate checkbox to grid 2023-04-04 13:03:58 +03:00
Mike Abebe
6977e5e65c feat/integrate single select options to grid 2023-04-04 12:50:33 +03:00
Mike Abebe
e38398e235 feat/integrate single select options to grid 2023-04-04 12:46:39 +03:00
Mike Abebe
da45531801 feat/show edit popup on expand icon click 2023-04-04 09:23:21 +03:00
Nathan.fooo
ddd3fbb178
fix: tauri folder display (#2176)
* fix: tauri folder display

* refactor: rename layout type
2023-04-04 14:08:50 +08:00
Nathan.fooo
e1c8135f5d
refactor: folder with yrs
* feat: try using folder2

* feat: update

* feat: implement handlers

* fix: compile errors

* chore: add unsafe send + sync

* feat: remove unsafe impl

* fix: replace folder with foler2

* chore: dart compile errors

* test: fix test

* test: fix test

* test: bypass existing tests

* feat: open latest view

* chore: fix dart warnings

* chore: config notification

* fix: folder notification  bugs

* fix: doesn't open the new view after creating

* chore: rename struct

* refactor: user id

* test: fix test

* chore: remove unused user_id

* fix: fix read workspace views

* chore: rename appflowy data folder

* chore: update ref

* fix: tauri build
2023-04-04 08:41:16 +08:00
ascarbek
2f2736df20 chore: save and get checkbox cell 2023-04-03 21:33:33 +06:00
ascarbek
2c13cccb4f chore: save and get date cell 2023-04-03 21:07:59 +06:00
Nathan.fooo
cb149ec73d
test: add save date cell and checkbox cell (#2167)
* test: add save date cell and checkbox cell

* chore: add move field test

* ci: fix tauri build
2023-04-03 09:26:12 +08:00
Askarbek Zadauly
fe524dbc78
feat: move kanban blocks (#2022)
* chore: add edit / create field test

* chore: add delete field test

* chore: change log class arguments

* chore: delete/create row

* chore: set tracing log to debug level

* fix: filter notification with id

* chore: add get single select type option data

* fix: high cpu usage

* chore: format code

* chore: update tokio version

* chore: config tokio runtime subscriber

* chore: add profiling feature

* chore: setup auto login

* chore: fix tauri build

* chore: (unstable) using controllers

* fix: initially authenticated and serializable fix

* fix: ci warning

* ci: compile error

* fix: new folder trash overflow

* fix: min width for nav panel

* fix: nav panel and main panel animation on hide menu

* fix: highlight active page

* fix: post merge fixes

* fix: post merge fix

* fix: remove warnings

* fix: change IDatabaseField fix eslint errors

* chore: create cell component for each field type

* chore: move cell hook into custom cell component

* chore: refactor row hook

* chore: add tauri clean

* chore: add tauri clean

* chore: save offset top of nav items

* chore: move constants

* fix: nav item popup overflow

* fix: page rename position

* chore: remove offset top

* chore: remove floating menu functions

* chore: scroll down to new page

* chore: smooth scroll and scroll to new folder

* fix: breadcrumbs

* chore: back and forward buttons nav scroll fix

* chore: get board groups and rows

* chore: set log level & remove empty line

* fix: create kanban board row

* fix: appflowy session name

* chore: import beautiful dnd

* bug: kanban new row

* chore: update refs

* fix: dispose group controller

* fix: dispose cell controller

* chore: move rows in group

* chore: move row into other block

* fix: groups observer dispose

* chore: dnd reordering

* chore: fix import references

* chore: initial edit board modal

* fix: kanban board rendering

* chore: add column and edit text cell

* chore: column rename

* chore: edit row components reorganize

* chore: don't show group by field

* wip: edit cell type

* chore: fade in, out

* chore: change field type

* chore: update editing cell

* chore: fade in change

* chore: cell options layout

* fix: padding fixes for cell wrapper

* fix: cell options positions

* chore: cell options write to backend

* fix: select options for new row

* chore: edit url cell

* chore: language button

* fix: close popup on lang select

* fix: save url cell

* chore: date picker

* chore: small code cleanups

* chore: options in board

* chore: move fields dnd

---------

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: appflowy <annie@appflowy.io>
2023-04-02 20:54:39 +08:00
ascarbek
7970e7fae3 fix: gridpage error 2023-03-31 20:03:44 +06:00
ascarbek
75f7b9765d chore: edit grid row 2023-03-31 19:51:30 +06:00
ascarbek
ac2a0c5b91 Merge branch 'feat/tauri-kanban' into feat/tauri-grid
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellText.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditCellWrapper.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditFieldPopup.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/EditRow/EditRow.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useCell.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/_shared/database-hooks/useRow.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/board/BoardTextCell.tsx
2023-03-31 19:30:53 +06:00
ascarbek
c7acf9a594 chore: move fields dnd 2023-03-30 18:44:16 +06:00
ascarbek
d1d667c497 chore: options in board 2023-03-30 16:32:37 +06:00
ascarbek
b21ed2488b chore: small code cleanups 2023-03-30 16:02:12 +06:00
ascarbek
03eaf0b4cb chore: date picker 2023-03-30 03:29:23 +06:00
ascarbek
b9e49f109d fix: save url cell 2023-03-29 13:30:42 +06:00
ascarbek
b03b2705f0 Merge branch 'upstream-main' into feat/tauri-kanban 2023-03-29 13:18:07 +06:00
Nathan.fooo
a593c56070
fix: tauri cell update (#2124)
* test: subscribe text cell change

* test: add edit url cell test
2023-03-28 16:42:16 +08:00
ascarbek
521fe13cfb fix: close popup on lang select 2023-03-27 19:28:26 +06:00
ascarbek
09445411a3 chore: language button 2023-03-27 19:09:51 +06:00
ascarbek
f86254c8ef chore: edit url cell 2023-03-27 18:42:23 +06:00
qinluhe
03cd9a6993
Refactor tauri document (#2117)
* fix: Optimize the re-render node when the selection changes

* feat: the feature of delete block

* feat: add left tool when hover on block

* refactor: document data and update

* refactor: document component

* refactor: document controller
2023-03-27 17:55:24 +08:00
qinluhe
35c21c0d84 refactor: document component 2023-03-27 14:40:07 +08:00
ascarbek
c50c23bc3a fix: select options for new row 2023-03-27 02:58:12 +06:00
ascarbek
a8a35dcbec chore: cell options write to backend 2023-03-27 02:39:15 +06:00
ascarbek
f390658ee0 fix: cell options positions 2023-03-27 01:12:03 +06:00
ascarbek
994e204097 fix: padding fixes for cell wrapper 2023-03-27 01:09:38 +06:00
ascarbek
5825195b8e chore: cell options layout 2023-03-27 00:59:49 +06:00
qinluhe
df66521f13 refactor: document data and update 2023-03-25 17:38:58 +08:00
Mike Abebe
8323614583 feat: write grid cell data to backend for only text fieldtype 2023-03-25 11:54:04 +03:00
ascarbek
5762419aae chore: fade in change 2023-03-24 20:56:48 +06:00
ascarbek
bd8d816862 chore: update editing cell 2023-03-24 20:53:45 +06:00
ascarbek
5ddb5100ad chore: change field type 2023-03-24 20:20:56 +06:00
ascarbek
27a8eea6e2 chore: fade in, out 2023-03-24 20:02:52 +06:00
ascarbek
6e24af9c68 tempfix: rows misfire temp fix 2023-03-24 18:24:28 +06:00
ascarbek
da19987f4b wip: edit cell type 2023-03-24 17:56:53 +06:00
ascarbek
6f4b11f468 chore: don't show group by field 2023-03-24 13:28:30 +03:00
ascarbek
98e9ba19d6 chore: edit row components reorganize 2023-03-24 13:28:30 +03:00
ascarbek
4545410703 chore: column rename 2023-03-24 13:28:30 +03:00
ascarbek
c453d734ab chore: add column and edit text cell 2023-03-24 13:28:30 +03:00
ascarbek
0719f54dec chore: initial edit board modal 2023-03-24 13:28:30 +03:00
qinluhe
7781b912f0 feat: add left tool when hover on block 2023-03-24 16:51:07 +08:00
qinluhe
c6c97f7c83 feat: the feature of delete block 2023-03-24 16:51:07 +08:00
qinluhe
a38c213744 fix: Optimize the re-render node when the selection changes 2023-03-24 16:50:59 +08:00
Mike Abebe
073adf6268 feat/integrate table with backend 2023-03-23 13:29:30 +03:00
ascarbek
d05cc4005b chore: don't show group by field 2023-03-23 00:54:28 +06:00
ascarbek
da1ee430b0 chore: edit row components reorganize 2023-03-23 00:07:17 +06:00
ascarbek
13e9b29eef chore: column rename 2023-03-23 00:04:51 +06:00
ascarbek
c0c302bdfd chore: add column and edit text cell 2023-03-22 19:54:42 +06:00
Mike Abebe
5da5d92b8a fix/move grid view options to dropdown 2023-03-22 08:51:27 +03:00
qinluhe
8471bc299d
feat: block list virtualized scroll (#2023)
* feat: block list virtualized scroll

* feat: block selection

* refactor: block editor

* fix: block selection scroll

* fix: ts error
2023-03-22 10:46:01 +08:00
ascarbek
47429e2fd2 Merge branch 'feat/tauri-kanban' into feat/tauri-edit-kanban-row 2023-03-21 11:24:26 +06:00
ascarbek
07b183aef2 Merge remote-tracking branch 'origin/feat/tauri-kanban' into feat/tauri-kanban 2023-03-21 11:22:53 +06:00
ascarbek
dc97912dba fix: kanban board rendering 2023-03-21 11:22:42 +06:00
ascarbek
2825e19465 chore: initial edit board modal 2023-03-21 10:50:59 +06:00
nathan
baa67e2aed chore: fix import references 2023-03-21 08:18:11 +08:00
Sara Tavares
4798467621
chore(typos): fix typos (#1961)
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
2023-03-20 21:29:17 +08:00
Nathan.fooo
b21ee5d2de
feat: migration database (#2009)
* feat: migration database

* ci: fix tauri ci

* feat: migrate database view

* ci: fix ci
2023-03-18 06:45:12 +08:00
ascarbek
d60c39d483 chore: dnd reordering 2023-03-17 15:13:51 +06:00
ascarbek
745ee264c8 Merge branch 'upstream-main' into feat/tauri-kanban
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_bd_svc.ts
2023-03-17 13:22:05 +06:00
ascarbek
4b1f45a4be fix: groups observer dispose 2023-03-17 13:13:04 +06:00
Nathan.fooo
1dbfd838ef
feat: update kanban demo (#2008) 2023-03-17 11:01:14 +08:00
ascarbek
fa427fe650 chore: move row into other block 2023-03-16 18:59:05 +06:00
ascarbek
ab5b40fa51 chore: move rows in group 2023-03-16 18:55:06 +06:00
ascarbek
60676fdc41 fix: dispose cell controller 2023-03-15 21:42:44 +06:00
ascarbek
96be3c6ebe fix: dispose group controller 2023-03-15 20:19:09 +06:00
appflowy
1d6f74180f chore: update refs 2023-03-15 16:14:36 +08:00
ascarbek
d92c0bffd6 bug: kanban new row 2023-03-15 11:18:14 +06:00
ascarbek
a66d457f10 chore: import beautiful dnd 2023-03-13 17:41:51 +06:00
Nathan.fooo
5a17716fd8
fix: Tauri UI issues (#1980) (#1982)
* chore: add edit / create field test

* chore: add delete field test

* chore: change log class arguments

* chore: delete/create row

* chore: set tracing log to debug level

* fix: filter notification with id

* chore: add get single select type option data

* fix: high cpu usage

* chore: format code

* chore: update tokio version

* chore: config tokio runtime subscriber

* chore: add profiling feature

* chore: setup auto login

* chore: fix tauri build

* chore: (unstable) using controllers

* fix: initially authenticated and serializable fix

* fix: ci warning

* ci: compile error

* fix: new folder trash overflow

* fix: min width for nav panel

* fix: nav panel and main panel animation on hide menu

* fix: highlight active page

* fix: post merge fixes

* fix: post merge fix

* fix: remove warnings

* fix: change IDatabaseField fix eslint errors

* chore: create cell component for each field type

* chore: move cell hook into custom cell component

* chore: refactor row hook

* chore: add tauri clean

* chore: add tauri clean

* chore: save offset top of nav items

* chore: move constants

* fix: nav item popup overflow

* fix: page rename position

* chore: remove offset top

* chore: remove floating menu functions

* chore: scroll down to new page

* chore: smooth scroll and scroll to new folder

* fix: breadcrumbs

* chore: back and forward buttons nav scroll fix

* chore: get board groups and rows

* chore: set log level & remove empty line

* fix: create kanban board row

* fix: appflowy session name

---------

Co-authored-by: ascarbek <ascarbek@gmail.com>
2023-03-13 16:42:45 +08:00
appflowy
88e0f6a32c fix: appflowy session name 2023-03-13 16:09:11 +08:00
appflowy
34cb2b2a09 fix: create kanban board row 2023-03-13 15:57:45 +08:00
appflowy
5fb86c4002 Merge branch 'main' into feat/appflowy_tauri_3 2023-03-13 15:19:12 +08:00
appflowy
25707edbdd chore: set log level & remove empty line 2023-03-13 15:16:41 +08:00
qinluhe
ed2c5c17d8
Feat appflowy list block (#1949)
* feat: Initialize appflowy block data and render block list

* feat: Implement column layout rendering

* feat: Implement list redering

* feat: Cache block rect info

* fix: The input chars will repeated when inputting Chinese

* fix: Remove unnecessary fields in the block and encapsulate the block manager

* fix: fix ts error
2023-03-13 12:04:31 +08:00
ascarbek
c80e77ab16 chore: get board groups and rows 2023-03-12 22:29:03 +06:00
ascarbek
a9c8bad599 Merge branch 'upstream-main' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/package.json
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/HeaderPanel/Breadcrumbs.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/MainPanel.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.hooks.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/PageItem.hooks.ts
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/PageItem.tsx
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/Screen.tsx
2023-03-12 17:19:06 +06:00
ascarbek
268b6ce926 chore: back and forward buttons nav scroll fix 2023-03-11 20:57:25 +06:00
Lucas.Xu
668e1196d1
chore: config tauri web driver test (#1947)
* chore: setup tauri test

* chore: update test

* chore: update test

* chore: update test

* chore: update test

* refactor: test folder location

* chore: remove deps

* ci: fix build

---------

Co-authored-by: appflowy <annie@appflowy.io>
Co-authored-by: nathan <nathan@appflowy.io>
2023-03-11 13:07:31 +08:00
ascarbek
da8c39d0b6 fix: breadcrumbs 2023-03-10 19:50:10 +06:00
ascarbek
7e3273c708 chore: smooth scroll and scroll to new folder 2023-03-10 18:58:14 +06:00
ascarbek
67e396aadf chore: scroll down to new page 2023-03-10 18:33:54 +06:00
ascarbek
6304c7d95b chore: remove floating menu functions 2023-03-10 16:59:11 +06:00
ascarbek
ad0a6d01d2 chore: remove offset top 2023-03-09 23:04:31 +06:00
ascarbek
f556e50be4 fix: page rename position 2023-03-09 22:54:38 +06:00
ascarbek
593446bffe fix: nav item popup overflow 2023-03-09 22:22:55 +06:00
ascarbek
91e5219627 chore: move constants 2023-03-09 16:12:27 +06:00
ascarbek
2d8182c503 chore: save offset top of nav items 2023-03-09 15:16:41 +06:00
qinluhe
1d28bed281
feat: Initialize appflowy block data and render block list (#1940) 2023-03-09 13:52:48 +08:00
Nathan.fooo
7106195d8a
Feat/calendar with backend data (#1930)
* chore: enable calendar view

* chore: update database group listener

* refactor: remove board data controller

* refactor: remove group backend service

* refactor: remove calendar controller

* chore: create default calendar setting

* chore: send calednar setting notifications

* refactor: rename the card in kanban board, prepare to reuse in calendar

* refactor: support custom card cell

* chore: return calendar events

* refactor: remove groupId in card, make card more generic

* chore: display cell

* chore: display three cards in calendar

* chore: create calendar card

* refactor: create row with data

* chore: support create event

* ci: fix tauri build

* chore: disable create calendar
2023-03-08 21:19:44 +08:00
Nathan.fooo
90da54d12f
feat: integrate database controller (tauri)
* feat: using controllers in react hooks WIP (#1915)

* chore: add edit / create field test

* chore: add delete field test

* chore: change log class arguments

* chore: delete/create row

* chore: set tracing log to debug level

* fix: filter notification with id

* chore: add get single select type option data

* fix: high cpu usage

* chore: format code

* chore: update tokio version

* chore: config tokio runtime subscriber

* chore: add profiling feature

* chore: setup auto login

* chore: fix tauri build

* chore: (unstable) using controllers

* fix: initially authenticated and serializable fix

* fix: ci warning

* ci: compile error

* fix: new folder trash overflow

* fix: min width for nav panel

* fix: nav panel and main panel animation on hide menu

* fix: highlight active page

* fix: post merge fixes

* fix: post merge fix

* fix: remove warnings

* fix: change IDatabaseField fix eslint errors

* chore: create cell component for each field type

* chore: move cell hook into custom cell component

* chore: refactor row hook

* chore: add tauri clean

---------

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>

* ci: fix wanrings

---------

Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-03-08 10:59:52 +08:00
ascarbek
0a3231cd9a chore: add tauri clean 2023-03-07 13:28:49 +06:00
ascarbek
aab62f4048 Merge branch 'upstream-main' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/TestApiButton/TestGrid.tsx
#	frontend/appflowy_tauri/src/appflowy_app/stores/effects/database/database_controller.ts
2023-03-07 13:25:56 +06:00
ascarbek
79c1568295 chore: refactor row hook 2023-03-06 20:01:41 +06:00
ascarbek
c8569d3c62 chore: move cell hook into custom cell component 2023-03-06 17:47:37 +06:00
ascarbek
3635b6b63e chore: create cell component for each field type 2023-03-06 17:39:11 +06:00
ascarbek
7ca4da0966 fix: change IDatabaseField fix eslint errors 2023-03-06 16:13:43 +06:00
ascarbek
557a524648 fix: remove warnings 2023-03-06 11:35:23 +06:00
ascarbek
88eeb6bd36 fix: post merge fix 2023-03-06 00:01:59 +06:00
ascarbek
d1c29ec3e7 fix: post merge fixes 2023-03-05 23:43:59 +06:00
ascarbek
fb8a81eca5 Merge remote-tracking branch 'origin/feat/appflowy_tauri_3' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/layout/NavigationPanel/NavigationPanel.tsx
2023-03-05 23:38:19 +06:00
ascarbek
e297769ac2 fix: highlight active page 2023-03-05 23:34:46 +06:00
ascarbek
543846c241 fix: nav panel and main panel animation on hide menu 2023-03-05 23:22:43 +06:00
ascarbek
84f41cec76 fix: min width for nav panel 2023-03-05 22:28:33 +06:00
ascarbek
3afca2b482 fix: new folder trash overflow 2023-03-05 22:19:46 +06:00
Nathan.fooo
45045beeb9
chore: rename document test (#1925) 2023-03-05 19:19:40 +08:00
Nathan.fooo
7e7cee4bf4
chore: add tauri database group test (#1924)
* chore: add tauri database group test

* chore: add more tests

* chore: enable run all tests

* chore: rename test folder
2023-03-05 16:26:27 +08:00
Nathan.fooo
8e22ef2230
chore: observer app change (#1922) 2023-03-05 16:13:06 +08:00
nathan
b417fb5fdf ci: compile error 2023-03-04 19:27:18 +08:00
Nathan.fooo
0b2dc415af
Merge branch 'feat/appflowy_tauri_3' into feat/appflowy_tauri_3 2023-03-04 19:18:17 +08:00
Nathan.fooo
6aa9ba28d6
Feat/tauri folder (#1921)
* refactor: folders item

* fix: show get stared page if it's not login

* chore: expose debug pages
2023-03-04 16:15:24 +08:00
Nathan.fooo
205b0fc4a5
Fix/tauri login state (#1919)
* fix: redux serializableCheck

* chore: read login state

* fix: show loading page while checking user state

* chore: cell data parser
2023-03-04 11:03:16 +08:00
ascarbek
d0558e4da1 fix: ci warning 2023-03-03 19:18:15 +06:00
Nathan.fooo
0f3c6d6a04
Feat/appflowy tauri 3 (#1914) 2023-03-03 20:38:31 +08:00
ascarbek
7839ad26c4 fix: initially authenticated and serializable fix 2023-03-03 18:37:50 +06:00
ascarbek
075bf8f2fc Merge branch 'upstream-feat/appflowy_tauri_3' into feat/appflowy_tauri_3
# Conflicts:
#	frontend/appflowy_tauri/src/appflowy_app/components/TestApiButton/TestGrid.tsx
2023-03-03 17:17:11 +06:00
ascarbek
11649ef16d chore: (unstable) using controllers 2023-03-03 17:14:58 +06:00
nathan
24340f3091 chore: fix tauri build 2023-03-03 19:06:57 +08:00
nathan
a2bdb08a84 chore: setup auto login 2023-03-03 17:58:45 +08:00
nathan
9b0fccbdda chore: update tokio version 2023-03-03 10:04:53 +08:00
nathan
c35db5c2a2 fix: high cpu usage 2023-03-02 19:47:37 +08:00
ascarbek
08bb4e4116 Merge remote-tracking branch 'origin/feat/appflowy_tauri_3' into feat/appflowy_tauri_3 2023-03-01 18:41:32 +06:00
nathan
2e4df44c29 chore: add get single select type option data 2023-03-01 20:16:25 +08:00
nathan
f58c91fb3f fix: filter notification with id 2023-03-01 19:05:56 +08:00
nathan
fd135fb664 chore: set tracing log to debug level 2023-03-01 18:45:52 +08:00
nathan
c74308999d chore: delete/create row 2023-03-01 18:23:39 +08:00
ascarbek
e5a1bd2c52 chore: change log class arguments 2023-03-01 16:04:51 +06:00
nathan
a3f4dfacba chore: add delete field test 2023-03-01 14:17:17 +08:00
nathan
3619fadf57 chore: add edit / create field test 2023-03-01 14:04:59 +08:00
Nathan.fooo
f6957fb160
Feat/appflowy tauri 2 (#1902)
* chore: rename classes to models

* refactor: add effects and reducers folder

* chore: update user data storage path

* chore: subscribe callback

* chore: nav items persist, board layout (#1879)

* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data

* chore: clear folders and pages before load, new folder event

* chore: update folder name backend call

* chore: folder expand animation

* chore: hide arrow on empty folder

* chore: Board page layout, board store, board sample data

* chore: board block item

* chore: test db id

* chore: persist new page, persist page rename, create workspace on read error

* chore: boardblockitem details btn

* chore: boardblockitem multiselect data and colors

* chore: board item drag

* chore: drag start on move

* chore: remove databaseId

* chore: remove databaseId

* chore: import service classes into auth hook

* chore: sign out option

* chore: login page event

* chore: signup event

* chore: make workspace hook to use service

* chore: page and folder hooks use backend services

* chore: new folder use backend service

* chore: error handler page

* chore: try catch hooks to show error page

* chore: install i18n package and use flutters i18n files

* fix: signin signup margin

* chore: fix compile errors

* chore: remove unused codes

* chore: open workspace after user register

* chore: open workspace after user register

* chore: add create grid demo

* chore: load the cell data

* chore: print the cell data

* chore: fix project errors

* fix: tauri UI issues (#1899)

* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data

* chore: clear folders and pages before load, new folder event

* chore: update folder name backend call

* chore: folder expand animation

* chore: hide arrow on empty folder

* chore: Board page layout, board store, board sample data

* chore: board block item

* chore: test db id

* chore: persist new page, persist page rename, create workspace on read error

* chore: boardblockitem details btn

* chore: boardblockitem multiselect data and colors

* chore: board item drag

* chore: drag start on move

* chore: remove databaseId

* chore: remove databaseId

* chore: import service classes into auth hook

* chore: sign out option

* chore: login page event

* chore: signup event

* chore: make workspace hook to use service

* chore: page and folder hooks use backend services

* chore: new folder use backend service

* chore: error handler page

* chore: try catch hooks to show error page

* chore: install i18n package and use flutters i18n files

* fix: signin signup margin

* fix: new page overflow with folder

* fix: sign out button

* fix: sign out icon

* chore: floating navigation panel

* refactor: notify with error

* chore: config window size

* fix: test demo error

* chore: update tests

---------

Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-28 22:42:41 +08:00
Nathan.fooo
4a81fed6e4
fix: group with not support field test (#1890) 2023-02-27 19:00:00 +08:00
Nathan.fooo
61fd608200
Feat/view map database (#1885)
* refactor: rename structs

* chore: read database id from view

* chore: fix open database error because of create a database view for database id

* chore: fix tests

* chore: rename datbase id to view id in flutter

* refactor: move grid and board to database view folder

* refactor: rename functions

* refactor: move calender to datbase view folder

* refactor: rename app_flowy to appflowy_flutter

* chore: reanming

* chore: fix freeze gen

* chore: remove todos

* refactor: view process events

* chore: add link database test

* chore: just open view if there is opened database
2023-02-26 16:27:17 +08:00
Nathan.fooo
f76d722b4c
Feat/database view (#1875)
* chore: rename structs

* chore: add todos

* chore: hidden database id

* refactor: add database folder, prepare to extract the view

* refactor: rename grid-model to datbase-model

* ci: fix warnings
2023-02-21 15:47:51 +08:00
Nathan.fooo
8a2f5fe789
Feat/tauri database effects (#1863)
* feat: config database view effects

* chore: add tests

* chore: config jest

* chore: config jest windows

* ci: wanrings

* chore: config folder effect
2023-02-19 14:59:04 +08:00
Nathan.fooo
51041f6860
CI: Appflowy tauri ci (#1851)
* chore: add notification parser

* chore: rename classes to models

* refactor: add effects and reducers folder

* chore: update eslint version

* chore: run npx eslint --fix src

* fix: ParserOptions.project error by ignore linting the  .eslintrc.cjs

* ci: add tauri lint

* ci: disable ubuntu and windows tauri ci

* ci: install

---------

Co-authored-by: Annie <anqi.annie.wang@gmail.com>
2023-02-13 19:24:16 +08:00
Nathan.fooo
6bb1c4e89c
feat: run rustfmt with custom defined fmt configuration (#1848)
* chore: update rustfmt

* chore: apply rustfmt format
2023-02-13 09:29:49 +08:00
Nathan.fooo
e2496e734c
docs: udpate user events (#1846) 2023-02-13 08:21:25 +08:00
Nathan.fooo
1ad08ba59d
Feat/appflowy tauri UI (#1835)
* chore: create folders

* chore: setup taliwindcss (#1742)

* chore: create folders

* chore: setup taliwindcss

---------

Co-authored-by: nathan <nathan@appflowy.io>
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>

* feat: greater to blockquote

* fix: local variable 'text' isn't used

* feat: #1061 Support markdown to create a blockquote

* fix: #1732 the actions of an image look different than the ones of a code block

* fix: command of double tilde to strikethrough

* feat: callout (#1732)

* feat: add callout plugin

* refactor: add SelectionMenuItem.node factory

makes calloutMenuItem more readable

* feat: add color picker

* feat: add popover to callout

* feat: add emoji to callout

* fix: store tint name

* fix: remove leading underscores

* fix: revert export of editor_entry

* refactor: move color tint names to appflowy_editor

* fix: #1732 only re-insert text node if it's parent is text node too while deleting

* docs: doc comment for SelectionMenuItem.node

* fix: disable callout plugin

should be re-enabled after #1753 is done

* fix: typo

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* Feat/http server adapt (#1754)

* 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

* Feat/database view (#1765)

* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code

* fix: #1763 [Bug] Mouse unable to click a certain area

* fix: potential async errors (#1772)

* feat: Skeleton task (#1775)

* chore: change tauri dev npm script

* chore: setup prettier

* chore: add protobuf type

* chore: move test calls to separate component

* chore: serve assets from app_flowy folder

* chore: import poppins font

* chore: install eslint, remove errors

* placeholder components

* chore: import colors from UI kit, footer panel

* chore: reorganise components

* chore: redux toolkit, navigation folders and files, navigation hooks

* fix: on add folder others close

* fix: tauri_dev task

* fix: restore grid notification

* chore: navigation items events (#1784)

* chore: change tauri dev npm script

* chore: setup prettier

* chore: add protobuf type

* chore: move test calls to separate component

* chore: serve assets from app_flowy folder

* chore: import poppins font

* chore: install eslint, remove errors

* placeholder components

* chore: import colors from UI kit, footer panel

* chore: reorganise components

* chore: redux toolkit, navigation folders and files, navigation hooks

* fix: on add folder others close

* fix: tauri_dev task

* fix: restore grid notification

* chore: shared button

* chore: folder/file popup, rename/duplicate/delete items

* chore: new page types popup

* fix: navitem pages padding

* fix: page click mishandle

* fix: folder click mishandle

* chore: add other page types

* fix: stop propagating on button click

* fix: one alt

* fix: renaming change bg

* refactor: brake Navigation Panel into smaller components

* chore: header panel folder

* chore: focus and select all on rename popup

* chore: add classname to popup

* chore: navigation panel resize

* Feat/appflowy tauri (#1831)

* feat:grid view structure

* feat:add store and refactor grid page

* chore: import icons, resize grid items, change grid items style, add field type icons, reorganize grid toolbar

* feat: auth screens(login, signup and confirm-account) ui done

* chore: add tailwind class sorter and formatted all files

* chore: group svgs into single folder

* chore: resolve warnings in svg files

* fix: use exported fieldType enum

* fix: resolve FieldType referances

* chore: auth pages fixes, replace links, replace buttons, svg fixes, navigate between pages, navigate to homepage on main button click

---------

Co-authored-by: ascarbek <ascarbek@gmail.com>

* ci: wanrings

---------

Co-authored-by: Mikias Tilahun Abebe <mikiastilahun@gmail.com>
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-10 16:26:14 +08:00
Nathan.fooo
cbd351453d
ci: add tauri ci (#1833)
* ci: add tauri ci

* ci: update install windows scripts

* Update tauri_ci.yaml

* Update tauri_ci.yaml

* ci: update
2023-02-10 14:30:34 +08:00
Nathan.fooo
069519589e
Fix/grid group (#1787)
* ci: config rust log

* chore: rename flowy-sdk to appflowy-core

* fix: create group after editing the url

* fix: start listen on new group

* chore: add tests

* refactor: mock data

* ci: update command
2023-02-02 23:02:49 +08:00
Nathan.fooo
71022ed934
fix: potential async errors (#1772) 2023-01-31 19:30:48 +08:00
Nathan.fooo
5b07656295
Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code
2023-01-31 08:28:31 +08:00
Nathan.fooo
0d8adaa921
Feat/http server adapt (#1754) 2023-01-30 11:11:19 +08:00
Nathan.fooo
4fb2afe82e
chore: notification parser (#1745) 2023-01-27 22:57:23 +08:00
Nathan.fooo
7a750e5255
chore: listen backend notification from Tauri (#1743) 2023-01-27 17:17:51 +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
Nathan.fooo
67f07463f0
refactor: tauri folder (#1738) 2023-01-24 14:01:30 +08:00
Nathan.fooo
1b654e556f
chore: config tauri foder (#1721)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-18 14:21:08 +08:00
Nathan.fooo
d77c41013f
chore: build tauri from vscode launch (#1720)
* chore: build tauri from vscode launch

* fix: unit test

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-18 11:22:13 +08:00
Nathan.fooo
ceb39a4fd9
chore: add tauri build config (#1717)
Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 21:54:25 +08:00
Nathan.fooo
f64346c955
Feat/tauri (#1716)
* feat: support tauri desktop

* chore: support call flowy sdk command

* chore: switch to svelte

* chore: gen js protobuf

* chore: import js protobuf

* chore: call flowy sdk handler

* chore: update scipts

* chore: create index.ts

* chore: track files

* chore: gen ts event

* chore: replace application icon

* chore: migrate to react

* chore: fix wanrings

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-17 16:27:17 +08:00