Skip to content

Conversation

@existentialcoder
Copy link
Contributor

@existentialcoder existentialcoder commented Oct 12, 2025

Fixes #6025

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

  • Show remove button whenever the length of stages is greater than 1
  • This will make sure that only one remaining stage cannot be deleted to a dead UI state

How did you test this code?

Local testing. Refer below screenshots

  1. Screenshot 2025-10-12 200506
  2. image
  3. image

@existentialcoder existentialcoder requested a review from a team as a code owner October 12, 2025 18:08
@existentialcoder existentialcoder requested review from kyle-ssg and removed request for a team October 12, 2025 18:08
@vercel
Copy link

vercel bot commented Oct 12, 2025

@existentialcoder is attempting to deploy a commit to the Flagsmith Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added the front-end Issue related to the React Front End Dashboard label Oct 12, 2025
Copy link
Contributor

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

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

Small but efficient! Thanks

@Zaimwa9 Zaimwa9 merged commit a0da7e3 into Flagsmith:main Oct 20, 2025
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to delete the first stage in a pipeline

2 participants