-
Notifications
You must be signed in to change notification settings - Fork 94
feat(x2a): show branch with icon and highlight #2314
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: main
Are you sure you want to change the base?
Conversation
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
elai-shalev
left a comment
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.
Cool!
|
I'll let @mareklibra merge if there is any UI edge case I'm not aware of |
| <br /> | ||
| {url} | ||
| <div className={classes.root}> | ||
| <span className={classes.chip}> |
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.
It would be better to use https://v4.mui.com/components/chips/ to stay aligned with the rest of the Backstage.
| })); | ||
|
|
||
| const GitBranchIcon = () => ( | ||
| <SvgIcon fontSize="small" viewBox="0 0 24 24"> |
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.
I can not find the icon in MUI, so this is good to use.
mareklibra
left a comment
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.
Better to use existing components if possible
Signed-off-by: Eloy Coto <[email protected]>
|



Small change on how to see the branch, is a bit cleaner for the end user: