Add VoltageLevelIcon component#1203
Conversation
Add a VoltageLevelIcon (kV symbol) to the shared icon set, rendered through the MUI SvgIcon API like the other symbol icons. Signed-off-by: Florent MILLOT <florent.millot_externe@rte-france.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a new ChangesNominalVoltageIcon addition
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| import { SvgIcon, type SvgIconProps } from '@mui/material'; | ||
| import VoltageLevel from '../../../images/voltage-level.svg?react'; | ||
|
|
||
| export function VoltageLevelIcon(props: SvgIconProps) { |
There was a problem hiding this comment.
Shouldn't it be NominalVoltageIcon ? Voltage levels are the plain equipments no ?
There was a problem hiding this comment.
This is the name our UX designer gave to this icon but I agree with you. I will change it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Florent MILLOT <florent.millot_externe@rte-france.com>
|
VoltageUnitIcon maybe ? In terms of business, it does not make much sense with VoltageLevel or NominalVoltage, kV is just the electrical unit of a voltage |
|



Overview
Add a
VoltageLevelIcon(a "kV" voltage-level symbol) to the shared icon set, so apps can reuse it like the other symbol icons.