Hello,
Before moving forward in my project, I clearly need help in order not to rush in the code and start something ridiculously complex while it could be easier to handle.
I describe here below what I have to deal with and would like advise on the best way to handle the task.
I have a DT with many products (let say 100 for example).
The user can choose one of them and will be able to perform some analysis based on his/her choice.
Once he has chosen the product, I would like him to click on a button and be redirected to a page with another dashboard that fully depends on the product he has chosen.
I coded the first dashboard to be able to perform the product selection with a couple of features but I am not sure how to handle the next step.
I would also like the user to be able to go back easily to the selection dashboard and analyse another product.
I thought about creating a menu item when the user clicks on an action button and he would be redirected directly to this menu item. However, I don't want my dashboardBody to be 1.000.000 lines long. Also, I don't want more than X menu items to be created. That looks messy and not optimal. Is there any way to code each tab item in a separate code or anything like this?
I also thought about using shiny.router to redirect the user to another page hosting a dashboard corresponding to the product he has chosen. Would that be possible? I have tried to test it but without success.
Any help appreciated! Have to go back to it tomorrow and I am a bit lost at the moment 
Thank you vm
Maxime