-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Revert "Use icon exit for close buttons" #40546
Conversation
This reverts commit 758a71d.
This makes no sense at all. The change you are reverting here is the icon change NOT the text. When you create a new article then the text has always been Cancel The only thing the pr did was to change the icon that went with the text. |
@obuisard this will fix the problem: return $this->standardButton('cancel', $text, $task)->icon('icon-exit'); This will keep old tookbar-cancell ID but use new icon, from the linked PR. |
@brianteeman not quite. It changed the button name. By default the icon is ‘icon-$name’). Hence the icon changed too. But the name also changed the ID of the button which caused test failures in 4.0. I think @Fedik ‘s solution here is correct |
yes I see that and I agree with @Fedik However Allon is saying that the label has changed #40167 (comment) |
The label hasn’t changed. @chmst tracked that down in the maintainers group earlier. Allon was wrong about that |
it was only 30 minutes ago that he said that :( |
The fix from Fedir @Fedik is a good solution but looking at it more closely, brought up to the surface some inconsistencies we have in the toolbars (for instance, we have a 'close' button instead of 'cancel' when creating a new category). |
Perhaps I did change the branches too fast and the labels are still the same. Then it is my fault. But the other statement from me is still valid. This should not go into a patch release. |
This comment was marked as outdated.
This comment was marked as outdated.
Well, ignore my last comment :) |
What discussion is needed - this has been the behaviour for a very very long time without issue. The only issue was regarding the icon clashing with the delete icon. Modules dont have the seperate concept of new and edit. Only components do |
Thanks Olivier |
Reverts #40167
Should be something that would be handled in 5.0 rather than in a bug fix release.