ci: Update most of the dev tooling (no-changelog) (#6780)
This commit is contained in:
committed by
GitHub
parent
d2bbdaa58a
commit
7461085408
@@ -57,21 +57,24 @@ const filter = reactive(getDefaultFilter());
|
||||
|
||||
// Automatically set up v-models based on filter properties
|
||||
const vModel = reactive(
|
||||
getObjectKeys(filter).reduce((acc, key) => {
|
||||
acc[key] = computed({
|
||||
get() {
|
||||
return filter[key];
|
||||
},
|
||||
set(value) {
|
||||
// TODO: find out what exactly is typechecker complaining about
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
filter[key] = value;
|
||||
emit('filterChanged', filter);
|
||||
},
|
||||
});
|
||||
return acc;
|
||||
}, {} as Record<keyof ExecutionFilterType, ReturnType<typeof computed>>),
|
||||
getObjectKeys(filter).reduce(
|
||||
(acc, key) => {
|
||||
acc[key] = computed({
|
||||
get() {
|
||||
return filter[key];
|
||||
},
|
||||
set(value) {
|
||||
// TODO: find out what exactly is typechecker complaining about
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
filter[key] = value;
|
||||
emit('filterChanged', filter);
|
||||
},
|
||||
});
|
||||
return acc;
|
||||
},
|
||||
{} as Record<keyof ExecutionFilterType, ReturnType<typeof computed>>,
|
||||
),
|
||||
);
|
||||
|
||||
const statuses = computed(() => [
|
||||
|
||||
@@ -842,7 +842,9 @@ $--mode-selector-width: 92px;
|
||||
.selectIcon {
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
transition: transform 0.3s, -webkit-transform 0.3s;
|
||||
transition:
|
||||
transform 0.3s,
|
||||
-webkit-transform 0.3s;
|
||||
-webkit-transform: rotateZ(0);
|
||||
transform: rotateZ(0);
|
||||
|
||||
|
||||
@@ -361,7 +361,7 @@ export default defineComponent({
|
||||
filterText: string,
|
||||
useShort = false,
|
||||
): IVariableSelectorOption[] | null {
|
||||
const outputData = pinData.map((data) => ({ json: data } as INodeExecutionData))[0];
|
||||
const outputData = pinData.map((data) => ({ json: data }) as INodeExecutionData)[0];
|
||||
|
||||
return this.getNodeOutput(nodeName, outputData, filterText, useShort);
|
||||
},
|
||||
|
||||
@@ -22,8 +22,8 @@ const defaultFilterState: ExecutionFilterType = {
|
||||
const workflowDataFactory = (): IWorkflowShortResponse => ({
|
||||
createdAt: faker.date.past().toDateString(),
|
||||
updatedAt: faker.date.past().toDateString(),
|
||||
id: faker.datatype.uuid(),
|
||||
name: faker.datatype.string(),
|
||||
id: faker.string.uuid(),
|
||||
name: faker.string.sample(),
|
||||
active: faker.datatype.boolean(),
|
||||
tags: [],
|
||||
});
|
||||
@@ -68,7 +68,7 @@ describe('ExecutionFilter', () => {
|
||||
() =>
|
||||
({
|
||||
track,
|
||||
} as unknown as Telemetry),
|
||||
}) as unknown as Telemetry,
|
||||
);
|
||||
|
||||
const { getByTestId } = renderComponent({
|
||||
@@ -92,7 +92,7 @@ describe('ExecutionFilter', () => {
|
||||
['production', 'default', false, undefined],
|
||||
['production', 'default', true, workflowsData],
|
||||
])(
|
||||
'renders in %s environment on %s deployment with advancedExecutionFilters %s and workflows %s',
|
||||
'renders in %s environment on %s deployment with advancedExecutionFilters %s',
|
||||
async (environment, deployment, advancedExecutionFilters, workflows) => {
|
||||
const { html, getByTestId, queryByTestId, queryAllByTestId } = renderComponent({
|
||||
props: { workflows },
|
||||
|
||||
@@ -21,7 +21,7 @@ const generateUndefinedNullOrString = () => {
|
||||
case 1:
|
||||
return null;
|
||||
case 2:
|
||||
return faker.datatype.uuid();
|
||||
return faker.string.uuid();
|
||||
case 3:
|
||||
return '';
|
||||
default:
|
||||
@@ -32,23 +32,23 @@ const generateUndefinedNullOrString = () => {
|
||||
const workflowDataFactory = (): IWorkflowDb => ({
|
||||
createdAt: faker.date.past().toDateString(),
|
||||
updatedAt: faker.date.past().toDateString(),
|
||||
id: faker.datatype.uuid(),
|
||||
name: faker.datatype.string(),
|
||||
id: faker.string.uuid(),
|
||||
name: faker.string.sample(),
|
||||
active: faker.datatype.boolean(),
|
||||
tags: [],
|
||||
nodes: [],
|
||||
connections: {},
|
||||
versionId: faker.datatype.number().toString(),
|
||||
versionId: faker.number.int().toString(),
|
||||
});
|
||||
|
||||
const executionDataFactory = (): IExecutionsSummary => ({
|
||||
id: faker.datatype.uuid(),
|
||||
id: faker.string.uuid(),
|
||||
finished: faker.datatype.boolean(),
|
||||
mode: faker.helpers.arrayElement(['manual', 'trigger']),
|
||||
startedAt: faker.date.past(),
|
||||
stoppedAt: faker.date.past(),
|
||||
workflowId: faker.datatype.number().toString(),
|
||||
workflowName: faker.datatype.string(),
|
||||
workflowId: faker.number.int().toString(),
|
||||
workflowName: faker.string.sample(),
|
||||
status: faker.helpers.arrayElement(['failed', 'success']),
|
||||
nodeExecutionStatus: {},
|
||||
retryOf: generateUndefinedNullOrString(),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Vitest Snapshot v1
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`RunDataJson.vue > renders json values properly 1`] = `
|
||||
<div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Vitest Snapshot v1
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`RunDataJsonSchema.vue > renders schema for data 1`] = `
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user