diff --git a/frontend/src/lib/components/apps/components/buttons/AppButton.svelte b/frontend/src/lib/components/apps/components/buttons/AppButton.svelte
index 4256e86729..ff07a5523b 100644
--- a/frontend/src/lib/components/apps/components/buttons/AppButton.svelte
+++ b/frontend/src/lib/components/apps/components/buttons/AppButton.svelte
@@ -127,6 +127,7 @@
diff --git a/frontend/src/lib/components/apps/components/helpers/InputValue.svelte b/frontend/src/lib/components/apps/components/helpers/InputValue.svelte
index f2effd3066..6a515b3c08 100644
--- a/frontend/src/lib/components/apps/components/helpers/InputValue.svelte
+++ b/frontend/src/lib/components/apps/components/helpers/InputValue.svelte
@@ -12,6 +12,7 @@
export let value: T
export let id: string | undefined = undefined
export let error: string = ''
+ export let extraContext: Record = {}
let lastInput = input ? JSON.parse(JSON.stringify(input)) : undefined
@@ -72,16 +73,19 @@
}
function computeGlobalContext() {
- return Object.fromEntries(
- Object.entries($worldStore?.outputsById ?? {})
- .filter(([k, _]) => k != id)
- .map(([key, value]) => {
- return [
- key,
- Object.fromEntries(Object.entries(value ?? {}).map((x) => [x[0], x[1].peak()]))
- ]
- })
- )
+ return {
+ ...Object.fromEntries(
+ Object.entries($worldStore?.outputsById ?? {})
+ .filter(([k, _]) => k != id)
+ .map(([key, value]) => {
+ return [
+ key,
+ Object.fromEntries(Object.entries(value ?? {}).map((x) => [x[0], x[1].peak()]))
+ ]
+ })
+ ),
+ ...extraContext
+ }
}
export function getValue(input: AppInput) {
diff --git a/frontend/src/lib/components/apps/editor/settingsPanel/TableActions.svelte b/frontend/src/lib/components/apps/editor/settingsPanel/TableActions.svelte
index 1d39328453..36d04bb5d1 100644
--- a/frontend/src/lib/components/apps/editor/settingsPanel/TableActions.svelte
+++ b/frontend/src/lib/components/apps/editor/settingsPanel/TableActions.svelte
@@ -43,7 +43,8 @@
disabled: {
fieldType: 'boolean',
type: 'eval',
- expr: 'false'
+ expr: 'false',
+ tooltip: "Disabled based on a predicate. Use `row` to access the current row's data"
},
goto: {
tooltip: 'Go to an url on success if not empty',