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
fix eslint and rubocop errors
bsatarnejad37190e9267dd
diff --git a/frontend/src/app/core/html/op-title.service.ts b/frontend/src/app/core/html/op-title.service.tsindex 11f79816b0d..c4b1f0bfb82 100644--- a/frontend/src/app/core/html/op-title.service.ts+++ b/frontend/src/app/core/html/op-title.service.ts@@ -24,7 +24,7 @@ export class OpTitleService {this.titleService.setTitle(parts.join(titlePartsSeparator));}- public prependFirstPart(value:string) {+ public prependFirstPart(value:string):void {const parts = this.titleParts;parts.unshift(value);diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts b/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.tsindex 62b01aa5fdd..a4f6d8a1a27 100644--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-partitioned-page.component.ts@@ -3,7 +3,6 @@ import {ChangeDetectorRef,Component,Injector,- OnDestroy,} from '@angular/core';import {DynamicComponentDefinition,@@ -153,8 +152,7 @@ export class BoardPartitionedPageComponent extends UntilDestroyedMixin {readonly apiV3Service:ApiV3Service,readonly boardFilters:BoardFiltersService,readonly Boards:BoardService,- readonly titleService:OpTitleService,- ) {+ readonly titleService:OpTitleService,) {super();}diff --git a/spec/features/notifications/notification_center/split_screen_spec.rb b/spec/features/notifications/notification_center/split_screen_spec.rbindex 7e376b2498e..097834b475b 100644--- a/spec/features/notifications/notification_center/split_screen_spec.rb+++ b/spec/features/notifications/notification_center/split_screen_spec.rb@@ -83,26 +83,27 @@ describe "Split screen in the notification center", type: :feature, js: true dosplit_screen.expect_empty_stateend- it 'should show the correct html title while opening and closing the split view' do+ it 'can show the correct html title while opening and closing the split view' doglobal_html_title.expect_first_segment 'Notifications'- # The split view should be opened and html title should change+ # The split view should be opened and html title should change+ first_title = "#{work_package.type.name}: #{work_package.subject} (##{work_package.id})"center.click_item notification- global_html_title.expect_first_segment "#{work_package.type.name}: #{work_package.subject} (##{work_package.id})"+ global_html_title.expect_first_segment first_title# The split view should be closed and html title should change to the previous titlesplit_screen.closeglobal_html_title.expect_first_segment 'Notifications'# Html title should be updated with next WP data after making the current one as read+ second_title = "#{second_work_package.type.name}: #{second_work_package.subject} (##{second_work_package.id})"center.click_item notificationcenter.mark_notification_as_read notification- global_html_title.expect_first_segment "#{second_work_package.type.name}: #{second_work_package.subject} (##{second_work_package.id})"+ global_html_title.expect_first_segment second_title# After making all notifications as read, html title should show the base routecenter.mark_notification_as_read second_notificationglobal_html_title.expect_first_segment 'Notifications'-endend