Feature request: Gantt view: Width should scale with hours, not days #1997

Open
opened 2022-11-19 15:25:08 +00:00 by Yodbha · 4 comments

Version information:

Current (2022-11-19) try.vikunja

Steps to reproduce:

  1. Create task with almost 2 days duration. E.g. 2022-11-19T00:00 to 2022-11-20T23:59
  2. Switch to Gantt view

Expected behavior:

The task should span two days.

Actual behavior:

It spans one. Probably because it's not two full days. Possibly related to #2693.

**Version information:** Current (2022-11-19) try.vikunja **Steps to reproduce:** 1. Create task with almost 2 days duration. E.g. 2022-11-19T00:00 to 2022-11-20T23:59 2. Switch to Gantt view **Expected behavior:** The task should span two days. **Actual behavior:** It spans one. Probably because it's not two full days. Possibly related to #2693.
Owner

So it should round to the next day?

So it should round to the next day?
konrad added the
kind/feature
label 2022-11-21 11:23:50 +00:00
Owner

@dpschen Didn't we talk about this recently?

@dpschen Didn't we talk about this recently?
Member

Yes, didn't get to look at this in more detail yet.

Yes, didn't get to look at this in more detail yet.
Author

So it should round to the next day?

I guess it would be coolest to have it on sub-day increments. But for now rounding to the closest day should be fine. So floor if < 0.5 days, ceiling otherwise.

> So it should round to the next day? I guess it would be coolest to have it on sub-day increments. But for now rounding to the closest day should be fine. So floor if < 0.5 days, ceiling otherwise.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1997
No description provided.