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
Load primer_view_component.js via Frontend pipeline
Henriette Dargedbcffbb06bb3
diff --git a/app/views/layouts/_common_head.html.erb b/app/views/layouts/_common_head.html.erbindex 59cca706b4f..25fe7b680c4 100644--- a/app/views/layouts/_common_head.html.erb+++ b/app/views/layouts/_common_head.html.erb@@ -2,7 +2,6 @@<meta name="viewport" content="width=device-width"><%= output_title_and_meta_tags %><%= appsignal_frontend_tag %>-<%= javascript_include_tag("primer_view_components") %><% relative_url_root = OpenProject::Configuration['rails_relative_url_root'] || '' %><meta name="app_base_path" content="<%= relative_url_root %>"/>diff --git a/config/initializers/assets.rb b/config/initializers/assets.rbindex 3f68c893d43..0b65e3955d9 100644--- a/config/initializers/assets.rb+++ b/config/initializers/assets.rb@@ -3,5 +3,6 @@ OpenProject::Application.configure dofavicon.icolocales/*.jsopenapi-explorer.min.js+ primer_view_components.js)enddiff --git a/frontend/src/app/core/setup/init-vendors.ts b/frontend/src/app/core/setup/init-vendors.tsindex 34798453595..f1e277e9fd6 100644--- a/frontend/src/app/core/setup/init-vendors.ts+++ b/frontend/src/app/core/setup/init-vendors.ts@@ -70,3 +70,5 @@ require('expose-loader?I18n!core-vendor/i18n');// Localization for fullcalendarrequire('@fullcalendar/core/locales-all');++require('@primer/view-components/app/assets/javascripts/primer_view_components.js');