-
Notifications
You must be signed in to change notification settings - Fork 384
RI-7213: replace EuiImage with img tag #4760
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
base: fe/feature/RI-7039-replace-eui
Are you sure you want to change the base?
RI-7213: replace EuiImage with img tag #4760
Conversation
Code Coverage - Frontend unit tests
Test suite run success4829 tests passing in 632 suites. Report generated by 🧪jest coverage report action from 76a8ac9 |
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.
Pull Request Overview
This PR replaces all instances of the EuiImage component from Elastic UI with a custom RiImage component. The change maintains visual consistency while replacing the external dependency with an internal implementation.
- Removes EuiImage imports and replaces with RiImage from internal components
- Creates a new RiImage component with size variants (s, m, l, xl, original, fullWidth)
- Updates the display components index to export the new RiImage component
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
redisinsight/ui/src/pages/rdi/statistics/empty/Empty.tsx | Replace EuiImage with RiImage for empty pipeline icon |
redisinsight/ui/src/pages/rdi/home/empty-message/EmptyMessage.tsx | Replace EuiImage with RiImage for empty message icon |
redisinsight/ui/src/pages/home/components/empty-message/EmptyMessage.tsx | Replace EuiImage with RiImage for database empty state |
redisinsight/ui/src/pages/browser/components/virtual-tree/VirtualTree.tsx | Replace EuiImage with RiImage for loading icon |
redisinsight/ui/src/pages/browser/components/no-keys-found/NoKeysFound.tsx | Replace EuiImage with RiImage for telescope image |
redisinsight/ui/src/components/oauth/shared/oauth-advantages/OAuthAdvantages.tsx | Replace EuiImage with RiImage for Redis logo |
redisinsight/ui/src/components/oauth/oauth-sign-in-button/OAuthSignInButton.tsx | Replace EuiImage with RiImage for sign-in button logo |
redisinsight/ui/src/components/base/display/index.ts | Export new RiImage component |
redisinsight/ui/src/components/base/display/image/image.styles.ts | Define styled components and types for RiImage |
redisinsight/ui/src/components/base/display/image/RiImage.tsx | Implement RiImage component |
Simply replacing EuiImage with img tag, no difference visually.