mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add calendar view plugin along with backend data (#1611)
* chore: create build-in calendar data * feat: add new calendar view to plugins * chore: add create calendar page test * chore: disable for creation for now * fix: rebase regression Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
@ -86,6 +86,7 @@ pub enum ViewLayoutTypePB {
|
||||
Document = 0,
|
||||
Grid = 3,
|
||||
Board = 4,
|
||||
Calendar = 5,
|
||||
}
|
||||
|
||||
impl std::default::Default for ViewLayoutTypePB {
|
||||
@ -100,6 +101,7 @@ impl std::convert::From<ViewLayoutTypeRevision> for ViewLayoutTypePB {
|
||||
ViewLayoutTypeRevision::Grid => ViewLayoutTypePB::Grid,
|
||||
ViewLayoutTypeRevision::Board => ViewLayoutTypePB::Board,
|
||||
ViewLayoutTypeRevision::Document => ViewLayoutTypePB::Document,
|
||||
ViewLayoutTypeRevision::Calendar => ViewLayoutTypePB::Calendar,
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -110,6 +112,7 @@ impl std::convert::From<ViewLayoutTypePB> for ViewLayoutTypeRevision {
|
||||
ViewLayoutTypePB::Grid => ViewLayoutTypeRevision::Grid,
|
||||
ViewLayoutTypePB::Board => ViewLayoutTypeRevision::Board,
|
||||
ViewLayoutTypePB::Document => ViewLayoutTypeRevision::Document,
|
||||
ViewLayoutTypePB::Calendar => ViewLayoutTypeRevision::Calendar,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user