mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: Implement summary field for database row (#5246)
* chore: impl summary field * chore: draft ui * chore: add summary event * chore: impl desktop ui * chore: impl mobile ui * chore: update test * chore: disable ai test
This commit is contained in:
@ -2,6 +2,7 @@ use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
use bytes::Bytes;
|
||||
|
||||
pub use collab_folder::View;
|
||||
use collab_folder::ViewLayout;
|
||||
use tokio::sync::RwLock;
|
||||
@ -52,7 +53,10 @@ pub trait FolderOperationHandler {
|
||||
/// * `view_id`: the view id
|
||||
/// * `name`: the name of the view
|
||||
/// * `data`: initial data of the view. The data should be parsed by the [FolderOperationHandler]
|
||||
/// implementation. For example, the data of the database will be [DatabaseData].
|
||||
/// implementation.
|
||||
/// For example,
|
||||
/// 1. the data of the database will be [DatabaseData] that is serialized to JSON
|
||||
/// 2. the data of the document will be [DocumentData] that is serialized to JSON
|
||||
/// * `layout`: the layout of the view
|
||||
/// * `meta`: use to carry extra information. For example, the database view will use this
|
||||
/// to carry the reference database id.
|
||||
|
Reference in New Issue
Block a user