feat: open a row as a full page (#5111)

* feat: open a row as a full page

* chore: don't set latest open view

* chore: fix calendar open

* chore: disable in relation

* chore: code cleanup

* chore: fix merge conflicts
This commit is contained in:
Richard Shiue 2024-04-29 13:44:42 +08:00 committed by GitHub
parent 3c446d5e78
commit 969726ef73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1118 additions and 113 deletions

View file

@ -40,13 +40,13 @@ class DocumentPluginBuilder extends PluginBuilder {
FlowySvgData get icon => FlowySvgs.document_s;
@override
PluginType get pluginType => PluginType.editor;
PluginType get pluginType => PluginType.document;
@override
ViewLayoutPB? get layoutType => ViewLayoutPB.Document;
}
class DocumentPlugin extends Plugin<int> {
class DocumentPlugin extends Plugin {
DocumentPlugin({
required ViewPB view,
required PluginType pluginType,