forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mr): routes etc and empty state for registered deployments
Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
85 additions
and
46 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
...pages/modelRegistry/screens/ModelVersionDetails/ModelVersionRegisteredDeploymentsView.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,22 @@ | ||
import * as React from 'react'; | ||
import { ModelVersion } from '~/concepts/modelRegistry/types'; | ||
import EmptyModelRegistryState from '~/pages/modelRegistry/screens/EmptyModelRegistryState'; | ||
|
||
type ModelVersionRegisteredDeploymentsViewProps = { | ||
modelVersion: ModelVersion; | ||
}; | ||
|
||
const ModelVersionRegisteredDeploymentsView: React.FC< | ||
ModelVersionRegisteredDeploymentsViewProps | ||
> = ({ modelVersion: mv }) => { | ||
// eslint-disable-next-line no-console | ||
console.log({ mv }); | ||
//TODO: implement component | ||
return ( | ||
<EmptyModelRegistryState | ||
title="No registered deployments" | ||
description="You can deploy this version using Actions dropdown in the header" | ||
/> | ||
); | ||
}; | ||
export default ModelVersionRegisteredDeploymentsView; |