Skip to content

refactor(flows): replace bootstrap utility classes in FlowWarningDialog - #22558

Merged
Piyush-r-bhaskar merged 1 commit into
kestra-io:developfrom
shu-chen-dot-ca:fix-20817-flow-warning-dialog-bootstrap
Nov 12, 2026
Merged

Piyush-r-bhaskar merged 1 commit into
kestra-io:developfrom
shu-chen-dot-ca:fix-20817-flow-warning-dialog-bootstrap

Conversation

@shu-chen-dot-ca

@shu-chen-dot-ca shu-chen-dot-ca commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Closes #20817

Related Issue

Description

FlowWarningDialog.vue (the warning shown when you execute a flow that uses trigger variables) used four Bootstrap utilities: d-flex, py-3 and align-items-center on the row, me-2 on the icon. They are now plain scoped CSS on the existing .flow-warning-dialog and .flow-warning-dialog .icon rules, with padding-block: var(--ks-spacing-4) for py-3 and margin-right: var(--ks-spacing-2) for me-2.

After this, nothing in OSS uses .py-3, .align-items-center or .me-2, so those three rules are removed from _utilities.css. .d-flex stays, as SecretsTable.vue still uses it.

The dialog looks the same: against a running instance, the before and after screenshots are pixel-identical in light and dark mode, and the measured computed styles match (flex, centred, 16px top and bottom padding, 8px icon gap, same icon colour).

Frontend Checklist

  • Type checking passes (npm run check:types)
  • Code builds without errors (npm run build): not run
  • Unit tests pass (npm run test:unit)
  • Translations are complete if en.json changed (npm run translations:check reports no missing, extra, or stale keys): en.json not changed
  • Screenshots or video recordings attached showing the UI changes

Also ran npm run lint (0 errors, no files changed) and npm run check:ts-any (no change against the baseline).

Theme Before After
Light before after
Dark before after

AI Authors

This PR was prepared with the help of AI tools.

@github-project-automation github-project-automation Bot moved this to To review in Pull Requests Nov 12, 2026
@kestrabot kestrabot Bot added area/frontend Needs frontend code changes kind/external Pull requests raised by community contributors labels Nov 12, 2026
@kestrabot
kestrabot Bot requested review from a team and elevatebart and removed request for a team November 12, 2026 09:38
@Piyush-r-bhaskar
Piyush-r-bhaskar requested review from Piyush-r-bhaskar and removed request for elevatebart November 12, 2026 09:41
@Piyush-r-bhaskar
Piyush-r-bhaskar force-pushed the fix-20817-flow-warning-dialog-bootstrap branch from c2116f6 to 5ca80c1 Compare November 12, 2026 11:14
@Piyush-r-bhaskar
Piyush-r-bhaskar merged commit 494b445 into kestra-io:develop Nov 12, 2026
17 checks passed
@Piyush-r-bhaskar

Copy link
Copy Markdown
Contributor

Thanks a lot for this, @shu-chen-dot-ca!

If you'd like to pick up another one, the good first issues are here: good first issue Great issue for new contributors

@github-project-automation github-project-automation Bot moved this from To review to Done in Pull Requests Nov 12, 2026
@shu-chen-dot-ca
shu-chen-dot-ca deleted the fix-20817-flow-warning-dialog-bootstrap branch November 12, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/frontend Needs frontend code changes kind/external Pull requests raised by community contributors

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Replace Bootstrap utility classes in FlowWarningDialog.vue

2 participants