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
Attempt to load the primer_view_component.js
Henriette Dargeb4d17711fa45
diff --git a/app/views/my/settings.html.erb b/app/views/my/settings.html.erbindex 6662fa901d4..019884236e9 100644--- a/app/views/my/settings.html.erb+++ b/app/views/my/settings.html.erb@@ -42,4 +42,5 @@ See COPYRIGHT and LICENSE files for more details.</fieldset><%= call_hook(:view_my_settings, user: @user, form: f) %><%= styled_button_tag t(:button_save), class: '-highlight -with-icon icon-checkmark' %>+<%= render(Primer::Beta::ClipboardCopy.new(value: 'COPY ME', "aria-label": 'TEST')) %><% end %>diff --git a/config/initializers/assets.rb b/config/initializers/assets.rbindex 3f68c893d43..c62c1c0d1c7 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/app/assets/javascripts/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');