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

Open
opened 2 months ago 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 2 months ago
Owner

@dpschen Didn't we talk about this recently?

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

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

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

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

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/frontend#2727
Loading…
There is no content yet.