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
Automatically opening the next notification in combination with the automatic redirect on mobile lead to the next WP being shown when marking a notification as read on mobile
Henriette Dargebd7ebe0a9094
diff --git a/frontend/src/app/features/in-app-notifications/center/state/ian-center.service.ts b/frontend/src/app/features/in-app-notifications/center/state/ian-center.service.tsindex ef0b4e5c6e3..1c1cdf88ec9 100644--- a/frontend/src/app/features/in-app-notifications/center/state/ian-center.service.ts+++ b/frontend/src/app/features/in-app-notifications/center/state/ian-center.service.ts@@ -51,6 +51,7 @@ import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destrimport { UIRouterGlobals } from '@uirouter/core';import { StateService } from '@uirouter/angular';import idFromLink from 'core-app/features/hal/helpers/id-from-link';+import { DeviceService } from 'core-app/core/browser/device.service';@Injectable()@EffectHandler@@ -98,6 +99,7 @@ export class IanCenterService extends UntilDestroyedMixin {readonly toastService:ToastService,readonly uiRouterGlobals:UIRouterGlobals,readonly state:StateService,+ readonly deviceService:DeviceService,) {super();this.reload.subscribe();@@ -212,7 +214,10 @@ export class IanCenterService extends UntilDestroyedMixin {ids: activeCollection.ids.filter((activeID) => !action.notifications.includes(activeID)),},});- this.showNextNotification();++ if (!this.deviceService.isMobile) {+ this.showNextNotification();+ }}private sideLoadInvolvedWorkPackages(elements:InAppNotification[]):Promise<unknown> {