Skip to content

Commit 88ae1bb

Browse files
cconard96stonebuzz
andauthored
Add hours to day zoom (#103)
* add hours to day zoom * Update CHANGELOG.md --------- Co-authored-by: Stanislas <[email protected]>
1 parent c76f53b commit 88ae1bb

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [UNRELEASED]
8+
9+
## [Unreleased]
10+
11+
### Added
12+
13+
- Added hours to Days zoom level
914

1015
### Fixed
1116

1217
- Milestone sticker not visible
1318
- Fix CSS since `dhtmlx-gantt` update to `9.0`
1419
- Hide breadcrumb container in fullscreen mode with horizontal layout
1520

16-
1721
## [1.1.1] - 2024-07-09
1822

1923
### Fixed

js/gantt-helper.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,10 @@ const GlpiGantt = (function() {
191191
{
192192
name: "day",
193193
scale_height: 27,
194-
min_column_width: 80,
194+
min_column_width: 30,
195195
scales: [
196-
{ unit: "day", step: 1, format: "%d %M" }
196+
{ unit: "day", step: 1, format: "%d %M" },
197+
{ unit: "hour", step: 2, format: "%H" }
197198
]
198199
},
199200
{

0 commit comments

Comments
 (0)