This commit is contained in:
Gerard Burns 2024-04-19 14:12:32 +01:00
parent dc0bbbd450
commit b0e7892e7b
39 changed files with 7 additions and 7 deletions

View File

@ -0,0 +1 @@
export { default as Explanation } from "./Explanation.svelte"

View File

@ -1 +0,0 @@
export { default as FieldContext } from "./FieldContext.svelte"

View File

@ -3,7 +3,7 @@
import { getDatasourceForProvider, getSchemaForDatasource } from "dataBinding"
import { selectedScreen } from "stores/builder"
import { createEventDispatcher } from "svelte"
import { FieldContext } from './FieldContext'
import { Explanation } from './Explanation'
import { debounce } from "lodash"
import { goto, params } from "@roxi/routify"
import { Constants } from "@budibase/frontend-core"
@ -109,7 +109,7 @@
anchor={contextTooltipAnchor}
offset={20}
>
<FieldContext
<Explanation
explanationModal
tableHref={`/builder/app/${$params.application}/data/table/${datasource?.tableId}`}
schema={schema[currentOption]}
@ -118,7 +118,7 @@
columnType={getOptionIconTooltip(currentOption)}
{explanation}
/>
<FieldContext
<Explanation
slot="previous"
schema={schema[previousOption]}
columnIcon={getOptionIcon(previousOption)}

View File

@ -5,7 +5,7 @@
componentStore,
} from "stores/builder"
import { createEventDispatcher } from "svelte"
import { FieldContext } from './FieldContext'
import { Explanation } from './Explanation'
import { FIELDS } from 'constants/backend'
import { goto, params } from "@roxi/routify"
import { debounce } from "lodash"
@ -119,7 +119,7 @@
anchor={contextTooltipAnchor}
offset={20}
>
<FieldContext
<Explanation
explanationModal
tableHref={`/builder/app/${$params.application}/data/table/${datasource?.tableId}`}
schema={schema[currentOption]}
@ -128,7 +128,7 @@
columnType={getOptionIconTooltip(currentOption)}
{explanation}
/>
<FieldContext
<Explanation
slot="previous"
schema={schema[previousOption]}
columnIcon={getOptionIcon(previousOption)}