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
This commit is contained in:
Nathan.fooo
2023-04-04 08:41:16 +08:00
committed by GitHub
parent ddca659c77
commit e1c8135f5d
198 changed files with 4595 additions and 1736 deletions

View File

@ -48,7 +48,7 @@ impl DocumentEditorTest {
let test = ViewTest::new_document_view(&sdk).await;
let document_editor = sdk
.document_manager
.open_document_editor(&test.view.id)
.open_document_editor(&test.child_view.id)
.await
.unwrap();
let editor = match document_editor

View File

@ -51,7 +51,6 @@ impl DeltaDocumentEditorTest {
async fn run_script(&mut self, script: EditorScript) {
let rev_manager = self.editor.rev_manager();
let cache = rev_manager.revision_cache().await;
let _user_id = self.sdk.user_session.user_id().unwrap();
match script {
EditorScript::InsertText(s, offset) => {