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: connect feature lifecycle to real API #6921

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Apr 24, 2024

About the changes

  • reading lifecycle data from the feature API
  • if no lifecycle data so not show lifecycle UI
  • each stage gets corresponding environment metrics info from dev or prod (data combined from lifecycle and env metrics)

Important files

Discussion points

Copy link

vercel bot commented Apr 24, 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 Apr 24, 2024 1:14pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:14pm

@@ -49,6 +49,10 @@ export interface IFeatureToggle {
impressionData: boolean;
strategies?: IFeatureStrategy[];
dependencies: Array<IDependency>;
lifecycle?: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we don't use orval here

},
],
};
const currentStage = populateCurrentStage(feature);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

read real feature instead of hardcoded data

@kwasniew kwasniew merged commit e6355f4 into main Apr 25, 2024
10 of 15 checks passed
@kwasniew kwasniew deleted the connect-lifecycle-api branch April 25, 2024 07:18
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.

2 participants