frePPLe / frepple

frePPLe - open source supply chain planning
https://frepple.com
Other
524 stars 248 forks source link

Dynamic menus, based on prerequisite objects #203

Closed jdetaeye closed 7 years ago

jdetaeye commented 7 years ago

Some tables depend on others. When the parent table is still empty, the dependent table should be completely hidden from all menus.

jdetaeye commented 7 years ago

implemented in community and enterprise editions

hichamlahlou commented 7 years ago

I have two remarks : Is is technically possible/simple to deactivate a menu when no item is in the menu ? For instance when starting an empty frePPLe, there is nothing under inventory menu, I would prefer seeit deactivated : image

Second remark and probably more difficult, would it be possible to remove the separation bars when one side of the bar has no item ?

image

hichamlahlou commented 7 years ago

Also, if I have an empty database (where very little menus are activated) and I import a fixture, the menus don't get updated. I need to refresh my screen to have the menus activated visible.

jdetaeye commented 7 years ago

Is is technically possible/simple to deactivate a menu when no item is in the menu ? Second remark and probably more difficult, would it be possible to remove the separation bars when one side of the bar has no item ?

these are easy and valid.

Also, if I have an empty database (where very little menus are activated) and I import a fixture, the menus don't get updated. I need to refresh my screen to have the menus activated visible.

That's a "feature", I'm afraid. The UI doesn't really know when a task finishes in the background (either plan generation, emptying db, or loading db), and it doesn't automatically trigger a screen refresh. Only solution would be a complete screen refresh rather than only a grid refresh every 5 seconds - which I don't see a valid alternative

jdetaeye commented 7 years ago

fixed the first issue

hichamlahlou commented 7 years ago

Perfect. Refresh to be discussed orally.