From 9aa738a223f942311b38488f3f9af6937d199f14 Mon Sep 17 00:00:00 2001 From: jgeorgi Date: Sun, 17 Sep 2023 21:01:44 -0700 Subject: [PATCH] Add context dependent pages Signed-off-by: jgeorgi --- .../components/developer/developer-dock.vue | 20 +++++++++-- .../developer/developer-sidebar.vue | 8 +---- .../src/components/developer/help-sidebar.vue | 29 +++++++++++---- .../developer/help/addon-context.vue | 29 +++++++++++++++ .../developer/help/help-faq-defs.json | 8 ++--- .../developer/help/item-context.vue | 26 ++++++++++++++ .../developer/help/model-context.vue | 32 +++++++++++++++++ .../developer/help/page-context.vue | 29 +++++++++++++++ .../developer/help/rule-context.vue | 35 +++++++++++++++++++ .../developer/help/widget-context.vue | 29 +++++++++++++++ 10 files changed, 224 insertions(+), 21 deletions(-) create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/addon-context.vue create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/item-context.vue create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/model-context.vue create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/page-context.vue create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/rule-context.vue create mode 100644 bundles/org.openhab.ui/web/src/components/developer/help/widget-context.vue diff --git a/bundles/org.openhab.ui/web/src/components/developer/developer-dock.vue b/bundles/org.openhab.ui/web/src/components/developer/developer-dock.vue index b1653e944a..6d3b9b0d5c 100644 --- a/bundles/org.openhab.ui/web/src/components/developer/developer-dock.vue +++ b/bundles/org.openhab.ui/web/src/components/developer/developer-dock.vue @@ -5,8 +5,20 @@ Tools Help - - + + + + + + + + + + + + + + @@ -37,7 +49,9 @@ export default { }, data () { return { - dockView: 'tools' + dockView: 'tools', + activeHelpTab: 'current', + activeTab: 'pin' } } } diff --git a/bundles/org.openhab.ui/web/src/components/developer/developer-sidebar.vue b/bundles/org.openhab.ui/web/src/components/developer/developer-sidebar.vue index 01424585ce..266f15e8b4 100644 --- a/bundles/org.openhab.ui/web/src/components/developer/developer-sidebar.vue +++ b/bundles/org.openhab.ui/web/src/components/developer/developer-sidebar.vue @@ -1,11 +1,5 @@