diff --git a/frontend/src/lib/components/Popover.svelte b/frontend/src/lib/components/Popover.svelte index 47404165d0..43d19a93c2 100644 --- a/frontend/src/lib/components/Popover.svelte +++ b/frontend/src/lib/components/Popover.svelte @@ -74,7 +74,7 @@ on:mouseleave={close} class="z-[5001] py-2 px-3 rounded-md text-sm font-normal !text-gray-300 bg-gray-800 whitespace-normal text-left {popupClass}" > -
+
{#if documentationLink} diff --git a/frontend/src/lib/components/apps/components/display/AppMenu.svelte b/frontend/src/lib/components/apps/components/display/AppMenu.svelte index 686319b7bd..fe105e6e5b 100644 --- a/frontend/src/lib/components/apps/components/display/AppMenu.svelte +++ b/frontend/src/lib/components/apps/components/display/AppMenu.svelte @@ -103,12 +103,12 @@ btnClasses={twMerge( css?.button?.class, 'wm-button', - 'wm-download-button', + 'wm-menu-button', resolvedConfig.fillContainer ? 'w-full h-full' : '' )} wrapperClasses={twMerge( 'wm-button-container', - 'wm-download-button-container', + 'wm-menu-button-container', resolvedConfig.fillContainer ? 'w-full h-full' : '' )} style={css?.button?.style} diff --git a/frontend/src/lib/components/apps/components/layout/AppDecisionTree.svelte b/frontend/src/lib/components/apps/components/layout/AppDecisionTree.svelte index aad34470b8..5e747ffe03 100644 --- a/frontend/src/lib/components/apps/components/layout/AppDecisionTree.svelte +++ b/frontend/src/lib/components/apps/components/layout/AppDecisionTree.svelte @@ -211,7 +211,7 @@ ('AppViewerContext') const { search } = getContext('ContextPanel') @@ -18,6 +19,11 @@ + +
+ +
+
+ {#if ['ctx', 'state'].includes(id)} + + {/if} {name}
{#if !open} diff --git a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte index 722d54f149..422f0e01e2 100644 --- a/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte +++ b/frontend/src/lib/components/apps/editor/inlineScriptsPanel/InlineScriptsPanelList.svelte @@ -11,6 +11,7 @@ import { tutorialsToDo } from '$lib/stores' import { ignoredTutorials } from '$lib/components/tutorials/ignoredTutorials' import { tutorialInProgress } from '$lib/tutorialUtils' + import DocLink from '../settingsPanel/DocLink.svelte' const PREFIX = 'script-selector-' as const @@ -81,6 +82,9 @@ + + +
diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/ComponentPanel.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/ComponentPanel.svelte index 9af36b112c..8fb809807c 100644 --- a/frontend/src/lib/components/apps/editor/settingsPanel/ComponentPanel.svelte +++ b/frontend/src/lib/components/apps/editor/settingsPanel/ComponentPanel.svelte @@ -22,7 +22,7 @@ import { slide } from 'svelte/transition' import { push } from '$lib/history' import StylePanel from './StylePanel.svelte' - import { ChevronLeft, ExternalLink, ArrowBigUp } from 'lucide-svelte' + import { ChevronLeft, ArrowBigUp } from 'lucide-svelte' import GridCondition from './GridCondition.svelte' import { isTriggerable } from './script/utils' import { inferDeps } from '../appUtilsInfer' @@ -30,6 +30,7 @@ import type { ResultAppInput } from '../../inputType' import GridGroup from './GridGroup.svelte' import { secondaryMenuLeft } from './secondaryMenu' + import DocLink from './DocLink.svelte' import ComponentControl from './ComponentControl.svelte' import GridAgGridLicenseKey from './GridAgGridLicenseKey.svelte' @@ -175,20 +176,11 @@ {#if componentSettings?.item?.data} {@const component = componentSettings.item.data} -
+
@@ -205,16 +197,19 @@ id={'component-input'} > - {#if componentSettings.item.data.type !== 'plotlycomponentv2'} - + +
{`${component.id}`} - - {/if} +
+
{#if componentSettings.item.data.componentInput} diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/DocLink.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/DocLink.svelte new file mode 100644 index 0000000000..21f9413d73 --- /dev/null +++ b/frontend/src/lib/components/apps/editor/settingsPanel/DocLink.svelte @@ -0,0 +1,35 @@ + + + + +
+ Open documentation in a new tab + + +
+
+