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

feat: added snis new empty state #1941

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

afrzhussain
Copy link
Contributor

Summary

SNI new Empty state
FF : khcp-14756-empty-states-m2

@afrzhussain afrzhussain requested review from a team as code owners February 10, 2025 15:26
Comment on lines +249 to +256
/**
* Enables the new empty state design, this prop can be removed when
* the khcp-14756-empty-states-m2 FF is removed.
*/
enableV2EmptyStates: {
type: Boolean,
default: false,
},
Copy link
Member

Choose a reason for hiding this comment

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

issue: no feature flag usage should be mentioned in this PR, and props shouldn't be tied to "versions" of things but rather linked to the overall functionality being added.

Prop removal creates a need for breaking change releases when the prop is removed; is that desired here?

Copy link
Member

Choose a reason for hiding this comment

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

Do these new empty states only get shown in Konnect? What's the behavior in Kong Manager that uses these same components? (this comment should block all of the open PRs until resolved)

Copy link
Contributor Author

@afrzhussain afrzhussain Feb 10, 2025

Choose a reason for hiding this comment

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

This PR enables the new empty states only for konnect ( we have added app config check for the new empty state and its also guarded by the FF via prop ). The KM will still show the old empty states.

@afrzhussain afrzhussain marked this pull request as draft February 10, 2025 16:41
@adamdehaven adamdehaven dismissed their stale review February 11, 2025 15:57

Discussed with Kai

@kongponents-bot
Copy link
Collaborator

Preview components from this PR in consuming application

In consuming application project install preview versions of shared packages generated by this PR:

@kong-ui-public/entities-snis@pr-1941

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.

3 participants