From e281cebb563e389a0c1db31e53377d201921dcf0 Mon Sep 17 00:00:00 2001 From: Mike Sawka Date: Fri, 20 Sep 2024 12:17:49 -0700 Subject: [PATCH] tips update (add to starter layout) (#796) --- frontend/app/element/quicktips.tsx | 11 +++++++++++ frontend/app/view/quicktipsview/quicktipsview.less | 3 ++- pkg/wlayout/wlayout.go | 7 ++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/frontend/app/element/quicktips.tsx b/frontend/app/element/quicktips.tsx index 6036d8ff9..604ce8383 100644 --- a/frontend/app/element/quicktips.tsx +++ b/frontend/app/element/quicktips.tsx @@ -144,6 +144,17 @@ const QuickTips = () => { + +
Need More Help?
+
+
+
+ + Join Our Discord + +
+
+
); diff --git a/frontend/app/view/quicktipsview/quicktipsview.less b/frontend/app/view/quicktipsview/quicktipsview.less index e4f38ee19..6b22bbc31 100644 --- a/frontend/app/view/quicktipsview/quicktipsview.less +++ b/frontend/app/view/quicktipsview/quicktipsview.less @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 .quicktips-view { - padding: 10px 2px; + padding: 10px 5px; overflow: auto; + width: 100%; } diff --git a/pkg/wlayout/wlayout.go b/pkg/wlayout/wlayout.go index 4391ff5ef..3f8bfdbd1 100644 --- a/pkg/wlayout/wlayout.go +++ b/pkg/wlayout/wlayout.go @@ -55,10 +55,15 @@ func GetStarterLayout() PortableLayout { }}, {IndexArr: []int{2}, BlockDef: &waveobj.BlockDef{ Meta: waveobj.MetaMapType{ - waveobj.MetaKey_View: "help", + waveobj.MetaKey_View: "tips", }, }}, {IndexArr: []int{2, 1}, BlockDef: &waveobj.BlockDef{ + Meta: waveobj.MetaMapType{ + waveobj.MetaKey_View: "help", + }, + }}, + {IndexArr: []int{2, 2}, BlockDef: &waveobj.BlockDef{ Meta: waveobj.MetaMapType{ waveobj.MetaKey_View: "waveai", },