mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[#72945] Default action button scheme in Header
Adds `DEFAULT_ACTION_SCHEME` (`:default`) to `Header` so callers no longer need to pass `scheme:` for standard header buttons. Updates Lookbook preview and Backlogs sprint component to use the new default. https://community.openproject.org/wp/72945
This commit is contained in:
@@ -39,7 +39,7 @@ module OpenProject
|
||||
) do |list|
|
||||
list.with_header(title: "Things we're building", count: true) do |header|
|
||||
header.with_description { "There's lots to look forward to" }
|
||||
header.with_action_button(scheme: :invisible) do |button|
|
||||
header.with_action_button do |button|
|
||||
button.with_leading_visual_icon(icon: :pencil)
|
||||
"Edit"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user