Skip to content

Commit

Permalink
Fix context menu release checklist formating and casing of the `Hide/…
Browse files Browse the repository at this point in the history
…Show all` item
  • Loading branch information
abey79 committed Dec 16, 2024
1 parent 8466c45 commit 285797e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/re_context_menu/src/actions/show_hide.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl ContextMenuAction for ShowAction {

fn label(&self, ctx: &ContextMenuContext<'_>) -> String {
if ctx.selection.len() > 1 {
"Show All".to_owned()
"Show all".to_owned()
} else {
"Show".to_owned()
}
Expand Down Expand Up @@ -80,7 +80,7 @@ impl ContextMenuAction for HideAction {

fn label(&self, ctx: &ContextMenuContext<'_>) -> String {
if ctx.selection.len() > 1 {
"Hide All".to_owned()
"Hide all".to_owned()
} else {
"Hide".to_owned()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
==========================================================
ITEMS CONTEXT MENU CONTENT
==========================================================
2x Views Hide all
2x Views Hide all
Remove
Expand all
Expand All @@ -38,7 +38,7 @@
Expand all
Collapse all
==========================================================
View + 'box2d' data result Hide all
View + 'box2d' data result Hide all
Remove
Expand all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@
=================================================
ITEM CONTEXT MENU CONTENT
=================================================
view (tab title) Hide
view (tab title) Hide
Remove
Copy screenshot
Save screenshot…
Expand all
Collapse all
Expand All @@ -66,9 +69,12 @@
=================================================
ITEM CONTEXT MENU CONTENT
=================================================
view (child list) Hide
view (child list) Hide
Remove
Copy screenshot
Save screenshot…
Expand all
Collapse all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@
Move to new container
------------------------------------------------------------------
View Hide (or Show, depending on visibility)
View Hide (or Show, depending on visibility)
Remove
Copy screenshot
Save screenshot…
Expand all
Collapse all
Expand Down

0 comments on commit 285797e

Please sign in to comment.