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

[ui] Use location-based feature flag on partitions dialog #17017

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

hellendag
Copy link
Member

Summary & Motivation

Add a feature flag utility to read flags from location entries, use it to gate the SHOW_SINGLE_RUN_BACKFILL_TOGGLE UI in the materialization partition dialog.

Screenshot 2023-10-04 at 5 41 44 PM

How I Tested These Changes

Jest to verify flag checking.

View http://localhost:3000/locations/partitioned_assets_repository@dagster_test.toys.repo/asset-groups/default/lineage/hourly_asset1, materialize. Verify that the radio container is not rendered.

Force the flag utility hook to return true, verify that the radio container is rendered.

@hellendag hellendag requested review from prha and gibsondan October 4, 2023 22:57
@hellendag hellendag force-pushed the dish/feature-flag-radios branch from 3ad91a8 to f2bc6ec Compare October 4, 2023 22:59
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-77ohto521-elementl.vercel.app
https://dish-feature-flag-radios.core-storybook.dagster-docs.io

Built with commit de2afe6.
This pull request is being automatically deployed with vercel-action

Copy link
Member

@gibsondan gibsondan left a comment

Choose a reason for hiding this comment

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

nice! would be good to test this e2e in cloud as well with an agent on pre-1.5.0 and post-1.5.0

@hellendag hellendag force-pushed the dish/feature-flag-radios branch from f2bc6ec to 41d4a86 Compare October 5, 2023 01:50
Base automatically changed from featureflags to master October 5, 2023 14:18
@hellendag hellendag force-pushed the dish/feature-flag-radios branch from 41d4a86 to de2afe6 Compare October 5, 2023 21:21
@hellendag
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@hellendag hellendag merged commit ad46435 into master Oct 5, 2023
@hellendag hellendag deleted the dish/feature-flag-radios branch October 5, 2023 21:39
benpankow pushed a commit that referenced this pull request Oct 9, 2023
## Summary & Motivation

Add a feature flag utility to read flags from location entries, use it
to gate the `SHOW_SINGLE_RUN_BACKFILL_TOGGLE` UI in the materialization
partition dialog.

<img width="758" alt="Screenshot 2023-10-04 at 5 41 44 PM"
src="https://github.com/dagster-io/dagster/assets/2823852/4f51346d-ff95-4af4-be10-95d07a4918d9">

## How I Tested These Changes

Jest to verify flag checking.

View
http://localhost:3000/locations/partitioned_assets_repository@dagster_test.toys.repo/asset-groups/default/lineage/hourly_asset1,
materialize. Verify that the radio container is not rendered.

Force the flag utility hook to return true, verify that the radio
container is rendered.
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.

2 participants