Skip to content

Fix incorrect column order in the pipelines table#6592

Merged
Karakatiza666 merged 1 commit into
mainfrom
fix-ui-7
Jul 10, 2026
Merged

Fix incorrect column order in the pipelines table#6592
Karakatiza666 merged 1 commit into
mainfrom
fix-ui-7

Conversation

@Karakatiza666

@Karakatiza666 Karakatiza666 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Fix tooltips for 'Duplicate' and 'Delete' actions
Testing: manual, added regression test for column order, and unit test for determining the correct tooltip for the "Delete" action

image image

Fix #6604

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new deletePipelineBlockedReason returns strings with a trailing period, but several assertions in the new spec compare against strings without one — those tests cannot pass as written. See inline. Otherwise the column-order fix + regression test and the split-out delete-blocked helper are a nice improvement.

Comment thread js-packages/web-console/src/lib/functions/pipelines/status.spec.ts Outdated
Comment thread js-packages/web-console/src/lib/functions/pipelines/status.spec.ts
Comment thread js-packages/web-console/src/lib/compositions/duplicatePipeline.ts Outdated
Comment thread js-packages/web-console/src/lib/components/pipelines/list/Actions.svelte Outdated
@Karakatiza666
Karakatiza666 force-pushed the fix-ui-7 branch 2 times, most recently from 45194f3 to acdd53f Compare July 4, 2026 11:09

@mythical-fred mythical-fred left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocker resolved — the helper is now deletePipelineDisabledReason and every asserted string in the new spec ends in a period, matching what the helper returns. The transitional-states loop, the error-state loop, and the mid-clear case all line up. Nice cleanup overall.

Approving.


export const duplicatePipelineTooltip =
'Pipeline storage and state are not duplicated. The new pipeline starts fresh.'
'The connectors are preserved. Pipeline storage and state are not copied - the new pipeline starts fresh.'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not entirely sure what "preserved" means. Does it mean the code is the same, or that the state of the storage systems behind the connectors is also somehow preserved?

// text is whitespace-collapsed so responsive label variants (e.g. the short and
// long "Runtime errors" spans, both present in the DOM) compare deterministically.
const columnHeaders = () =>
Array.from(document.querySelectorAll('thead th')).map((th) =>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works only if there's a single table in the whole document

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the time of this test there is, but I'll narrow down the selection just to be safe

Fix tooltips for 'Duplicate' and 'Delete' actions

Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
@Karakatiza666
Karakatiza666 added this pull request to the merge queue Jul 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 9, 2026
@ryzhyk

ryzhyk commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@Karakatiza666 , why aren't we merging this? This fixes some pretty serious WebConsole issues.

@Karakatiza666
Karakatiza666 added this pull request to the merge queue Jul 9, 2026
Merged via the queue into main with commit 2d33adb Jul 10, 2026
1 check passed
@Karakatiza666
Karakatiza666 deleted the fix-ui-7 branch July 10, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pipeline overview table is broken

4 participants