mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
feature widget description (#483)
Add description to widget title popup and right panel
This commit is contained in:
@@ -1204,3 +1204,11 @@ def migration37(tdset):
|
||||
Add fileExt column to _grist_Attachments.
|
||||
"""
|
||||
return tdset.apply_doc_actions([add_column('_grist_Attachments', 'fileExt', 'Text')])
|
||||
|
||||
@migration(schema_version=38)
|
||||
def migration38(tdset):
|
||||
"""
|
||||
Add description to widget
|
||||
"""
|
||||
return tdset.apply_doc_actions([add_column('_grist_Views_section', 'description', 'Text')])
|
||||
|
||||
@@ -15,7 +15,7 @@ import six
|
||||
|
||||
import actions
|
||||
|
||||
SCHEMA_VERSION = 37
|
||||
SCHEMA_VERSION = 38
|
||||
|
||||
def make_column(col_id, col_type, formula='', isFormula=False):
|
||||
return {
|
||||
@@ -181,6 +181,7 @@ def schema_create_actions():
|
||||
# TODO: rename this (e.g. to "sectionType").
|
||||
make_column("parentKey", "Text"),
|
||||
make_column("title", "Text"),
|
||||
make_column("description", "Text"),
|
||||
make_column("defaultWidth", "Int", formula="100"),
|
||||
make_column("borderWidth", "Int", formula="1"),
|
||||
make_column("theme", "Text"),
|
||||
|
||||
Reference in New Issue
Block a user