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
adjusted notification dot color as requested by @psatyal
Jonas Jabari72d4a3f8ec79
diff --git a/app/components/work_packages/activities_tab/journals/item_component.html.erb b/app/components/work_packages/activities_tab/journals/item_component.html.erbindex 75ea47a133c..95a14a1a3e0 100644--- a/app/components/work_packages/activities_tab/journals/item_component.html.erb+++ b/app/components/work_packages/activities_tab/journals/item_component.html.erb@@ -31,7 +31,12 @@header_container.with_column(flex_layout: true, align_items: :center) do |header_end_container|if has_unread_notifications?header_end_container.with_column(mr: 2, pt: 1) do- render(Primer::Beta::Octicon.new(:"dot-fill", color: :accent, size: :medium, data: { test_selector: "op-journal-unread-notification" }))+ render(Primer::Beta::Octicon.new(+ :"dot-fill", # color is set via CSS as requested by UI/UX Team+ classes: "work-packages-activities-tab-journals-item-component--notification-dot-icon",+ size: :medium,+ data: { test_selector: "op-journal-unread-notification" }+ ))endendheader_end_container.with_column dodiff --git a/app/components/work_packages/activities_tab/journals/item_component.sass b/app/components/work_packages/activities_tab/journals/item_component.sassindex 9d32dd8f26e..0fc00ea2e01 100644--- a/app/components/work_packages/activities_tab/journals/item_component.sass+++ b/app/components/work_packages/activities_tab/journals/item_component.sass@@ -7,5 +7,7 @@&--user-name@media screen and (min-width: $breakpoint-sm)max-width: 40%+ &--notification-dot-icon+ color: var(--bgColor-accent-emphasis)diff --git a/app/components/work_packages/activities_tab/journals/item_component/details.rb b/app/components/work_packages/activities_tab/journals/item_component/details.rbindex 9b4f84a61fd..6cb3546250f 100644--- a/app/components/work_packages/activities_tab/journals/item_component/details.rb+++ b/app/components/work_packages/activities_tab/journals/item_component/details.rb@@ -134,8 +134,10 @@ module WorkPackagesdef render_notification_bubble(container)container.with_column(mr: 2) dorender(Primer::Beta::Octicon.new(- :"dot-fill", color: :accent, size: :medium,- data: { test_selector: "op-journal-unread-notification" }+ :"dot-fill", # color is set via CSS as requested by UI/UX Team+ classes: "work-packages-activities-tab-journals-item-component-details--notification-dot-icon",+ size: :medium,+ data: { test_selector: "op-journal-unread-notification" }))endenddiff --git a/app/components/work_packages/activities_tab/journals/item_component/details.sass b/app/components/work_packages/activities_tab/journals/item_component/details.sassindex 20c962ddc25..185bf390c85 100644--- a/app/components/work_packages/activities_tab/journals/item_component/details.sass+++ b/app/components/work_packages/activities_tab/journals/item_component/details.sass@@ -40,4 +40,6 @@// quick hack to adapt the current detail rendering to desired primerised designifont-style: normal- color: var(--fgColor-muted, var(--color-fg-subtle))\ No newline at end of file+ color: var(--fgColor-muted, var(--color-fg-subtle))+ &--notification-dot-icon+ color: var(--bgColor-accent-emphasis)\ No newline at end of file