Skip to content

fix: improve gantt rendering#8013

Merged
grnd-alt merged 1 commit into
mainfrom
fix/improve-gantt-rendering
Jun 4, 2026
Merged

fix: improve gantt rendering#8013
grnd-alt merged 1 commit into
mainfrom
fix/improve-gantt-rendering

Conversation

@grnd-alt
Copy link
Copy Markdown
Member

@grnd-alt grnd-alt commented Jun 3, 2026

this is mainly a workaround to make the gantt chart usable for bigger boards, we should put some effort into this issue upstream frappe/gantt#486

@grnd-alt grnd-alt requested a review from luka-nextcloud as a code owner June 3, 2026 14:38
Signed-off-by: grnd-alt <git@belakkaf.net>
@grnd-alt grnd-alt force-pushed the fix/improve-gantt-rendering branch from 862b221 to f0457fd Compare June 4, 2026 10:10
Comment on lines +213 to +214
switch (this.currentViewMode) {
case 'Hour':
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💄 indentation looks odd on Github (tabs vs spaces?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently, the lint:fix wants case and switch on the same column...

const duedate = new Date(card.duedate)
switch (this.currentViewMode) {
case 'Hour':
if (duedate < new Date() - 2 * 24 * 3600 * 1000) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so cards from the past are cut off, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes only from the past

@grnd-alt
Copy link
Copy Markdown
Member Author

grnd-alt commented Jun 4, 2026

/backport to stable34

@grnd-alt grnd-alt merged commit d53cbb2 into main Jun 4, 2026
39 of 44 checks passed
@grnd-alt grnd-alt deleted the fix/improve-gantt-rendering branch June 4, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants