appbaseio / mirage

:art: GUI for simplifying Elasticsearch Query DSL
http://opensource.appbase.io/mirage
Other
2.21k stars 123 forks source link

Data View and Query View button take me to appbase.io #32

Closed fizerkhan closed 7 years ago

fizerkhan commented 7 years ago

I installed mirage as plugin to my local elasticsearch. In the Mirage GUI, When I click "Data View" button, it goes to http://opensource.appbase.io/dejavu/live/#?input_state=. But it should go to local dejavu. By the way, I also installed dejavu locally.

Similarly, Query view button in dejavu takes to appbase.io mirage. But it should goes to local machine. Is there way to configure it?

siddharthlatest commented 7 years ago

@fizerkhan The host name is what will change from the hosted app URL if you intend to use it with the local plugin. That said, we are considering how to integrate them more fluidly.

fizerkhan commented 7 years ago

@siddharthlatest You mean it is intended?

weewey commented 6 years ago

Is it possible we can point the Data View and Query View to take me to the locally installed deja vu?

I have tried to change the code at mirage/app/result/result.component.ts and mirage/app/shared/urlShare.ts

to point it to http://localhost:1358/live/

siddharthlatest commented 6 years ago

@weewey The challenge is that we can't tell when a user has them locally installed. You should be able to trivially replace the host name of the shared URL with localhost and it should work.

welchwilmerck commented 5 years ago

Could you be more specific about how I might "trivially replace the host name of the shared URL"? Do you mean under the share icon on the far left? I can edit, but it doesn't save my changes.

I've gone with the chrome extension for both dejavu and mirage, so how do I get them to point to each other instead of appbase.io?