Skip to content

Commit

Permalink
chore: bump client api (AppFlowy-IO#7249)
Browse files Browse the repository at this point in the history
* chore: bump client api

* chore: set default publish info to true
  • Loading branch information
LucasXu0 authored Jan 21, 2025
1 parent 8fdc6e9 commit 0c05724
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ More actions for published page:
widget is PublishedViewItem &&
widget.publishInfoView.view.name == pageName,
);
if (pageItem.evaluate().isEmpty) {
return;
}

expect(pageItem, findsOneWidget);

final copyLinkItem = find.text(LocaleKeys.shareAction_copyLink.tr());
Expand Down
24 changes: 12 additions & 12 deletions frontend/rust-lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/rust-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ dashmap = "6.0.1"
# Run the script.add_workspace_members:
# scripts/tool/update_client_api_rev.sh new_rev_id
# ⚠️⚠️⚠️️
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560" }
client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "b650e9e5fbaa0fc8758b9d5af3f7388bb74f9560" }
client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5d9efb4" }
client-api-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "5d9efb4" }

[profile.dev]
opt-level = 0
Expand Down
4 changes: 4 additions & 0 deletions frontend/rust-lib/flowy-server/src/af_cloud/impls/folder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ where
metadata: meta.metadata,
},
data,
comments_enabled: true,
duplicate_enabled: true,
})
})
.collect::<Vec<_>>();
Expand Down Expand Up @@ -277,6 +279,8 @@ where
&[PatchPublishedCollab {
view_id,
publish_name: Some(new_name),
comments_enabled: Some(true),
duplicate_enabled: Some(true),
}],
)
.await
Expand Down

0 comments on commit 0c05724

Please sign in to comment.