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] Save sensor type, instigation type, backfill status filters to URL #21611

Merged
merged 1 commit into from
May 3, 2024

Conversation

bengotow
Copy link
Collaborator

@bengotow bengotow commented May 2, 2024

Summary & Motivation

This PR resolves FM-330 and fixes several other related problems. The following are now saved to the URL instead of just locally on the page. These are all the ones I could find - as far as I can tell we're saving to the URL everywhere now. I think it'd be nice to explore changing the filter hooks so that uncontrolled usage is not allowed, or it falls back to URL storage on it's own.

  • Search value on "Deployment > Resources"
  • "Running state" on "Overview > Schedules" and "Deployment > Schedules"
  • "Running state" on "Overview > Sensors" and "Deployment > Sensors"
  • "Sensor type" on "Overview > Sensors"
  • "Status" on "Overview > Backfills"

The one remaining odd bit is that the Repo pickers are typically saving to local storage / workspace context instead of the URL, so those filter states aren't entirely shareable.

How I Tested These Changes

Enabled / disabled each filter on the impacted pages

@bengotow bengotow requested a review from salazarm May 2, 2024 22:07
Copy link

github-actions bot commented May 2, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-e0563ox84-elementl.vercel.app
https://bengotow-2024-05-FE-330.core-storybook.dagster-docs.io

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

@bengotow bengotow force-pushed the bengotow-2024-05/FE-330 branch from 6eca921 to 5f7361f Compare May 3, 2024 13:58
@bengotow bengotow merged commit 5750cf8 into master May 3, 2024
2 checks passed
@bengotow bengotow deleted the bengotow-2024-05/FE-330 branch May 3, 2024 14:13
cmpadden pushed a commit that referenced this pull request May 6, 2024
…RL (#21611)

## Summary & Motivation

This PR resolves FM-330 and fixes several other related problems. The
following are now saved to the URL instead of just locally on the page.
These are all the ones I could find - as far as I can tell we're saving
to the URL everywhere now. I think it'd be nice to explore changing the
filter hooks so that uncontrolled usage is not allowed, or it falls back
to URL storage on it's own.

- Search value on "Deployment > Resources"
- "Running state" on "Overview > Schedules" and "Deployment > Schedules"
- "Running state" on "Overview > Sensors" and "Deployment > Sensors"
- "Sensor type" on "Overview > Sensors" 
- "Status" on "Overview > Backfills"

The one remaining odd bit is that the Repo pickers are typically saving
to local storage / workspace context instead of the URL, so those filter
states aren't entirely shareable.

## How I Tested These Changes

Enabled / disabled each filter on the impacted pages

Co-authored-by: bengotow <[email protected]>
danielgafni pushed a commit to danielgafni/dagster that referenced this pull request Jun 18, 2024
…RL (dagster-io#21611)

## Summary & Motivation

This PR resolves FM-330 and fixes several other related problems. The
following are now saved to the URL instead of just locally on the page.
These are all the ones I could find - as far as I can tell we're saving
to the URL everywhere now. I think it'd be nice to explore changing the
filter hooks so that uncontrolled usage is not allowed, or it falls back
to URL storage on it's own.

- Search value on "Deployment > Resources"
- "Running state" on "Overview > Schedules" and "Deployment > Schedules"
- "Running state" on "Overview > Sensors" and "Deployment > Sensors"
- "Sensor type" on "Overview > Sensors" 
- "Status" on "Overview > Backfills"

The one remaining odd bit is that the Repo pickers are typically saving
to local storage / workspace context instead of the URL, so those filter
states aren't entirely shareable.

## How I Tested These Changes

Enabled / disabled each filter on the impacted pages

Co-authored-by: bengotow <[email protected]>
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