Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N8n 3195 input panel #3204

Merged
merged 266 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
32ec513
refactor tabs out
mutdmour Mar 28, 2022
865b795
refactor execute button
mutdmour Mar 28, 2022
56f02b3
refactor header
mutdmour Mar 28, 2022
1057616
add more views
mutdmour Mar 28, 2022
f42db21
fix error view
mutdmour Mar 28, 2022
58af5f7
fix workflow rename bug
mutdmour Mar 29, 2022
236e736
rename component
mutdmour Mar 29, 2022
de3f053
Merge branch 'n8n-3193-main-panel' of github.com:n8n-io/n8n into N8N-…
mutdmour Mar 29, 2022
fe26979
fix small screen bug
mutdmour Mar 29, 2022
2051ee6
move items, fix positions
mutdmour Mar 29, 2022
a5a9243
add hover state
mutdmour Mar 29, 2022
dde78de
show selector on empty state
mutdmour Mar 29, 2022
85b42b2
add empty run state
mutdmour Mar 29, 2022
d04078a
fix binary view
mutdmour Mar 29, 2022
fa555b3
1 item
mutdmour Mar 29, 2022
d41c606
add vjs styles
mutdmour Mar 29, 2022
0bb3c64
show empty row for every item
mutdmour Mar 29, 2022
4344cc6
refactor tabs
mutdmour Mar 29, 2022
b32ee74
add branch names
mutdmour Mar 29, 2022
6215764
fix spacing
mutdmour Mar 29, 2022
329da9e
fix up spacing
mutdmour Mar 29, 2022
aae7987
add run selector
mutdmour Mar 29, 2022
ed1aa8d
fix positioning
mutdmour Mar 29, 2022
5b8dd35
clean up
mutdmour Mar 29, 2022
9e546d9
increase width of selector
mutdmour Mar 29, 2022
d24d8d8
fix up spacing
mutdmour Mar 29, 2022
f6aaa32
fix copy button
mutdmour Mar 29, 2022
c951ece
fix branch naming; type issues
mutdmour Mar 30, 2022
0d88d9d
fix docs in custom nodes
mutdmour Mar 30, 2022
f5f2df7
add type
mutdmour Mar 30, 2022
f906dbf
hide items when run selector is shown
mutdmour Mar 30, 2022
3c495d5
increase selector size
mutdmour Mar 30, 2022
e77270d
add select prepend
mutdmour Mar 30, 2022
bc5445a
clean up a bit
mutdmour Mar 30, 2022
8ad7b16
Add pagination
mutdmour Mar 30, 2022
665f826
add stale icon
mutdmour Mar 31, 2022
8edb68d
enable stale data in execution run
mutdmour Mar 31, 2022
8fe417a
Revert "enable stale data in execution run"
mutdmour Mar 31, 2022
da52413
move metadata to its own state
mutdmour Mar 31, 2022
f951ec0
fix smaller size
mutdmour Mar 31, 2022
172bb82
add scroll buttons
mutdmour Mar 31, 2022
d81a8df
update tabs on resize
mutdmour Mar 31, 2022
fec26a8
update stale data on rename
mutdmour Mar 31, 2022
9b6a41d
remove metadata on delete
mutdmour Mar 31, 2022
ddd6bed
hide x
mutdmour Mar 31, 2022
291c235
change title colors
mutdmour Mar 31, 2022
43e0940
binary data classes
mutdmour Mar 31, 2022
0a330df
remove duplicate css
mutdmour Mar 31, 2022
09b697d
add colors
mutdmour Mar 31, 2022
b8ae4a6
delete unused keys
mutdmour Mar 31, 2022
31a3360
use event bus
mutdmour Mar 31, 2022
7df27dd
refactor header out
mutdmour Mar 31, 2022
ee4d64b
support different nodes
mutdmour Apr 1, 2022
e65178d
update selector
mutdmour Apr 1, 2022
bd6653c
add immediate input
mutdmour Apr 1, 2022
7cce3a3
add branch overrides
mutdmour Apr 1, 2022
81a3b09
split output input run index
mutdmour Apr 1, 2022
fc36e97
⚠ conflict
mutdmour Apr 25, 2022
6318ba7
clean up unnessary data
mutdmour Apr 25, 2022
6266664
add missing keys
mutdmour Apr 25, 2022
814b7e2
update key names
mutdmour Apr 25, 2022
b288fa2
remove unnessary css/js
mutdmour Apr 25, 2022
9c64d73
fix outputs panel
mutdmour Apr 25, 2022
d197bb5
set max width on input selector
mutdmour Apr 26, 2022
8098756
fix selector to show parent nodes
mutdmour Apr 26, 2022
6db4783
fix bug when switching between nodes
mutdmour Apr 26, 2022
b58fd7f
add linking and refactor
mutdmour Apr 27, 2022
4f37277
add linking
mutdmour Apr 27, 2022
4042108
fix minor issues
mutdmour Apr 27, 2022
0406219
hide linking when cannot link
mutdmour Apr 27, 2022
408af4c
fix type
mutdmour Apr 27, 2022
0075b98
fix error state
mutdmour Apr 27, 2022
b5f111e
clean up import
mutdmour Apr 27, 2022
e3a4d24
fix linking edge cases
mutdmour Apr 27, 2022
9a2f96d
hide input panel for triggers
mutdmour Apr 27, 2022
326f34e
disable for start node
mutdmour Apr 27, 2022
3fd2c48
format file
mutdmour Apr 27, 2022
f04ebbe
refactor output panel
mutdmour Apr 27, 2022
9b523c6
add empty input hint
mutdmour Apr 27, 2022
dcffe73
update too much data view
mutdmour Apr 27, 2022
c3cf93d
update slot, message under branch
mutdmour Apr 27, 2022
31edfe3
no input data view
mutdmour Apr 27, 2022
f27f7e0
add node not run/no output data views
mutdmour Apr 27, 2022
670294b
add tooltip support on execute prev
mutdmour Apr 27, 2022
8393c54
fix spacing in view
mutdmour Apr 27, 2022
c3c1df7
address output views
mutdmour Apr 27, 2022
db2cb08
fix run node hint view
mutdmour Apr 27, 2022
874dd4f
fix spinner
mutdmour Apr 27, 2022
9bffc22
center button
mutdmour Apr 27, 2022
c295690
update message to use node name
mutdmour Apr 27, 2022
7213762
update title of no output data message
mutdmour Apr 27, 2022
fc900e1
implement loading states
mutdmour Apr 27, 2022
bda09c8
fix sizes
mutdmour Apr 27, 2022
8ddb7eb
fix sizes
mutdmour Apr 27, 2022
97a59be
update spinner
mutdmour Apr 27, 2022
edb13a2
add wire me up image
mutdmour Apr 28, 2022
c056f71
update link
mutdmour Apr 28, 2022
1d677f2
update panels design
mutdmour Apr 28, 2022
9e1d10c
fix unclickable area bug
mutdmour Apr 28, 2022
654eb11
revert change
mutdmour Apr 28, 2022
4f74caa
fix clickable bg
mutdmour Apr 28, 2022
7740f44
fix up positioning
mutdmour Apr 28, 2022
4ee5aec
ensure bg is clickable
mutdmour Apr 28, 2022
bb3fe55
fix up borders
mutdmour Apr 28, 2022
dee8837
fix height
mutdmour Apr 28, 2022
0e6e807
move border to wrapper
mutdmour Apr 28, 2022
f701e0e
set box shadow
mutdmour Apr 28, 2022
3a2502b
set box shadow
mutdmour Apr 28, 2022
8836937
add drag button
mutdmour Apr 28, 2022
1d32b20
add dragging for main panel
mutdmour Apr 29, 2022
0f9857d
set max width of panels
mutdmour Apr 29, 2022
2d1e52e
set min width in js
mutdmour Apr 29, 2022
b61e22f
keep showing drag while dragging
mutdmour Apr 29, 2022
d4f0a2c
fix dragging leaving modal
mutdmour Apr 29, 2022
53ccbf6
update trigger position of main panel
mutdmour May 2, 2022
dcb7b5d
move main panel position into store
mutdmour May 2, 2022
1b4ac2b
clear metadata after changing workflow
mutdmour May 2, 2022
d301096
center grid correctly
mutdmour May 2, 2022
952b498
add drag arrows
mutdmour May 2, 2022
77747fe
add dragging hover
mutdmour May 3, 2022
f37e912
fix cursor behavior
mutdmour May 3, 2022
5d6bd6b
update no output state
mutdmour May 3, 2022
84fb4af
show last run on open
mutdmour May 3, 2022
ed88f49
always set to latest run
mutdmour May 3, 2022
24fbbae
fix padding
mutdmour May 3, 2022
054f5ac
add I wish this node would
mutdmour May 3, 2022
e082a99
clean up unsued data
mutdmour May 3, 2022
c539189
inject run info into run
mutdmour May 3, 2022
28ed06e
refactor out drag button
mutdmour May 4, 2022
b11596b
fix dragging issue
mutdmour May 4, 2022
6a21a14
fix arrow bug
mutdmour May 4, 2022
75bcebf
increase width of panel
mutdmour May 4, 2022
68b9005
change run logic
mutdmour May 4, 2022
dcca276
set label font sizes
mutdmour May 4, 2022
ef34728
update radiobutton pos
mutdmour May 4, 2022
da21aca
address header issues
mutdmour May 4, 2022
bc63cae
fix prev spacing bug
mutdmour May 4, 2022
6483854
fix input order
mutdmour May 4, 2022
1ff4a24
fix merge conflict
mutdmour May 4, 2022
3b9534a
set package lock
mutdmour May 4, 2022
a840533
add close modal event
mutdmour May 5, 2022
2a760bd
merge master
mutdmour May 9, 2022
ec18f64
complete close modal event
mutdmour May 10, 2022
dc9d415
add input change event
mutdmour May 10, 2022
0a9108b
add dragging event
mutdmour May 10, 2022
7d3ffd1
add event on view change
mutdmour May 10, 2022
378d617
add page size event
mutdmour May 10, 2022
150305d
rename event
mutdmour May 10, 2022
ae1a05e
add event on page change
mutdmour May 10, 2022
6214d98
add link click event
mutdmour May 10, 2022
07cc568
add linking event
mutdmour May 10, 2022
cb3a326
rename var
mutdmour May 10, 2022
93bf92b
add run change event
mutdmour May 10, 2022
60c1ad6
add button events
mutdmour May 10, 2022
dcb50f8
add branch event
mutdmour May 10, 2022
39d75fa
add structure for open event
mutdmour May 10, 2022
36796aa
add input type
mutdmour May 10, 2022
1b30088
set session id
mutdmour May 10, 2022
6212ccc
set sessionid/source for expression events
mutdmour May 10, 2022
e1a11ac
add params to expression events
mutdmour May 10, 2022
69f2ca4
make display modes global
mutdmour May 10, 2022
66ba77d
add display mode to tracking
mutdmour May 10, 2022
eb31172
add more event tracking
mutdmour May 10, 2022
3cb14b5
add has_mapping param
mutdmour May 11, 2022
4bef060
make main panel position global
mutdmour May 11, 2022
f834a49
dedupe list
mutdmour May 11, 2022
9747065
fix cursor while dragging
mutdmour May 11, 2022
002a926
address feedback
mutdmour May 11, 2022
e899165
reduce bottom scrim
mutdmour May 11, 2022
1947295
remove empty option hint
mutdmour May 11, 2022
4ccdcdc
add hint tooltip
mutdmour May 11, 2022
da515ed
add tritary button
mutdmour May 11, 2022
ea0625d
update param names
mutdmour May 12, 2022
678618f
update parameter buttons
mutdmour May 12, 2022
bdd1a08
center empty states
mutdmour May 12, 2022
ab970fe
move feature request message
mutdmour May 12, 2022
2885f6e
increase max width for inputs selector
mutdmour May 12, 2022
0f62762
fix error dispaly padding
mutdmour May 12, 2022
6b4cda1
remove immediate
mutdmour May 12, 2022
ca5a3e1
refactor search logic to return object
mutdmour May 13, 2022
fb6f015
fix console errors
mutdmour May 13, 2022
fa9ccba
fix console errors
mutdmour May 13, 2022
4bffc93
add node distance
mutdmour May 13, 2022
22719b8
handle merge conflict
mutdmour May 16, 2022
940c911
refactor how input nodes listed
mutdmour May 16, 2022
41b7cd0
remove console log
mutdmour May 16, 2022
a3294f4
merge master
mutdmour May 17, 2022
9b49c55
set package lock
mutdmour May 17, 2022
e9d64e3
refactor recursive logic
mutdmour May 18, 2022
eb27a97
handle overrides
mutdmour May 18, 2022
d2aa09d
handle default case without inputs
mutdmour May 18, 2022
1ba626d
fix bug width link
mutdmour May 18, 2022
c98ebd9
fix tabs arrow bug
mutdmour May 18, 2022
878a2d3
handle binary data case
mutdmour May 18, 2022
fa73b02
update node execution
mutdmour May 18, 2022
a4417ed
fix merge logic
mutdmour May 18, 2022
6cc0856
remove console log
mutdmour May 18, 2022
47090cd
delete func
mutdmour May 18, 2022
68407a5
update package lock
mutdmour May 18, 2022
a1b95db
add hover area
mutdmour May 18, 2022
bd86184
switch first input node
mutdmour May 18, 2022
3b2c9ab
keep recursive order
mutdmour May 19, 2022
90557f3
make breadth first traversal
mutdmour May 19, 2022
f8424de
fix overflow bug, add pluralization
mutdmour May 19, 2022
51e375c
update docs url
mutdmour May 19, 2022
62cef83
update drop shadow
mutdmour May 19, 2022
067e9f5
set background color for button
mutdmour May 19, 2022
37bebd0
update input
mutdmour May 19, 2022
224bd8a
fix truncation
mutdmour May 19, 2022
71aca8f
update index of input dropdown
mutdmour May 19, 2022
e341fed
fix binary background
mutdmour May 19, 2022
af1f82d
update telemetry
mutdmour May 19, 2022
d2cbab7
fix binary data switching
mutdmour May 19, 2022
c9775bd
check all parent connections for executed node
mutdmour May 19, 2022
1c405ec
check current state for executing node
mutdmour May 19, 2022
accc01d
fix executing states
mutdmour May 19, 2022
674f00a
update loading states
mutdmour May 19, 2022
204c847
Merge branch 'master' of github.com:n8n-io/n8n into N8N-3195-input-panel
mutdmour May 20, 2022
baff253
use pluralization for items
mutdmour May 20, 2022
4f34fa4
rename modal
mutdmour May 20, 2022
7caf7c9
update pluralization
mutdmour May 20, 2022
895d7be
update package lock
mutdmour May 20, 2022
0126d25
update empty messagE
mutdmour May 20, 2022
64d8086
format file
mutdmour May 20, 2022
843689d
refactor out dragging logic
mutdmour May 20, 2022
4aec67d
refactor out dragging
mutdmour May 20, 2022
2cac718
add back panel position
mutdmour May 20, 2022
2a75a2f
add telemetry params
mutdmour May 20, 2022
dcf5d7f
add survey url as const
mutdmour May 20, 2022
b6d7db7
remove extra space, add dot
mutdmour May 20, 2022
4fa1fdf
rename tabs, update telemetery, fix telemetry bug
mutdmour May 20, 2022
69384f3
update execute prev button
mutdmour May 20, 2022
ccdd497
rename workflow func
mutdmour May 20, 2022
f07d00d
rename workflow func
mutdmour May 20, 2022
a9bdfe5
merge master
mutdmour May 20, 2022
f63b8ac
delete unnessary component
mutdmour May 20, 2022
d141bcc
fix build issue
mutdmour May 20, 2022
de4e63b
add tests for workflow search
mutdmour May 20, 2022
7b8f1c5
Merge branch 'master' of github.com:n8n-io/n8n into N8N-3195-input-panel
mutdmour May 23, 2022
cc52e9d
format + add tests
mutdmour May 23, 2022
d4b1f90
remove todo comment
mutdmour May 23, 2022
3772487
update iconnection type to match workflows
mutdmour May 23, 2022
dbaf5cc
Revert "update iconnection type to match workflows"
mutdmour May 23, 2022
489303f
update func comment
mutdmour May 23, 2022
e92440d
fix formatting issues
mutdmour May 23, 2022
0172f03
add tertiary story
mutdmour May 23, 2022
ea5d37e
add spinner story
mutdmour May 23, 2022
55454c9
remove todo comment
mutdmour May 23, 2022
2ca4c64
remove eslint check
mutdmour May 23, 2022
cfe1b11
update empty messagE
mutdmour May 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150,816 changes: 43,200 additions & 107,616 deletions package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
},
type: {
control: 'select',
options: ['primary', 'outline', 'light', 'text'],
options: ['primary', 'outline', 'light', 'text', 'tertiary'],
},
size: {
control: {
Expand Down Expand Up @@ -96,6 +96,12 @@ Outline.args = {
label: 'Button',
};

export const Tertiary = ManyTemplate.bind({});
Tertiary.args = {
type: 'tertiary',
label: 'Button',
};

export const Light = ManyTemplate.bind({});
Light.args = {
type: 'light',
Expand Down
20 changes: 17 additions & 3 deletions packages/design-system/src/components/N8nButton/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
type: String,
default: 'primary',
validator: (value: string): boolean =>
['primary', 'outline', 'light', 'text'].includes(value),
['primary', 'outline', 'light', 'text', 'tertiary'].includes(value),
},
theme: {
type: String,
Expand Down Expand Up @@ -107,8 +107,8 @@ export default {
};
},
getClass(props: { type: string; theme?: string, transparentBackground: boolean }, $style: any): string {
const theme = props.type === 'text'
? 'text'
const theme = props.type === 'text' || props.type === 'tertiary'
? props.type
: `${props.type}-${props.theme || 'primary'}`;

if (props.transparentBackground) {
Expand Down Expand Up @@ -293,6 +293,20 @@ $color-danger-shade: lightness(
--button-active-border-color: transparent;
}

.tertiary {
composes: button;
font-weight: var(--font-weight-regular) !important;
--button-color: var(--color-text-dark);
--button-border-color: var(--color-foreground-base);
--button-background-color: var(--color-background-base);

--button-active-background-color: var(--color-primary-tint-2);
--button-active-color: var(--color-primary);
--button-active-border-color: var(--color-primary);

--button-disabled-border-color: var(--color-foreground-xdark);
}

.transparent {
--button-background-color: transparent;
--button-active-background-color: transparent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default {

.tooltip {
composes: base;
display: inline-block;
display: inline-flex;
}

.info-light {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {

.button {
border-radius: 0;
padding: 0 var(--spacing-s);
padding: 0 var(--spacing-xs);
display: flex;
align-items: center;
height: 26px;
Expand Down
3 changes: 3 additions & 0 deletions packages/design-system/src/components/N8nSelect/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ export default {
limitPopperWidth: {
type: Boolean,
},
noDataText: {
type: String,
},
},
methods: {
getSize(size: string): string | undefined {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ export default {
options: ['small', 'medium', 'large'],
},
},
type: {
control: {
type: 'select',
options: ['dots', 'ring'],
},
},
},
};

Expand Down
61 changes: 55 additions & 6 deletions packages/design-system/src/components/N8nSpinner/Spinner.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<template functional>
<component
:is="$options.components.N8nIcon"
icon="spinner"
:size="props.size"
spin
/>
<span>
<div v-if="props.type === 'ring'" class="lds-ring"><div></div><div></div><div></div><div></div></div>
<component
v-else
:is="$options.components.N8nIcon"
icon="spinner"
:size="props.size"
spin
/>
</span>
</template>

<script lang="ts">
Expand All @@ -22,6 +26,51 @@ export default {
return ['small', 'medium', 'large'].includes(value);
},
},
type: {
type: String,
validator: function (value: string): boolean {
return ['dots', 'ring'].includes(value);
},
default: 'dots',
},
},
};
</script>

<style lang="scss">
.lds-ring {
display: inline-block;
position: relative;
width: 48px;
height: 48px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 48px;
height: 48px;
border: 4px solid #fff;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: var(--color-primary) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

</style>
4 changes: 2 additions & 2 deletions packages/design-system/src/components/N8nTabs/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
target="_blank"
:href="option.href"
:class="[$style.link, $style.tab]"
@click="handleTabClick"
@click="() => handleTabClick(option.value)"
>
<div>
{{ option.label }}
Expand Down Expand Up @@ -168,7 +168,7 @@ export default Vue.extend({

.button {
position: absolute;
background-color: var(--color-background-light);
background-color: var(--color-background-base);
z-index: 1;
height: 24px;
width: 10px;
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/theme/src/common/var.scss
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ $button-disabled-background-color: var(
var(--color-foreground-base)
);
/// color||Color|0
$button-disabled-border-color: var(--border-color-base);
$button-disabled-border-color: var(--button-disabled-border-color, var(--border-color-base));

/// color||Color|0
$button-primary-border-color: var(--color-primary);
Expand Down
13 changes: 13 additions & 0 deletions packages/editor-ui/src/Interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ export interface IExecutionResponse extends IExecutionBase {
id: string;
data: IRunExecutionData;
workflowData: IWorkflowDb;
executedNode?: string;
}

export interface IExecutionShortResponse {
Expand Down Expand Up @@ -840,6 +841,8 @@ export interface IModalState {
activeId?: string | null;
}

export type IRunDataDisplayMode = 'table' | 'json' | 'binary';

export interface IUiState {
sidebarMenuCollapsed: boolean;
modalStack: string[];
Expand All @@ -848,6 +851,16 @@ export interface IUiState {
};
isPageLoading: boolean;
currentView: string;
ndv: {
sessionId: string;
input: {
displayMode: IRunDataDisplayMode;
};
output: {
displayMode: IRunDataDisplayMode;
};
};
mainPanelPosition: number;
}

export type ILogLevel = 'info' | 'debug' | 'warn' | 'error' | 'verbose';
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/BinaryDataDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default mixins(
z-index: 10;
width: 100%;
height: calc(100% - 50px);
background-color: #f9f9f9;
background-color: var(--color-background-base);
overflow: hidden;
text-align: center;

Expand Down
1 change: 1 addition & 0 deletions packages/editor-ui/src/components/CollectionParameter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<div v-if="parameterOptions.length > 0 && !isReadOnly" class="param-options">
<n8n-button
v-if="parameter.options.length === 1"
type="tertiary"
fullWidth
@click="optionSelected(parameter.options[0].name)"
:label="getPlaceholderText"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
:value="credentialData[parameter.name]"
:documentationUrl="documentationUrl"
:showValidationWarnings="showValidationWarnings"
eventSource="credentials"
@change="valueChanged"
/>
</form>
Expand Down
Loading