Skip to content

Commit

Permalink
[ui] Add stub for Alerts section on code location page (#28087)
Browse files Browse the repository at this point in the history
## Summary & Motivation

Necessary for dagster-io/internal#14040.

## How I Tested These Changes

View code location permalink, verify correct rendering.
  • Loading branch information
hellendag authored Feb 27, 2025
1 parent cc155a9 commit d80c595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const CodeLocationAlertsSection = ({locationName: _}: {locationName: string}) => null;
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
} from '@dagster-io/ui-components';
import {StyledRawCodeMirror} from '@dagster-io/ui-components/editor';
import {useContext, useMemo} from 'react';
import {CodeLocationAlertsSection} from 'shared/code-location/CodeLocationAlertsSection.oss';
import {CodeLocationPageHeader} from 'shared/code-location/CodeLocationPageHeader.oss';
import {CodeLocationServerSection} from 'shared/code-location/CodeLocationServerSection.oss';
import {CodeLocationTabs} from 'shared/code-location/CodeLocationTabs.oss';
Expand Down Expand Up @@ -127,6 +128,7 @@ export const CodeLocationOverviewRoot = (props: Props) => {
</Table>
</>
) : null}
<CodeLocationAlertsSection locationName={repoAddress.location} />
<CodeLocationOverviewSectionHeader label="Metadata" border="bottom" />
<CodeLocationMetadataStyle />
<div style={{height: '320px'}}>
Expand Down

1 comment on commit d80c595

@github-actions
Copy link

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-bucnbta3u-elementl.vercel.app

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

Please sign in to comment.