zunnzunn / vue-ganttastic

Simple, interactive and highly customizable Gantt chart component for Vue 3
https://zunnzunn.github.io/vue-ganttastic/
584 stars 145 forks source link

Label rows in left, current time marker and week precision #102

Closed Pedrocanoas closed 7 months ago

Pedrocanoas commented 7 months ago

Hey folks!

This PR brings the functionality of placing the row labels in a separate column to the left, instead of being next to the bars

31 -> Placing line labels to the left

Some examples of how the functionality looked: 2024-03-09_20-20 2024-03-09_20-19

I apologize, but I just noticed that this PR has the same changes as before (https://github.com/zunnzunn/vue-ganttastic/pull/101) Anyone to help ?

zunnzunn commented 7 months ago

@Pedrocanoas Since I haven't been working on this repo for a while, I got the urge to step in and address all the aforementioned issues together with you. A pleasant collaboration with you! :smile: When using precision="week", the calendar weeks follow the US standard of starting on Sunday (hence, at the moment of writing this comment, the calendar week is 12 instead of 11). It makes more sense to stick to the more formal ISO-8601 standard by default and ideally provide a prop for toggling that behavior.

zunnzunn commented 7 months ago

The formatting of the tooltip text for precision="week" as well as the position of the time marker (at the moment of writing this comment, it's Sunday, March 17th, which should be at the end of week 11, not at the beginning) need to be fixed: image

zunnzunn commented 7 months ago

Alright, we are done here! New release with these features coming next week!

Pedrocanoas commented 7 months ago

Alright, we are done here! New release with these features coming next week!

I am happy to collaborate with this project and for having accepted my features. I hope to continue contributing to the open source community