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
Add styles for activity tab notifications
Benjamin Bädorff58da1a952dd
diff --git a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.htmlindex 5c9905511a7..d5813e659b8 100644--- a/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html+++ b/frontend/src/app/features/work-packages/components/wp-activity/revision/revision-activity.component.html@@ -5,8 +5,8 @@<div class="comments-number"><span*ngIf="hasUnreadNotification"- class=""- >U</span>+ class="op-bubble"+ ></span><activity-link[workPackage]="workPackage"[activityNo]="activityNo"diff --git a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.htmlindex d9978198de2..f6a50f57983 100644--- a/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html+++ b/frontend/src/app/features/work-packages/components/wp-activity/user/user-activity.component.html@@ -23,8 +23,8 @@<div class="comments-number"><span*ngIf="hasUnreadNotification"- class=""- >U</span>+ class="op-bubble"+ ></span><activity-link[workPackage]="workPackage"[activityNo]="activityNo"diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.tsindex 82a347cf3d1..04672243624 100644--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/activity-panel/activity-base.controller.ts@@ -93,7 +93,7 @@ export class ActivityPanelBaseController extends UntilDestroyedMixin implementspageSize: NOTIFICATIONS_MAX_SIZE,filters: [[ 'resourceId', '=', [ this.workPackageId ] ],- [ 'resourceType', '=', [ 'work_package' ] ],+ [ 'resourceType', '=', [ 'WorkPackage' ] ],],},),diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-notifications-count.function.ts b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-notifications-count.function.tsindex ff25bb23ca2..7f38e0276e5 100644--- a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-notifications-count.function.ts+++ b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-notifications-count.function.ts@@ -20,7 +20,7 @@ export function workPackageNotificationsCount(pageSize: NOTIFICATIONS_MAX_SIZE,filters: [[ 'resourceId', '=', [ wpId ] ],- [ 'resourceType', '=', [ 'work_package' ] ],+ [ 'resourceType', '=', [ 'WorkPackage' ] ],],},)diff --git a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sassindex e0a6fd4e291..a0a9e4d7299 100644--- a/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass+++ b/frontend/src/app/shared/components/tabs/tab-badges/tab-count.component.sass@@ -8,5 +8,6 @@min-height: 1remvertical-align: 0.1rempadding: 0 0.15rem 0 0.15rem- background: var(--light-gray)+ background: darkred+ color: whitefont-weight: bold\ No newline at end of filediff --git a/frontend/src/global_styles/common/bubble/bubble.sass b/frontend/src/global_styles/common/bubble/bubble.sassnew file mode 100644index 00000000000..bedb146032d--- /dev/null+++ b/frontend/src/global_styles/common/bubble/bubble.sass@@ -0,0 +1,4 @@+.op-bubble+ @include indicator-bubble+ background: darkred+diff --git a/frontend/src/global_styles/common/openproject-common.module.sass b/frontend/src/global_styles/common/openproject-common.module.sassindex ec6e307b0f3..b334c68eb6b 100644--- a/frontend/src/global_styles/common/openproject-common.module.sass+++ b/frontend/src/global_styles/common/openproject-common.module.sass@@ -2,6 +2,7 @@@import 'menu/menu'@import 'input/input'@import 'link/link'+@import 'bubble/bubble'@import '../../app/shared/components/forms'@import '../../app/shared/components/option-list/option-list'@import 'export-options/export-options'diff --git a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass b/frontend/src/global_styles/content/work_packages/tabs/_activities.sassindex c1f74d3dcb2..6eada1288ae 100644--- a/frontend/src/global_styles/content/work_packages/tabs/_activities.sass+++ b/frontend/src/global_styles/content/work_packages/tabs/_activities.sass@@ -55,6 +55,11 @@line-height: 16pxtext-align: right+ // These are dirty, hacky styles until we've a better understanding of what thsi should look like+ .op-bubble+ margin-right: 0.2rem+ transform: scale(0.8)+.comments-iconspadding: 0text-align: right