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

have done Henriette comments

bsatarnejad4e2a687cb109
diff --git a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
index 0d14a0052a8..4f89b849f05 100644
--- a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.sass
@@ -1,6 +1,11 @@
+@import 'src/assets/sass/helpers'
+
.op-assignee-board-header
display: flex
op-principal
align-self: center
padding-right: 5px
+
+ .editable-toolbar-title--fixed
+ @include board-header-editable-toolbar-title
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
index e69de29bb2d..1a535843eef 100644
--- a/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/status/status-board-header.sass
@@ -0,0 +1,6 @@
+@import 'src/assets/sass/helpers'
+
+.op-status-board-header
+
+ .editable-toolbar-title--fixed
+ @include board-header-editable-toolbar-title
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
index e69de29bb2d..ae890f8f739 100644
--- a/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/subproject/subproject-board-header.sass
@@ -0,0 +1,6 @@
+@import 'src/assets/sass/helpers'
+
+.op-subproject-board-header
+
+ .editable-toolbar-title--fixed
+ @include board-header-editable-toolbar-title
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
index 27afadd5ae7..03a9cf467c4 100644
--- a/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/subtasks/subtasks-board-header.sass
@@ -1,6 +1,9 @@
-// Override line-height for proper
-// display of the h2 + small
+@import 'src/assets/sass/helpers'
+
.op-subtask-board-header
&--work-package-type
- padding-right: 0.5rem
\ No newline at end of file
+ padding-right: 0.5rem
+
+ .editable-toolbar-title--fixed
+ @include board-header-editable-toolbar-title
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
index 7d88da92194..7c7556a5c72 100644
--- a/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
+++ b/frontend/src/app/features/boards/board/board-actions/version/version-board-header.sass
@@ -1,3 +1,8 @@
+@import 'src/assets/sass/helpers'
+
.op-version-board-header
display: flex
flex-direction: column
+
+ .editable-toolbar-title--fixed
+ @include board-header-editable-toolbar-title
\ No newline at end of file
diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.sass b/frontend/src/app/features/boards/board/board-list/board-list.component.sass
index d1b85f879b9..6a85d042e5b 100644
--- a/frontend/src/app/features/boards/board/board-list/board-list.component.sass
+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.sass
@@ -9,7 +9,7 @@ $board-list-max-width: 300px
flex-direction: column
&:hover
- .op-board-list--menu
+ &--menu
visibility: visible
&--action-bar
@@ -61,10 +61,10 @@ $board-list-max-width: 300px
// it is important that second container is limited in the height, so that it is scrollable.
grid-template: 34px minmax(0, 1fr) / 1fr
-// Make the button sticky so that it does not scroll,
-// Unfortunately we cannot let the card container scroll because there seem to be a Chrome bug,
-// which takes the scrollbar sometimes into the width calculation and sometimes not.
-// Thus, the button is sometimes wider than the cards, and sometimes not.
+ // Make the button sticky so that it does not scroll,
+ // Unfortunately we cannot let the card container scroll because there seem to be a Chrome bug,
+ // which takes the scrollbar sometimes into the width calculation and sometimes not.
+ // Thus, the button is sometimes wider than the cards, and sometimes not.
&--button-container
background-color: var(--body-background)
position: sticky
diff --git a/frontend/src/global_styles/layout/_boards.sass b/frontend/src/global_styles/layout/_boards.sass
index d90a698db16..db573c708cb 100644
--- a/frontend/src/global_styles/layout/_boards.sass
+++ b/frontend/src/global_styles/layout/_boards.sass
@@ -6,6 +6,3 @@
#content
height: 100%
-
- .editable-toolbar-title--fixed
- line-height: 1 !important
\ No newline at end of file
diff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sass
index e8895387bee..523df0ba664 100644
--- a/frontend/src/global_styles/openproject/_mixins.sass
+++ b/frontend/src/global_styles/openproject/_mixins.sass
@@ -222,3 +222,6 @@ $scrollbar-size: 10px
border: 0
font: inherit
text-align: inherit
+
+@mixin board-header-editable-toolbar-title
+ line-height: 1 !important
diff --git a/modules/boards/spec/features/support/board_page.rb b/modules/boards/spec/features/support/board_page.rb
index 5f47bd977ec..780128bcd09 100644
--- a/modules/boards/spec/features/support/board_page.rb
+++ b/modules/boards/spec/features/support/board_page.rb
@@ -288,12 +288,7 @@ module Pages
end
def expect_editable_list(editable)
- # Add list button
- if action?
- expect(page).to have_conditional_selector(editable, '[data-qa-selector="op-board-list--card-dropdown-add-button"]')
- else
- expect(page).to have_conditional_selector(editable, '[data-qa-selector="op-board-list--card-dropdown-add-button"]')
- end
+ expect(page).to have_conditional_selector(editable, '[data-qa-selector="op-board-list--card-dropdown-add-button"]')
end
def rename_board(new_name, through_dropdown: false)