🎨 The database supports adding view/field/option description https://github.com/siyuan-note/siyuan/issues/11053

This commit is contained in:
Daniel 2024-11-09 14:09:40 +08:00
parent d9bcb12c34
commit 9371c68ec9
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 108 additions and 9 deletions

View file

@ -36,6 +36,7 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
ID: view.ID,
Icon: view.Icon,
Name: view.Name,
Desc: view.Desc,
HideAttrViewName: view.HideAttrViewName,
Columns: []*av.TableColumn{},
Rows: []*av.TableRow{},
@ -78,6 +79,7 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
Wrap: col.Wrap,
Hidden: col.Hidden,
Width: col.Width,
Desc: col.Desc,
Pin: col.Pin,
Calc: col.Calc,
})