-
Notifications
You must be signed in to change notification settings - Fork 41
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
base: master
Are you sure you want to change the base?
Conversation
@@ -1,17 +1,17 @@ | |||
import React from 'react'; | |||
import { SimpleServiceWidget } from './simple-service-widget'; | |||
|
|||
const EdgeWidget: React.FunctionComponent = () => { | |||
const ImagesWidget: React.FunctionComponent = () => { |
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.
since you added a new widget in a separate file, I don't think we need to keep this one any longer.
you will also need to add the new widget to the dashboard.cy.ts cypress E2E test.
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.
Thanks @aferd 👍
I removed Edge
Also I updated the dashboard template
RedHatInsights/chrome-service-backend#749
fec.config.js
Outdated
@@ -45,9 +45,9 @@ module.exports = { | |||
__dirname, | |||
'src/components/widgets/explore-capabilities.tsx' | |||
), | |||
'./EdgeWidget': path.resolve( |
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.
If we remove the widget, it will break existing dashboards as they will still reference the old one. We need both widgets until a migration is done to customized dashboard.
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.
Makes sense, let's keep these two widget and update just the default dashboard layout.
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.
The e2e tests will fail until the default layout is updated and published.
Description
This PR replaces the outdated Edge service widget with a new widget showcasing the "Image Builder" service. The updated widget should provide a clear, concise description of Image Builder's capabilities and include a link for the service.
Screenshots
Before:
After:
Checklist ☑️