From a11749899180c023a68b8f68a8061ed060c150d5 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 15 Jun 2016 08:50:50 -0700 Subject: [PATCH] Adding some CRUD field descriptions to clarify things --- caravel/views.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/caravel/views.py b/caravel/views.py index d2e8e5b9db..751f62e0f0 100644 --- a/caravel/views.py +++ b/caravel/views.py @@ -449,6 +449,14 @@ class SliceModelView(CaravelModelView, DeleteMixin): # noqa "dashboard view. Supports " "" "markdown"), + 'params': _( + "These parameters are generated dynamically when clicking " + "the save or overwrite button in the explore view. This JSON " + "object is exposed here for reference and for power users who may " + "want to alter specific parameters."), + 'cache_timeout': _( + "Duration (in seconds) of the caching timeout for this slice." + ), } base_filters = [['id', FilterSlice, lambda: []]] label_columns = { @@ -511,6 +519,12 @@ class DashboardModelView(CaravelModelView, DeleteMixin): # noqa "in the dashboard view where changes are immediately " "visible"), 'slug': _("To get a readable URL for your dashboard"), + 'json_metadata': _( + "This JSON object is generated dynamically when clicking " + "the save or overwrite button in the dashboard view. It " + "is exposed here for reference and for power users who may " + "want to alter specific parameters."), + 'owners': _("Owners is a list of users who can alter the dashboard."), } base_filters = [['slice', FilterDashboard, lambda: []]] label_columns = {