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
38 changed files with 1118 additions and 113 deletions

View File

@ -49,7 +49,7 @@ void main() {
assert(appBloc.state.lastCreatedView != null);
final latestView = appBloc.state.lastCreatedView!;
final _ = DocumentBloc(view: latestView)
final _ = DocumentBloc(documentId: latestView.id)
..add(const DocumentEvent.initial());
await FolderEventSetLatestView(ViewIdPB(value: latestView.id)).send();

View File

@ -192,7 +192,7 @@ void main() {
workspaceSetting.latestView.id == viewBloc.state.lastCreatedView!.id;
// ignore: unused_local_variable
final documentBloc = DocumentBloc(view: document)
final documentBloc = DocumentBloc(documentId: document.id)
..add(
const DocumentEvent.initial(),
);