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

no initial help mode on grid creation

ulferts653003efdb17
diff --git a/frontend/src/app/modules/grids/grid/area.service.ts b/frontend/src/app/modules/grids/grid/area.service.ts
index 8ef04094281..946524fdc31 100644
--- a/frontend/src/app/modules/grids/grid/area.service.ts
+++ b/frontend/src/app/modules/grids/grid/area.service.ts
@@ -37,8 +37,6 @@ export class GridAreaService {
this.numRows = this.resource.rowCount;
this.numColumns = this.resource.columnCount;
- this.helpMode = this.isNewlyCreated;
-
this.buildAreas(true);
}
@@ -119,12 +117,8 @@ export class GridAreaService {
return this.numRows === 1 && this.numColumns === 1 && this.widgetResources.length === 0;
}
- private get isNewlyCreated() {
- return moment(moment.utc()).diff(moment(this.resource.createdAt), 'seconds') < 20;
- }
-
public get inHelpMode() {
- return this.helpMode;
+ return this.helpMode || this.isSingleCell;
}
public toggleHelpMode() {