-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Some icons improvements #4286
Some icons improvements #4286
Conversation
@bsekachev , I guess |
@bsekachev, I only mean that it looks better. It's up to you. |
cvat-ui/src/components/cloud-storages-page/empty-cloud-storages-list.tsx
Show resolved
Hide resolved
@@ -42,7 +42,7 @@ export default function ConstructorViewerItem(props: ConstructorViewerItemProps) | |||
onClick={(): void => onDelete(label)} | |||
onKeyPress={(): boolean => false} | |||
> | |||
<CloseOutlined /> | |||
<MinusCircleOutlined /> |
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 looks quite strange, guess the close icon looked more convenient and less distracting.
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.
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.
But I undestand you feeling about distracting, changed icon attract your attention for now because you are not used to it yet
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.
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.
@bsekachev , which software or products use circle with minus to remove something?
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.
Different options are possible: minus, trash icon, close icon. But in this specific case, I believe the best two are minus (like a pair for plus icon) and trash icon (looks well with edit icon and also very intuitive))
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.
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.
IMHO: Cross and trash bin look better. Minus in a circle looks like the stop sign. On Figma icons without circle and they are in one column. It makes them clear semantically.
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.
Let's use trash instead, I am ok with it.
@@ -329,7 +329,7 @@ export default class LabelForm extends React.Component<Props> { | |||
this.removeAttribute(key); | |||
}} | |||
> | |||
<CloseCircleOutlined /> | |||
<MinusCircleOutlined /> |
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.
Same there.
…ere is the same antd icon)
Motivation and context
To clean up icons, improve UX
in context when meaning is removing something from a list, because opposite action has PlusCircleOutlined iconDiscussed below )How has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.