goinvo / staffplan-next-app

Next App for Staffplan
https://staffplan-next-app.vercel.app
1 stars 1 forks source link

Green bars not showing up #107

Closed jsonin closed 1 month ago

jsonin commented 1 month ago

Week 3 should have 46 hours in the total staffplan graph bar (in green + since nobody has put in actuals yet)

image
zhukovdigital commented 1 month ago

@jsonin , Can u, please more detailed tell me, how correctly we should show total staffplan graph? Should it be green if it week in the past? We should show only total actual hours if they presents in the week? If actual hours are not present in the week - we should show Proposed/Signed hours? And what about the case when we have on one project of the week only proposed/signed hours and no actuals and on another project, we have actuals and Proposed?

jsonin commented 1 month ago

Bar behavior, simple (for now):

Proposed hours are the light green color, signed hours are the dark green color.…

If we wanted a fancier version of graph bar behavior for later: On this week or the previous weeks, show grey (actual) and green (proposed) bars, if I have entered actual hours but haven’t “reached” my planned number yet. More on this later.

zhukovdigital commented 1 month ago

@jsonin Got it and it`s already done with it, but need clarification for the bars in the row. Should we use the same logic? photo_2024-09-11_12-36-26 photo_2024-09-11_12-37-13

jsonin commented 1 month ago

Yes, the future is green (2 colors of green, like you have it). Anything in the past = Grey... on top timeline AND in the individual project and person rows.