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

Merge remote-tracking branch 'origin/dev' into fix/32133/show-loading-indicator-until-timeline-rendered

Oliver Günthere6200adcf855
diff --cc frontend/src/app/components/wp-table/timeline/container/wp-timeline-container.directive.ts
index 41e18828fec,82e8a82fbd6..e388a5a768d
--- a/frontend/src/app/components/wp-table/timeline/container/wp-timeline-container.directive.ts
+++ b/frontend/src/app/components/wp-table/timeline/container/wp-timeline-container.directive.ts
@@@ -219,12 -240,25 +218,12 @@@ export class WorkPackageTimelineTableCo
// The header is the only one reliable, as it already has the final width.
const currentWidth = this.$element.find(timelineHeaderSelector)[0].scrollWidth;
this.outerContainer.width(currentWidth);
- });
- }
- // Mark rendering event in a timeout to let DOM process
- updateOnWorkPackageChangesets() {
- this.states.workPackages.observeChange()
- .pipe(
- takeUntil(componentDestroyed(this)),
- filter(() => this.initialized && this.wpTableTimeline.isVisible),
- filter(([wpId, ]) => this.cellsRenderer.hasCell(wpId))
- )
- .subscribe(([wpId, ]) => {
- const viewParamsChanged = this.calculateViewParams(this._viewParameters);
- if (viewParamsChanged) {
- this.refreshRequest.putValue(undefined);
- } else {
- // Refresh the single cell
- this.cellsRenderer.refreshCellsFor(wpId);
- }
++ // Mark rendering event in a timeout to give DOM some time
+ setTimeout(() => {
+ this.querySpace.timelineRendered.next(null);
});
+ });
}
startAddRelationPredecessor(start:WorkPackageResource) {