-
Notifications
You must be signed in to change notification settings - Fork 409
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
Move entity filter "edit" button to a section header icon #6662
Conversation
… and `SectionCollapsingHeader`
91aa7ef
to
b09294e
Compare
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.
so pretty! both the ui and the code improvement of having an ItemButton
concept
use crate::{list_item, DesignTokens, Icon, UiExt as _}; | ||
|
||
/// Icon button to be used in the header of a panel. | ||
pub struct HeaderMenuButton<'a> { |
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.
didn't I review this being moved just a few hours ago 😄
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.
That pesky thing had a short—but intense—life :)
What
ui.large_collapsing_header
intore_ui::SectionCollapsingHeader
usingre_ui::ListItem
#6657This PR is mainly a refactor that abstract the buttons used by
PropertyContent
andSectionCollapsingHeader
. (This refactor is partial and should also be applied toLabelContent
-> #6191).This enables action button in section header, used to remove the "edit" button of the entity filter:

Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.