-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Popup "Change component class" could have "don't show again" checkbox? #483
Comments
I think "don't ask again in this session" is a nice idea. But an even better idea, that maybe would work even better (depending on how you did these 10 changes) would be to support "Change Class..." operation when multiple components have been selected. While I hesitate about the "don't ask again" / "don't ask again in this session" UX, I am 100% confident that we want to have all possible editor operations support multi-selection. So if you changed 10 components to the same class, by clicking 10 times "Change Class..." -- I would like to address it by instead having "Change Class..." available when you have multiple components selected. As long as components have the same "category" (only TCastleTransform descendants, only TCastleUserInterface descendants), and no component is a child of another, then we could change the class of 10 components in one go. Of course support for multi-selection in "Change Class..." would not mean we cannot also add "don't ask again" / "don't ask again in this session" checkbox. |
Well, in my usecase it was changing 4 buttons from So, e.g. when I'll want to replace (all) my buttons for some |
As for operating on multi-selection being dangerous: agreed, it changes more. But then, it is also comfortable and idea of working on entire selection is understood by users. That's why we have undo (which now works OK for "change class..." too) :) In this case, I would not make another warning, but I would extend existing dialog, like adding there paragraph "Note that the operation will change XXX selected components." Anyhow, having checkbox "don't ask again in this session" is also a good idea, I guess both are. I would welcome PR for both of these :) Where "this session" would simply imply the simplest, global Boolean in EditorUtils unit that always starts at Note that if you want to change all buttons really fast, nothing will really beat a search+replace on all .castle-user-interface files, like |
Currently every time when we change a component class, we show a popup. Well, if someone needs to change a lot of components then it's getting quite tedious always closing this popup, I've just had to change 10 - and it's already annoying. Often it's done by a checkbox "never show again", but that might be not as straightforward to implement (then we'll need some Settings like "reset all warning poups"). Maybe "don't ask again in this session" could work better?
The text was updated successfully, but these errors were encountered: