Conversation
# Objective `UiRect` is confusingly named (nothing it represents is a rectangle) and we have a consensus (afaik) that `Frame` is the best alternative. `UiFrame` could also be okay, if `Frame` seems ambiguous. # Changelog * `UiRect` is renamed to `Frame` # Migration Guide `UiRect` has been renamed to `Frame`.
…lt_equals_const_default`
# Objective `UiRect` is confusingly named (nothing it represents is a rectangle) and we have a consensus (afaik) that `Frame` is the best alternative. `UiFrame` could also be okay, if `Frame` seems ambiguous. # Changelog * `UiRect` is renamed to `Frame` # Migration Guide `UiRect` has been renamed to `Frame`.
|
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
|
@TimJentzsch @nicoburns for review please :) |
TimJentzsch
left a comment
There was a problem hiding this comment.
Definitely better than UiRect:D
|
Not sure about |
I can see what you mean, but won't it be obvious from the context that it means a geometric frame? |
|
Cart's previously stated that "Bevy is treated as a global namespace", which I think that |
Yeah I can see that in a global namespace |
|
I thought this would be an easily accepted non-controversial obvious improvement but I've come around to agreeing with hymm now. @alice-i-cecile |
|
I think close this out and merge the other two :) |
|
BTW, the word you are looking for is |
Objective
UiRectis confusingly named (nothing it represents is a rectangle) and we have a consensus (as far as I can tell) thatFrameis the best alternative.If
Frameseems ambiguous (not so much internally but with concepts from foreign UI apis),UiFramecould also be okay.Alternative proposal: #7710
Changelog
UiRectis renamed toFrameMigration Guide
UiRecthas been renamed toFrame.