-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Clean up old definitions pages (#25525)
## Summary & Motivation Clean up pages that are no longer available with the switchover of the new code location pages, which have their own definition list pages. ## How I Tested These Changes TS, lint, jest.
- Loading branch information
Showing
28 changed files
with
48 additions
and
1,940 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
js_modules/dagster-ui/packages/ui-core/src/resources/VirtualizedResourceTable.tsx
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
js_modules/dagster-ui/packages/ui-core/src/resources/WorkspaceResourcesQuery.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import {gql} from '../apollo-client'; | ||
import {PYTHON_ERROR_FRAGMENT} from '../app/PythonErrorFragment'; | ||
|
||
export const RESOURCE_ENTRY_FRAGMENT = gql` | ||
fragment ResourceEntryFragment on ResourceDetails { | ||
name | ||
description | ||
resourceType | ||
parentResources { | ||
name | ||
} | ||
assetKeysUsing { | ||
path | ||
} | ||
jobsOpsUsing { | ||
jobName | ||
} | ||
schedulesUsing | ||
sensorsUsing | ||
} | ||
`; | ||
|
||
export const WORKSPACE_RESOURCES_QUERY = gql` | ||
query WorkspaceResourcesQuery($selector: RepositorySelector!) { | ||
repositoryOrError(repositorySelector: $selector) { | ||
... on Repository { | ||
id | ||
name | ||
allTopLevelResourceDetails { | ||
id | ||
...ResourceEntryFragment | ||
} | ||
} | ||
...PythonErrorFragment | ||
} | ||
} | ||
${PYTHON_ERROR_FRAGMENT} | ||
${RESOURCE_ENTRY_FRAGMENT} | ||
`; |
161 changes: 0 additions & 161 deletions
161
js_modules/dagster-ui/packages/ui-core/src/resources/WorkspaceResourcesRoot.tsx
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.
bae7fe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-4mvhh0pyt-elementl.vercel.app
Built with commit bae7fe4.
This pull request is being automatically deployed with vercel-action