Merge branch 'master' into chore/sqs-always-on
This commit is contained in:
commit
6b98ec0e22
|
@ -20,6 +20,16 @@
|
||||||
"args": ["${workspaceFolder}/packages/worker/src/index.ts"],
|
"args": ["${workspaceFolder}/packages/worker/src/index.ts"],
|
||||||
"cwd": "${workspaceFolder}/packages/worker"
|
"cwd": "${workspaceFolder}/packages/worker"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Camunda Worker",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"],
|
||||||
|
"args": [
|
||||||
|
"${workspaceFolder}/packages/account-portal/packages/server/src/v2/run.ts"
|
||||||
|
],
|
||||||
|
"cwd": "${workspaceFolder}/packages/account-portal/packages/server"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||||
"version": "3.0.0",
|
"version": "3.0.2",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*",
|
"packages/*",
|
||||||
|
|
|
@ -6,6 +6,11 @@
|
||||||
import Icon from "../Icon/Icon.svelte"
|
import Icon from "../Icon/Icon.svelte"
|
||||||
import Input from "../Form/Input.svelte"
|
import Input from "../Form/Input.svelte"
|
||||||
import { capitalise } from "../helpers"
|
import { capitalise } from "../helpers"
|
||||||
|
import {
|
||||||
|
ensureValidTheme,
|
||||||
|
getThemeClassNames,
|
||||||
|
DefaultAppTheme,
|
||||||
|
} from "@budibase/shared-core"
|
||||||
|
|
||||||
export let value
|
export let value
|
||||||
export let size = "M"
|
export let size = "M"
|
||||||
|
@ -18,6 +23,7 @@
|
||||||
|
|
||||||
$: customValue = getCustomValue(value)
|
$: customValue = getCustomValue(value)
|
||||||
$: checkColor = getCheckColor(value)
|
$: checkColor = getCheckColor(value)
|
||||||
|
$: themeClasses = getThemeClasses(spectrumTheme)
|
||||||
|
|
||||||
const dispatch = createEventDispatcher()
|
const dispatch = createEventDispatcher()
|
||||||
const categories = [
|
const categories = [
|
||||||
|
@ -91,6 +97,14 @@
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
const getThemeClasses = theme => {
|
||||||
|
if (!theme) {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
theme = ensureValidTheme(theme, DefaultAppTheme)
|
||||||
|
return getThemeClassNames(theme)
|
||||||
|
}
|
||||||
|
|
||||||
const onChange = value => {
|
const onChange = value => {
|
||||||
dispatch("change", value)
|
dispatch("change", value)
|
||||||
dropdown.hide()
|
dropdown.hide()
|
||||||
|
@ -147,7 +161,7 @@
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="fill {spectrumTheme || ''}"
|
class="fill {themeClasses}"
|
||||||
style={value ? `background: ${value};` : ""}
|
style={value ? `background: ${value};` : ""}
|
||||||
class:placeholder={!value}
|
class:placeholder={!value}
|
||||||
/>
|
/>
|
||||||
|
@ -171,7 +185,7 @@
|
||||||
title={prettyPrint(color)}
|
title={prettyPrint(color)}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="fill {spectrumTheme || ''}"
|
class="fill {themeClasses}"
|
||||||
style="background: var(--spectrum-global-color-{color}); color: {checkColor};"
|
style="background: var(--spectrum-global-color-{color}); color: {checkColor};"
|
||||||
>
|
>
|
||||||
{#if value === `var(--spectrum-global-color-${color})`}
|
{#if value === `var(--spectrum-global-color-${color})`}
|
||||||
|
|
|
@ -160,7 +160,7 @@ export async function finaliseRow(
|
||||||
dynamic: false,
|
dynamic: false,
|
||||||
})
|
})
|
||||||
if (aiEnabled) {
|
if (aiEnabled) {
|
||||||
enrichedRow = await processAIColumns(table, row, {
|
enrichedRow = await processAIColumns(table, enrichedRow, {
|
||||||
contextRows: [enrichedRow],
|
contextRows: [enrichedRow],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,15 +17,12 @@ echo "waiting for Camunda to be ready..."
|
||||||
|
|
||||||
while is_camunda_ready -eq 0; do sleep 1; done
|
while is_camunda_ready -eq 0; do sleep 1; done
|
||||||
|
|
||||||
cd src/main/resources/models
|
|
||||||
|
|
||||||
echo "deploy processes..."
|
echo "deploy processes..."
|
||||||
zbctl deploy resource offboarding.bpmn --insecure
|
for file in src/main/resources/models/*; do
|
||||||
zbctl deploy resource onboarding.bpmn --insecure
|
zbctl deploy resource $file --insecure
|
||||||
zbctl deploy resource free_trial.bpmn --insecure
|
done
|
||||||
zbctl deploy resource verify_sso_login.bpmn --insecure
|
|
||||||
|
|
||||||
cd ../../../../../budibase/packages/pro
|
cd ../budibase/packages/pro
|
||||||
yarn && yarn build
|
yarn && yarn build
|
||||||
|
|
||||||
cd ../account-portal/packages/server
|
cd ../account-portal/packages/server
|
||||||
|
|
Loading…
Reference in New Issue