Skip to content

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

Merge branch 'dev' into feature/54733-primerise-the-activity-panel

jjabari-opec33bc09de93
diff --cc config/initializers/feature_decisions.rb
index 1ce52338739,2b8ee714164..4a14e7a891e
--- a/config/initializers/feature_decisions.rb
+++ b/config/initializers/feature_decisions.rb
@@@ -38,7 -38,8 +38,10 @@@ require_relative "../../lib_static/open
# initializer 'the_engine.feature_decisions' do
# OpenProject::FeatureDecisions.add :some_flag
# end
+
+OpenProject::FeatureDecisions.add :primerized_work_package_activities
OpenProject::FeatureDecisions.add :built_in_oauth_applications,
description: "Allows the display and use of built-in OAuth applications."
+
+ OpenProject::FeatureDecisions.add :custom_field_of_type_hierarchy,
+ description: "Allows the use of the custom field type 'Hierarchy'."
diff --cc frontend/src/global_styles/primer/_overrides.sass
index 5f9eb36f1b5,7fe48e178ab..5051c4ea5ac
--- a/frontend/src/global_styles/primer/_overrides.sass
+++ b/frontend/src/global_styles/primer/_overrides.sass
@@@ -91,22 -94,7 +94,26 @@@ sub-header
&:hover
background: var(--header-item-bg-hover-color)
color: var(--header-item-font-hover-color)
+
+// Prototypical CKEditor adjustments to better match Primer styles
+.ck-editor-primer-adjusted
+ .ck-toolbar
+ border-radius: var(--borderRadius-medium) var(--borderRadius-medium) 0px 0px!important
+ .document-editor__editable-container
+ background: var(--bgColor-default)
+ border-radius: 0px 0px var(--borderRadius-medium) var(--borderRadius-medium)
+ .ck-content
+ background: var(--bgColor-default)
+ overflow-y: auto
+ border-radius: var(--borderRadius-medium)!important
+ margin: 5px
+ .CodeMirror
+ border-radius: 0px 0px var(--borderRadius-medium) var(--borderRadius-medium)
+ .ck-editor__preview
+ border-radius: 0px 0px var(--borderRadius-medium) var(--borderRadius-medium)
+ .op-ckeditor--wrapper
- margin-bottom: 0px
++ margin-bottom: 0px
+
+ // Todo: Remove once https://github.com/primer/view_components/pull/3087 is merged
+ .FormControl-spacingWrapper
+ row-gap: var(--stack-gap-normal)