lucidworks / banana

Banana for Solr - A Port of Kibana
Other
668 stars 235 forks source link

Have several dashboards #248

Open rdubreui opened 9 years ago

rdubreui commented 9 years ago

Hi, I want to know if you are aware of the method to use for have two or three dashboard operational ; because I’m not. u_u

My project is: I have a Menu that is implemented over index.html and on this menu, the user will choose which dashboard he want to see.

But where is the path I have to change to go to dashboards/dashboard_one.json or dashboards/dashboard_two.json ? Do I have to have two service/dashboard.js ? two index.html ? May I have to make changes in partials/dashboard.html or in partials/dashloaders.html ?

My question can be resumed as: where does the service 'dashboard' (from services/dashboard.js) is called ? -- is it app/controllers/dashLoader.js ? (so which html is calling dashLoader.js ?) →I saw it was index.html. -- what is the link between dashLoader.js and dashboard.js ?

Thanks for your feedback.

elvissuarez commented 9 years ago

for call diferent dashboards try

BANANAURL/index/dashboar/file/mydashboard.json

remember that mydashboard.json must be in BANANADIR/app/dasboards directory