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

Reduce min-width of split screen to 530p again as the original increase reason is obsolete due to the refactoringof the split view design

Henriette Dargefeb540a43e05
diff --git a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
index 59ca53ab785..425a90a6513 100644
--- a/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
+++ b/frontend/src/app/features/in-app-notifications/bell/in-app-notification-bell.component.ts
@@ -26,7 +26,7 @@ export class InAppNotificationBellComponent {
polling$ = timer(10, POLLING_INTERVAL)
.pipe(
filter(() => this.activeWindow.isActive),
- switchMap(() => this.inAppService.fetchCount()),
+ switchMap(() => this.inAppService.fetchUnreadCount()),
);
unreadCount$ = merge(
diff --git a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.query.ts b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.query.ts
index adaf78acc65..0573d9e3a2e 100644
--- a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.query.ts
+++ b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.query.ts
@@ -61,7 +61,7 @@ export class InAppNotificationsQuery extends QueryEntity<InAppNotificationsState
/** Do we have any notification that shall be visible the notification center? */
hasNotifications$ = this.selectCount().pipe(map((count) => count > 0));
- /** Determine whether the pageSize is not sufficient to load all notifcations */
+ /** Determine whether the pageSize is not sufficient to load all notifications */
hasMoreThanPageSize$ = this
.select()
.pipe(
diff --git a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
index 956008290c3..f3c40b7ae0b 100644
--- a/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
+++ b/frontend/src/app/features/in-app-notifications/store/in-app-notifications.service.ts
@@ -29,7 +29,7 @@ export class InAppNotificationsService {
.pipe(debounceTime(0))
.subscribe(() => {
this.fetchNotifications();
- this.fetchCount();
+ this.fetchUnreadCount();
});
}
@@ -62,7 +62,7 @@ export class InAppNotificationsService {
return call;
}
- fetchCount():Observable<number> {
+ fetchUnreadCount():Observable<number> {
const { activeFilters } = this.query.getValue();
return this
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.html
index 589621eb936..f76a5e0ee43 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.html
@@ -1,5 +1,5 @@
<button
- (click)="markAllBelongingWPsAsRead()"
+ (click)="markAllBelongingNotificationsAsRead()"
[attr.title]="text.mark_as_read"
[ngClass]="buttonClasses"
class="button">
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.ts b/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.ts
index 6dcfd1417d2..9567dbd5b43 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-mark-notification-button/work-package-mark-notification-button.component.ts
@@ -25,7 +25,7 @@ export class WorkPackageMarkNotificationButtonComponent {
) {
}
- markAllBelongingWPsAsRead():void {
+ markAllBelongingNotificationsAsRead():void {
this.ianService.markAllRead();
}
}
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.ts
index c48ce66f618..d34daf2c890 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
@@ -142,7 +142,7 @@ export class ActivityPanelBaseController extends UntilDestroyedMixin implements
);
}
- public toggleComments() {
+ public toggleComments():void {
this.onlyComments = !this.onlyComments;
this.updateActivities(this.unfilteredActivities);
diff --git a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
index 5803e5c34cc..accef8dafbf 100644
--- a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
+++ b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
@@ -69,7 +69,7 @@ export class WpResizerDirective extends UntilDestroyedMixin implements OnInit, A
private resizer:HTMLElement;
// Min-width this element is allowed to have
- private elementMinWidth = 645;
+ private elementMinWidth = 530;
public moving = false;
diff --git a/frontend/src/global_styles/layout/work_packages/_details_view.sass b/frontend/src/global_styles/layout/work_packages/_details_view.sass
index 92fcd18805f..60349645bc2 100644
--- a/frontend/src/global_styles/layout/work_packages/_details_view.sass
+++ b/frontend/src/global_styles/layout/work_packages/_details_view.sass
@@ -49,8 +49,8 @@ body.router--work-packages-partitioned-split-view-new
height: 100%
position: relative
width: 100%
- // Min-width is actually 645px but the border already needs 2px
- min-width: 643px
+ // Min-width is actually 530px but the border already needs 2px
+ min-width: 528px
@media only screen and (max-width: 1280px)
@at-root
diff --git a/frontend/src/global_styles/layout/work_packages/_full_view.sass b/frontend/src/global_styles/layout/work_packages/_full_view.sass
index 784061be285..2bf9cf716df 100644
--- a/frontend/src/global_styles/layout/work_packages/_full_view.sass
+++ b/frontend/src/global_styles/layout/work_packages/_full_view.sass
@@ -96,7 +96,7 @@
line-height: calc(var(--work-package-details--tab-height) - 10px)
.work-packages-full-view--split-right
- min-width: 645px
+ min-width: 530px
overflow-y: scroll
overflow-x: auto
position: relative