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

[HMS-5265]: Replace edge widget with a new image-builder #655

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/dashboard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Dashboard with widgets is displayed', () => {
'landing-recentlyVisited-widget',
'chrome-favoriteServices-widget',
'landing-openshiftAi-widget',
'landing-edge-widget',
'landing-imageBuilder-widget',
'landing-acs-widget',
];

Expand Down
4 changes: 4 additions & 0 deletions fec.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ module.exports = {
__dirname,
'src/components/widgets/edge-widget.tsx'
),
'./ImageBuilderWidget': path.resolve(
__dirname,
'src/components/widgets/image-builder-widget.tsx'
),
'./RhelWidget': path.resolve(
__dirname,
'src/components/widgets/rhel-widget.tsx'
Expand Down
17 changes: 17 additions & 0 deletions src/components/widgets/image-builder-widget.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import { SimpleServiceWidget } from './simple-service-widget';

const ImageBuilderWidget: React.FunctionComponent = () => {
return (
<>
<SimpleServiceWidget
id={3}
body="Create customized system images for disks, VMs, and cloud platforms. Image Builder automates configurations, saving you time and ensuring consistent, deployment-ready images every time."
linkTitle="Images"
url="/insights/image-builder"
/>
</>
);
};

export default ImageBuilderWidget;