OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove `border_box_with_id` custom patch
Aaron Contrerase71f6b698c43
diff --git a/app/components/op_primer/component_helpers.rb b/app/components/op_primer/component_helpers.rbindex 208f8e7834e..19c1d888db2 100644--- a/app/components/op_primer/component_helpers.rb+++ b/app/components/op_primer/component_helpers.rb@@ -44,21 +44,6 @@ module OpPrimerrender(OpPrimer::ComponentCollectionComponent.new(**), &)end- # There is currently no available system argument for setting an id on the- # rendered <ul> tag that houses the row slots on Primer::Beta::BorderBox components.- # Setting an id is required to be able to uniquely identify a target for- # TurboStream +insert+ actions and being able to prepend and append to it.- def border_box_with_id(id, **, &)- border_box = Primer::Beta::BorderBox.new(**)-- new_list_arguments = border_box.instance_variable_get(:@list_arguments)- .merge(id:)-- border_box.instance_variable_set(:@list_arguments, new_list_arguments)-- render(border_box, &)- end-def border_box_row(wrapper_arguments, &)if containercontainer.with_row(**wrapper_arguments, &)