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 v2] feat: Adds flow run data table filter components #17148

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

devinvillarosa
Copy link
Contributor

@devinvillarosa devinvillarosa commented Feb 14, 2025

Adds filtering components to be used for the flow run data table

Screen.Recording.2025-02-14.at.3.11.48.PM.mov

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

Relates to #15512

@github-actions github-actions bot added the ui-replatform Related to the React UI rewrite label Feb 14, 2025
@devinvillarosa devinvillarosa marked this pull request as ready for review February 14, 2025 23:16
@devinvillarosa devinvillarosa force-pushed the start-flow-run-table-filters branch from e3aa54a to 91408cd Compare February 14, 2025 23:17
Copy link
Contributor

@devangrose devangrose left a comment

Choose a reason for hiding this comment

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

Some suggestions but looks good!

) {
return false;
}
return Array.from(selectedFilters).every((filter) =>
Copy link
Contributor

Choose a reason for hiding this comment

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

nice, didn't know these functions existed

);
}, [selectedFilters]);

const handleSelectAllExceptScheduled = () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could these be reduced to use the handleSelectFilter function?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm, I can' think of how to do it while keeping it readable.
Mostly because these type of filter selections are deriving the state of multiple filters 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

fair enough!

@devinvillarosa devinvillarosa force-pushed the start-flow-run-table-filters branch from 91408cd to 826eaad Compare February 18, 2025 17:22
@devinvillarosa devinvillarosa merged commit 1c38054 into main Feb 18, 2025
6 checks passed
@devinvillarosa devinvillarosa deleted the start-flow-run-table-filters branch February 18, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui-replatform Related to the React UI rewrite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants