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

[3/n][Selection syntax] Add stubs to allow Cloud to extend selection syntax functionality. #27184

Merged
merged 13 commits into from
Jan 21, 2025

Conversation

salazarm
Copy link
Contributor

Summary & Motivation

  • Add useAssetGraphSupplementaryData so that Cloud can query for extra data to support the filtering
  • Feed that data all the way through to the visitor that does the filtering. Don't do anything with it in the OSS visitor, Cloud will use it in its visitor though to do that additional filtering.

How I Tested These Changes

Manual testing + relying on existing jest tests

Screenshot 2025-01-16 at 6 25 14 PM

Copy link

github-actions bot commented Jan 17, 2025

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-84og8togg-elementl.vercel.app
https://salazarm-elastic-search-filters-in-selection-syntax.core-storybook.dagster-docs.io

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

Base automatically changed from salazarm/move-off-of-hint-add-on to master January 21, 2025 17:25
Comment on lines +97 to +102
const assetNames = Array.from(assetNamesSet);
const tagNames = Array.from(tagNamesSet);
const owners = Array.from(ownersSet);
const groups = Array.from(groupsSet);
const kinds = Array.from(kindsSet);
const codeLocations = Array.from(codeLocationSet);
Copy link
Member

Choose a reason for hiding this comment

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

Worth sorting these in any way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah probably, let me add that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will add in a follow-up PR so that I can unbreak buildkite

@salazarm salazarm merged commit 3835e66 into master Jan 21, 2025
5 of 6 checks passed
@salazarm salazarm deleted the salazarm/elastic-search-filters-in-selection-syntax branch January 21, 2025 17:32
marijncv pushed a commit to marijncv/dagster that referenced this pull request Jan 21, 2025
…syntax functionality. (dagster-io#27184)

## Summary & Motivation

- Add `useAssetGraphSupplementaryData` so that Cloud can query for extra
data to support the filtering
- Feed that data all the way through to the visitor that does the
filtering. Don't do anything with it in the OSS visitor, Cloud will use
it in its visitor though to do that additional filtering.

## How I Tested These Changes

Manual testing + relying on existing jest tests

<img width="650" alt="Screenshot 2025-01-16 at 6 25 14 PM"
src="https://github.com/user-attachments/assets/a5bbf8d7-c4f0-4d8b-bd53-0debdd3b794f"
/>
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