Skip to content

Commit

Permalink
sofar
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Aug 5, 2024
1 parent 8433f8c commit e84020c
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {Box, Colors, Icon, IconWrapper, Tooltip} from '@dagster-io/ui-components';
import * as React from 'react';
import {Link, NavLink} from 'react-router-dom';
import {AppTopNavRightOfLogo} from 'src/app/AppTopNav/AppTopNavRightOfLogo.oss';
import styled from 'styled-components';

import {AppTopNavRightOfLogo} from './AppTopNavRightOfLogo.oss';
import {VersionNumber} from '../../nav/VersionNumber';
import {
reloadFnForWorkspace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {
Tooltip,
} from '@dagster-io/ui-components';
import * as React from 'react';
import {UserPreferences} from 'src/app/UserSettingsDialog/UserPreferences.oss';

import {UserPreferences} from './UserPreferences.oss';
import {CodeLinkProtocolSelect} from '../../code-links/CodeLinkProtocol';
import {FeatureFlagType, getFeatureFlags, setFeatureFlags} from '../Flags';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import uniq from 'lodash/uniq';
import without from 'lodash/without';
import * as React from 'react';
import {useMemo} from 'react';
import {useAssetGraphExplorerFilters} from 'src/asset-graph/useAssetGraphExplorerFilters.oss';
import {AssetFilterState} from 'src/assets/useAssetDefinitionFilterState.oss';
import styled from 'styled-components';

Expand Down Expand Up @@ -46,7 +47,6 @@ import {
useAssetGraphData,
useFullAssetGraphData,
} from './useAssetGraphData';
import {useAssetGraphExplorerFilters} from './useAssetGraphExplorerFilters.oss';
import {AssetLocation, useFindAssetLocation} from './useFindAssetLocation';
import {AssetLiveDataRefreshButton} from '../asset-data/AssetLiveDataProvider';
import {LaunchAssetExecutionButton} from '../assets/LaunchAssetExecutionButton';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {Box, Heading, Page, PageHeader, Tabs, Tag} from '@dagster-io/ui-componen
import React, {useCallback, useMemo} from 'react';
import {useHistory, useParams} from 'react-router-dom';
import {AssetGlobalLineageLink} from 'src/assets/AssetPageHeader.oss';
import {useAssetDefinitionFilterState} from 'src/assets/useAssetDefinitionFilterState.oss';

import {AssetsCatalogTable} from './AssetsCatalogTable';
import {useAutoMaterializeSensorFlag} from './AutoMaterializeSensorFlag';
Expand All @@ -12,7 +13,6 @@ import {
AssetGroupMetadataQuery,
AssetGroupMetadataQueryVariables,
} from './types/AssetGroupRoot.types';
import {useAssetDefinitionFilterState} from './useAssetDefinitionFilterState.oss';
import {useTrackPageView} from '../app/analytics';
import {AssetGraphExplorer} from '../asset-graph/AssetGraphExplorer';
import {AssetNodeForGraphQueryFragment} from '../asset-graph/types/useAssetGraphData.types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {
import groupBy from 'lodash/groupBy';
import * as React from 'react';
import {useContext, useMemo} from 'react';
import {AssetWipeDialog} from 'src/assets/AssetWipeDialog.oss';

import {AssetWipeDialog} from './AssetWipeDialog.oss';
import {LaunchAssetExecutionButton} from './LaunchAssetExecutionButton';
import {AssetTableFragment} from './types/AssetTableFragment.types';
import {AssetViewType} from './useAssetView';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import {Alert, Box, ErrorBoundary, NonIdealState, Spinner, Tag} from '@dagster-i
import {useContext, useEffect, useMemo} from 'react';
import {Link, Redirect, useLocation, useRouteMatch} from 'react-router-dom';
import {useSetRecoilState} from 'recoil';
import {AssetPageHeader} from 'src/assets/AssetPageHeader.oss';

import {AssetEvents} from './AssetEvents';
import {AssetFeatureContext} from './AssetFeatureContext';
import {ASSET_NODE_DEFINITION_FRAGMENT, AssetNodeDefinition} from './AssetNodeDefinition';
import {ASSET_NODE_INSTIGATORS_FRAGMENT} from './AssetNodeInstigatorTag';
import {AssetNodeLineage} from './AssetNodeLineage';
import {AssetNodeOverview, AssetNodeOverviewNonSDA} from './AssetNodeOverview';
import {AssetPageHeader} from './AssetPageHeader.oss';
import {AssetPartitions} from './AssetPartitions';
import {AssetPlotsPage} from './AssetPlotsPage';
import {AssetTabs} from './AssetTabs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import * as React from 'react';
import {useCallback, useContext, useEffect, useLayoutEffect, useMemo, useState} from 'react';
import {useRouteMatch} from 'react-router-dom';
import {useSetRecoilState} from 'recoil';
import {AssetCatalogTableBottomActionBar} from 'src/assets/AssetCatalogTableBottomActionBar.oss';
import {useAssetCatalogFiltering} from 'src/assets/useAssetCatalogFiltering.oss';

import {AssetCatalogTableBottomActionBar} from './AssetCatalogTableBottomActionBar.oss';
import {AssetTable} from './AssetTable';
import {ASSET_TABLE_DEFINITION_FRAGMENT, ASSET_TABLE_FRAGMENT} from './AssetTableFragment';
import {AssetsEmptyState} from './AssetsEmptyState';
Expand All @@ -17,7 +18,6 @@ import {
AssetCatalogTableQuery,
AssetCatalogTableQueryVariables,
} from './types/AssetsCatalogTable.types';
import {useAssetCatalogFiltering} from './useAssetCatalogFiltering.oss';
import {AssetViewType, useAssetView} from './useAssetView';
import {AppContext} from '../app/AppContext';
import {PYTHON_ERROR_FRAGMENT} from '../app/PythonErrorFragment';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {Page} from '@dagster-io/ui-components';
import {useCallback, useMemo} from 'react';
import {useHistory, useParams} from 'react-router-dom';
import {AssetsGraphHeader} from 'src/assets/AssetsGraphHeader.oss';
import {useAssetDefinitionFilterState} from 'src/assets/useAssetDefinitionFilterState.oss';

import {AssetsGraphHeader} from './AssetsGraphHeader.oss';
import {assetDetailsPathForKey} from './assetDetailsPathForKey';
import {
globalAssetGraphPathFromString,
globalAssetGraphPathToString,
} from './globalAssetGraphPathToString';
import {useAssetDefinitionFilterState} from './useAssetDefinitionFilterState.oss';
import {useTrackPageView} from '../app/analytics';
import {AssetGraphExplorer} from '../asset-graph/AssetGraphExplorer';
import {AssetGraphFetchScope} from '../asset-graph/useAssetGraphData';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {TextInput} from '@dagster-io/ui-components';
import * as React from 'react';
import {useMemo} from 'react';
import {useAssetDefinitionFilterState} from 'src/assets/useAssetDefinitionFilterState.oss';

import {useAssetGroupSelectorsForAssets} from './AssetGroupSuggest';
import {AssetTableFragment} from './types/AssetTableFragment.types';
import {useAssetDefinitionFilterState} from './useAssetDefinitionFilterState.oss';
import {useAssetSearch} from './useAssetSearch';
import {CloudOSSContext} from '../app/CloudOSSContext';
import {isCanonicalStorageKindTag} from '../graph/KindTags';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Colors, Icon, MenuDivider, MenuItem} from '@dagster-io/ui-components';
import {useContext, useState} from 'react';
import {AssetWipeDialog} from 'src/assets/AssetWipeDialog.oss';

import {AssetWipeDialog} from './AssetWipeDialog.oss';
import {CloudOSSContext} from '../app/CloudOSSContext';
import {usePermissionsForLocation} from '../app/Permissions';
import {AssetKeyInput} from '../graphql/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export const RunActionsMenu = React.memo(({run, onAddTag, additionalActionsForRu
download
href={`${rootServerURI}/download_debug/${run.id}`}
/>
{/* @ts-ignore - This can be null in OSS without cloud aliases */}
{runMetricsEnabled && RunMetricsDialog ? (
<MenuItem
tagName="button"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const RunHeaderActions = ({run, isJob}: {run: RunFragment; isJob: boolean
onClick={() => setVisibleDialog('queue-criteria')}
/>
) : null}
{/* @ts-ignore - This can be null in OSS without cloud aliases */}
{runMetricsEnabled && RunMetricsDialog ? (
<MenuItem
tagName="button"
Expand Down
1 change: 1 addition & 0 deletions js_modules/dagster-ui/packages/ui-core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@dagster-io/ui-components": ["../ui-components/src"]
},
Expand Down

0 comments on commit e84020c

Please sign in to comment.