mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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:
@ -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
|
||||
|
@ -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) => {
|
||||
|
Reference in New Issue
Block a user