Commit Graph

209 Commits

Author SHA1 Message Date
Lucas.Xu
2202326278
feat: integrate new editor (#2536)
* feat: update editor

* feat: integrate new editor

* feat: integrate the document2 into folder2

* feat: integrate the new editor

* chore: cargo fix

* chore: active document feature for flowy-error

* feat: convert the editor action to collab action

* feat: migrate the grid and board

* feat: migrate the callout block

* feat: migrate the divider

* chore: migrate the callout and math equation

* feat: migrate the code block

* feat: add shift + enter command in code block

* feat: support tab and shift+tab in code block

* fix: cursor error after inserting divider

* feat: migrate the grid and board

* feat: migrate the emoji picker

* feat: migrate openai

* feat: integrate floating toolbar

* feat: migrate the smart editor

* feat: migrate the cover

* feat: add option block action

* chore: implement block selection and delete option

* feat: support background color

* feat: dismiss color picker afer setting color

* feat: migrate the cover block

* feat: resize the font

* chore: cutomsize the padding

* chore: wrap the option button with ignore widget

* feat: customize the heading style

* chore: optimize the divider line height

* fix: the option button can't dismiss

* ci: rust test

* chore: flutter analyze

* fix: code block selection

* fix: dismiss the emoji picker after selecting one

* chore: optimize the transaction adapter

* fix: can't save the new content

* feat: show export page when some errors happen

* feat: implement get_view_data for document

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-05-16 14:58:24 +08:00
Richard Shiue
a978b29748
chore: merge remote-tracking branch 'main' into develop (#2530)
* feat: show unscheduled events in calendar toolbar (#2411)

* refactor: use same show row detail function

* fix: adjust popover offset

* feat: show unscheduled events in toolbar

* chore: apply suggestions from Xazin

* refactor: refactor list item into separate widget

---------

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

* fix: default include time (#2444)

* fix: default include time

* chore: clarify logic and add comments

* chore: bump version 0.1.4 (#2455)

* chore: Update README.md

Update product screenshots

* fix: wrong day of week (#2468)

* feat: select which properties to show in calendar (#2482)

* feat: improve sidebar item dragged appearance (#2471)

* fix: show delete icon for document icon properly (#2475)

* feat: add hover effect on an event card (#2487)

* chore: delete unncessary openCard method in RowCardContainer

* chore: delete unnessary code and add comment

* chore: update editor v0.1.12 and format the readme (#2489)

* fix: number sort (#2507)

* bump version 0.1.5 (#2506)

* chore: bump version 0.1.5

* fix: could not trigger slash menu after inserting an emoji

* Revert "feat: add hover effect on an event card (#2487)"

This reverts commit f0a4b4b77d.

* feat: add hover effect on an event card

* fix: #2469 duplicated cover

* chore: update changelog.md (#2510)

* chore: Update README.md

Add a screenshot of the calendar view

* fix: some regressions

---------

Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Annie <anqi.annie.wang@gmail.com>
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
2023-05-15 11:18:08 +08:00
nathan
ad99998d33 chore: Merge branch 'main' into develop 2023-05-04 13:34:55 +08:00
Nathan.fooo
d3363aba0f
Fix/0.1.3 (#2319)
* fix: duplicate document

* fix: number cell data parser
2023-04-22 11:57:35 +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
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
Nathan.fooo
0f3c6d6a04
Feat/appflowy tauri 3 (#1914) 2023-03-03 20:38:31 +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
Lucas.Xu
3fd4371d2c
fix: error happens when parsing readme content (#1873) 2023-02-20 18:28:09 +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
8588afcda6
feat: support create document with initial data (#1841) 2023-02-10 22:24:34 +08:00
Nathan.fooo
e77fef3a19
chore: remove invalid revisions (#1816) 2023-02-07 14:30:25 +08:00
Nathan.fooo
3491ffdd08
Fix/read app (#1808)
* fix: filter out the apps that are deleted

* chore: format code style

* chore: fix clippy wanrings
2023-02-06 21:42:01 +08:00
Lucas.Xu
a41894a5ec
Fix: 1802 [Bug] Math Equation would be null. #1802 (#1806)
* fix: #1290 [Bug] 300ms delay on buttons in titlebar

* fix: #1802 Math Equation would be null

* fix: retain  as a attribute value

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-02-06 11:21:05 +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
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
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
Nathan.fooo
9215f5188c
Feat/restore from snapshot (#1699)
* feat: snapshot for folder

* feat: snapshot for document

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 22:31:39 +08:00
Nathan.fooo
6a36bcd31d
chore: add sqlite feature flag (#1683)
* chore: add sqlite feature flag

* chore: fix clippy warings

* ci: fix clippy

* chore: add rev file persistence

* ci: fix clippy

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 13:09:08 +08:00
Nathan.fooo
d4946f1194
chore: cell data operation (#1656)
* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
2023-01-05 21:27:21 +08:00
Nathan.fooo
17def1ffab
chore: enable rust_unit_test on windows (#1630) 2023-01-02 12:31:31 +08:00
nathan
9cd83d02a9 fix: send dart notification 2023-01-01 22:48:28 +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
Nathan.fooo
8c225fe547
Feat/restore revision (#1549)
* chore: write snapshot

* chore: add tests

* chore: sync close

* chore: restore from snapshot

* chore: delete invalid revisions after restored from snapshot

* chore: create default view if it fail to deserialize view's revisions when there is no snapshot

* chore: auto generate snapshot

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 09:19:47 +08:00
nathan
44f9254c0a chore: add codegen crate 2022-12-01 15:17:55 +08:00
nathan
96c427e869 refactor: rename flowy-dispatch structs 2022-12-01 09:26:16 +08:00
Nathan.fooo
182bfae5ad
fix: filter UI bugs (#1489)
* chore: remove the add filter button if there is no filters can not be added

* fix: update field info after filter was changed

* chore: update filter choicechip ui

* chore: insert and delete one by one to keep the delete/insert index is right

* chore: show filter after creating the default filter

* chore: update textfield_tags version to calm the warnings

* chore: try to fix potential fails on backend test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 14:47:11 +08:00
Nathan.fooo
882d5535e6
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate

* chore: rename lib-infra features
2022-11-08 21:13:28 +08:00
Nathan.fooo
f36cc9a5d0
Merge pull request #1420 from AppFlowy-IO/refactor/flowy_revision_crate
Refactor: merge multiple revision into one
2022-11-08 13:41:04 +08:00
appflowy
6425997508 chore: merge lagging revisions when close the document 2022-11-08 12:00:04 +08:00
appflowy
de4c1b24ef chore: fix warnings 2022-11-07 20:40:10 +08:00
appflowy
b3b24d0cc0 chore: calculate the compact length after receiving ack 2022-11-07 17:30:24 +08:00
appflowy
5156248918 ci: fix typo 2022-11-07 15:27:31 +08:00
nathan
ff7aab73cc chore: merge with config setting 2022-11-06 10:31:07 +08:00
nathan
2c71e4f885 chore: add tests 2022-11-02 17:15:27 +08:00
nathan
608a08eb76 refactor: md5 of revision 2022-11-02 10:21:10 +08:00
Nathan.fooo
e9ad705ea3
Refactor/revision compose (#1410) 2022-11-01 18:59:53 +08:00
Nathan.fooo
bc5548ff75
fix: changeset composing (#1398) 2022-10-30 12:54:07 +08:00
Nathan.fooo
783fd40f63
Feat/op compose (#1392) 2022-10-29 20:54:11 +08:00
Nathan.fooo
c65d00e95c
chore: add field editor bloc test (#1342)
* chore: add field editor bloc test

* chore: update log

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 16:56:33 +08:00
Nathan.fooo
87247ccd9d
fix: hide field & add field tests (#1340)
Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 15:05:06 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
Nathan.fooo
8dff9dc67c
chore: disable log in bloc test (#1336) 2022-10-22 20:58:33 +08:00
Nathan.fooo
7dbd9fe8cd
chore: implement document editor trait (#1321) 2022-10-20 15:33:18 +08:00
Nathan.fooo
f1a5726fcb
Feat: add appflowy editor in backend (#1320)
* chore: remove update attributes

* chore: format code

* chore: extension for transaction

* refactor: add document editor trait

* chore: add appflowy_document editor

* chore: add document serde

* chore: add new document editor

* chore: add tests

* chore: add more test

* chore: add test

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-20 11:35:11 +08:00
Nathan.fooo
cf4a2920f8
Refactor/rename crate (#1275) 2022-10-13 23:29:37 +08:00
appflowy
2e6dd39780 refactor: rename flowy-document to flowy-block 2022-03-02 15:22:18 +08:00
appflowy
8a0308703e fix: compose folder error 2022-03-01 23:38:26 +08:00
appflowy
8747457836 refactor: add plugins 2022-03-01 00:23:04 +08:00
appflowy
74831964a6 feat: update view properties 2022-02-28 16:00:43 +08:00
appflowy
01985848f9 refactor: rename structs 2022-02-26 11:03:42 +08:00
appflowy
6078e46d3d refactor: rename structs 2022-02-25 23:30:02 +08:00
appflowy
93695dc4be chore: rename structs 2022-02-24 20:36:24 +08:00
appflowy
dd8c26df02 refactor: revision_cache with sync_seq 2022-02-19 11:34:31 +08:00
appflowy
dd832b7482 chore: rename some struct 2022-02-18 23:04:55 +08:00
appflowy
d0b02cb4fd refactor: generate dart pb files with feature flag: dart 2022-02-08 16:24:59 +08:00
appflowy
9135b92a39 refactor: generate the pb files using build.rs 2022-02-08 14:36:59 +08:00
appflowy
0c6903f793 refactor: refactor some crates with http_server 2022-02-07 15:34:46 +08:00
MikeWallaceDev
e77e6d275f changed permissions from 755 to 644 2022-01-27 14:18:41 -05:00
appflowy
8eaec5e58c fix compact bugs & update unit tests 2022-01-27 10:20:09 +08:00
appflowy
4cdf3e3e3e compact the revsions 2022-01-25 22:51:32 +08:00
appflowy
bba8f8ae01 fix fmt and clippy warnings 2022-01-24 17:56:58 +08:00
appflowy
a9eec5baed solver conflicts 2022-01-24 17:32:40 +08:00
appflowy
24c1817c8d config web socket 2022-01-24 16:27:40 +08:00
appflowy
10d99bdd8b fix init folder manager bugs 2022-01-23 22:33:47 +08:00
nathan
cfb589dda1 fix format and clippy warnings 2022-01-23 12:14:00 +08:00
appflowy
ccb7d0181f add folder sync test 2022-01-22 20:59:32 +08:00
appflowy
1e66aae051 add server folder manager 2022-01-21 21:41:24 +08:00
appflowy
d1c5df4b88 add conflict resolver 2022-01-20 23:51:11 +08:00
appflowy
7f1a0adf13 add folder editor 2022-01-17 11:55:36 +08:00
appflowy
6bca483c28 config folder collaboration 2022-01-15 23:58:36 +08:00
appflowy
02201c238c refactor synchoronizer 2022-01-15 11:20:28 +08:00
appflowy
13aba928c3 config folder ws 2022-01-14 21:46:55 +08:00
appflowy
3964508cd8 add flowy-sync crate 2022-01-14 16:25:41 +08:00
appflowy
dac86ef857 refactor flowy-core pb 2022-01-13 14:48:41 +08:00
appflowy
718613de42 flowy-net impl http and local server 2022-01-13 11:15:31 +08:00
appflowy
0fba8d9195 add server document 2022-01-12 20:48:28 +08:00
appflowy
3c819ead49 stop local websocket before start connecting 2022-01-12 15:40:06 +08:00
appflowy
60e9071685 add some code documentation 2022-01-12 12:40:41 +08:00
appflowy
4bdd9df54c generic cloud storage 2022-01-11 23:15:30 +08:00
appflowy
855d396122 refactor cloud service triat 2022-01-10 23:45:59 +08:00
appflowy
46a3eb57fa rename some structs 2022-01-10 17:39:32 +08:00
appflowy
08a43c03d4 config af log filter 2022-01-09 16:13:08 +08:00
appflowy
7e7254b306 1. fix the potential infinite loop when composing delta. Because of calculating the wrong code unit offset.
2. add test of calculating Chinese character
2022-01-09 11:23:37 +08:00
appflowy
c456687a18 1. rename flowy_str functions
2. mv the document_test to flowy_document crate
2022-01-09 11:23:31 +08:00
appflowy
1e0cef41a9 init server with dispatcher's runtime 2022-01-09 11:17:48 +08:00
appflowy
287698be9e enable local ws 2022-01-09 11:17:38 +08:00
appflowy
9ca2d60f3f correct the document delta by removing unnecessary op 2022-01-06 12:55:30 +08:00
appflowy
4fd9388b79 fix clippy warnings 2022-01-05 23:28:52 +08:00
appflowy
a488944d2c Saving the revision in serial 2022-01-05 23:15:55 +08:00
appflowy
85ad90fc51 Try to fix quill-editor load document error. Because Document can only contain insert operations 2022-01-05 22:39:07 +08:00
appflowy
1846f86dd7 fix fmt warnings 2022-01-04 22:54:13 +08:00
appflowy
96f6a1d37c remove unuse code 2022-01-04 22:44:52 +08:00
appflowy
661940f728 fix test bugs 2022-01-03 19:50:08 +08:00
appflowy
951584c2ab [backend]: fix reset document bugs 2022-01-03 19:50:08 +08:00
appflowy
1a869c0003 config ping test 2022-01-03 19:50:08 +08:00
appflowy
12e8424e8a send document ping 2022-01-03 19:50:08 +08:00