leelokas / vacation_tracker

3 stars 3 forks source link

Create a better calendar view for end date when creating new request #124

Open lucyhilltop opened 7 years ago

lucyhilltop commented 7 years ago

when creating a vacation request, end date should be moved to first available date (including month)

lucyhilltop commented 7 years ago

Steve Mägi: "samal ajal kui kalendrist valid ajavahemiku, siis võiks näidata kui pikk see ajavahemik on ja näidata palju on veel jäänud päevi puhata kui selline ajavahemik valida"

leelokas commented 7 years ago

Implemented the first comment.

tjoosep commented 6 years ago

Made watcher function for Steve Mägi's comment. UI implementation needs discussion

leelokas commented 6 years ago

Function needs to watch for startDate changes too. The calculation is currently always off by 1 day - when startDate == endDate then vm.vacation.selectedVacationLength should be 1 not 0.

lucyhilltop commented 5 years ago

Decided to not implement Mägi's comment. It'll be sufficiently addressed in #159