Skip to content

feat: init flowy document 2#2248

Merged
LucasXu0 merged 5 commits intoAppFlowy-IO:developfrom
LucasXu0:flowy-document2
Apr 13, 2023
Merged

feat: init flowy document 2#2248
LucasXu0 merged 5 commits intoAppFlowy-IO:developfrom
LucasXu0:flowy-document2

Conversation

@LucasXu0
Copy link
Collaborator

Draft PR. Only for reference.

Feature Preview


PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

@LucasXu0 LucasXu0 marked this pull request as draft April 11, 2023 13:00
@LucasXu0 LucasXu0 requested review from appflowy and qinluhe April 11, 2023 13:01
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", branch = "main" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default branch will be the main branch. So no need to mark the branch.

pub page_id: String,

#[pb(index = 2)]
pub blocks: BlocksPB,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think BlockMap would be better

@LucasXu0 LucasXu0 force-pushed the flowy-document2 branch 2 times, most recently from 329e830 to d8ad31b Compare April 12, 2023 09:04
children: text_0_children_id.clone(),
external_id: None,
external_type: None,
data: HashMap::new(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The data will be like this?

data: {
    delta: vec![]
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@LucasXu0 LucasXu0 marked this pull request as ready for review April 13, 2023 10:53
@LucasXu0 LucasXu0 merged commit ec89e95 into AppFlowy-IO:develop Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants