Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release plans flow in flag environments #8843

Merged
merged 6 commits into from
Nov 26, 2024

Conversation

nunogois
Copy link
Member

https://linear.app/unleash/issue/2-2816/add-release-plan-to-feature-flag-from-release-template
https://linear.app/unleash/issue/2-2818/list-release-plan-with-milestones-in-feature-flag-environment-section
https://linear.app/unleash/issue/2-2819/removing-release-plan-from-feature

Implements the release plan flow in the feature flag environment.

You can now manage release plans in a feature flag environment by adding or removing them, as well as start milestones.

release_plans.mp4

@nunogois nunogois requested review from chriswk and daveleek November 22, 2024 17:42
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 26, 2024 8:59am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 26, 2024 8:59am

Copy link
Contributor

github-actions bot commented Nov 22, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

<ReleasePlanMilestone
milestone={milestone}
status={
index === activeIndex
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we have activeMilestoneId we could use here?

Copy link
Member Author

Choose a reason for hiding this comment

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

We're already using it here, even if it's indirectly, so in the end it shouldn't matter much. However I'm on board if you think this is more readable: f42b788

{releasePlans.map((plan) => (
<ReleasePlan key={plan.id} plan={plan} />
))}
<ConditionallyRender
Copy link
Contributor

Choose a reason for hiding this comment

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

Aren't we moving away from these? Is it being used here for consistency with the rest of the file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Are we? I'm not 100% sure. But like you said this is at least consistent with the rest of the code in the file, so we can return to this later.

</SectionSeparator>
}
/>
<ConditionallyRender
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question around these being moved away from and consistency as further down

Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

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

Cool, couple of questions around index vs activeMilestoneId and usage of ConditionallyRender, but non-blocking

Copy link
Member

@chriswk chriswk left a comment

Choose a reason for hiding this comment

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

Except for David's question about activeMilestoneId this looks good to me.

Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

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

Great!

@nunogois nunogois force-pushed the chore-release-plans-shown-in-flag-envs branch from 93b2d2b to 068c829 Compare November 26, 2024 08:34
@nunogois nunogois merged commit 14403d7 into main Nov 26, 2024
9 of 11 checks passed
@nunogois nunogois deleted the chore-release-plans-shown-in-flag-envs branch November 26, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants