Add back button and missing dot on issue descriptions

This commit is contained in:
Guillaume Jacquart 2025-11-20 17:53:03 +01:00
parent f5ee3590f2
commit ce8933e450
No known key found for this signature in database
2 changed files with 17 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import ResourceFiltersDropdown from '@/app/components/forms/ResourceFiltersDropd
import { VIEWS } from '@/app/constants';
import type { BreakingChangeWorkflowRuleResult } from '@n8n/api-types';
import {
N8nButton,
N8nDataTableServer,
N8nIcon,
N8nInput,
@ -187,6 +188,15 @@ const sortedWorkflows = computed(() => {
<template>
<div>
<N8nButton
:class="$style.backButton"
type="secondary"
text
icon="arrow-left"
:label="i18n.baseText('generic.back')"
class="mb-xs"
@click="router.push({ name: VIEWS.MIGRATION_REPORT })"
/>
<template v-if="isLoading">
<div class="mb-2xs">
<N8nLoading variant="h1" />
@ -215,7 +225,7 @@ const sortedWorkflows = computed(() => {
/>
</N8nText>
<N8nText tag="p" color="text-base" class="mb-2xl">
{{ state.ruleDescription }}
{{ state.ruleDescription }}{{ state.ruleDescription.endsWith('.') ? '' : '.' }}
<N8nLink
v-if="state.ruleDocumentationUrl"
theme="text"
@ -316,6 +326,10 @@ const sortedWorkflows = computed(() => {
</template>
<style module>
.backButton {
padding-left: 0;
}
.clickableRow {
cursor: pointer;
}

View File

@ -183,7 +183,7 @@ const sortedInstanceResults = computed(() => {
</N8nTooltip>
</div>
<N8nText tag="p" color="text-base">
{{ issue.ruleDescription }}
{{ issue.ruleDescription }}{{ issue.ruleDescription.endsWith('.') ? '' : '.' }}
<N8nLink
v-if="issue.ruleDocumentationUrl"
theme="text"
@ -241,7 +241,7 @@ const sortedInstanceResults = computed(() => {
</N8nTooltip>
</div>
<N8nText tag="p" color="text-base">
{{ issue.ruleDescription }}
{{ issue.ruleDescription }}{{ issue.ruleDescription.endsWith('.') ? '' : '.' }}
<N8nLink
v-if="issue.ruleDocumentationUrl"
theme="text"