goinvo / staffplan-next-app

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

Fill Forward only filling current week, needs to fill all visible weeks in the future #105

Open jsonin opened 2 weeks ago

jsonin commented 2 weeks ago
image
zhukovdigital commented 2 weeks ago

@jsonin clicking this btn with arrow should populate all visible inputs throw the row?

jsonin commented 2 weeks ago

Yes, exactly. Press arrow -> populates all visible inputs (with 0 or whatever number you put in).

jsonin commented 1 week ago

nice-to-have: if there is a project end date, fill to the end of the project. [note: we'll need to have some common/knowable behavior to the fill-forward, and this changes the behavior]. TBD

zhukovdigital commented 4 days ago

@jsonin I think we can use the same logic with estimated weekly hours when we adding a person to a project and set the weekly hours for assignment, what do you think about it?

jsonin commented 4 days ago

So I get the idea... the fill forward adjusts to the end-of-the-project, if someone set the week the project ends?

zhukovdigital commented 4 days ago

So I get the idea... the fill forward adjusts to the end-of-the-project, if someone set the week the project ends?

Yup, I think it`s rather logically.

jsonin commented 4 days ago

That works. If there is a pre-set "end of project" date, the fill fills up to that end date. If there is no pre-set "end of project" date, the fill only fills up the visible weeks in the current screen. Cool

jsonin commented 4 days ago

BTW, Fill is a higher priority issue... since it's also acting like a lite-delete (if you were to use 0s)...

zhukovdigital commented 4 days ago

BTW, Fill is a higher priority issue... since it's also acting like a lite-delete (if you were to use 0s)...

Got it, It will be the first task I work on.