mint-metrics / mojito-chrome-inspector

Chrome extension to inspect and configure Mojito experiments.
https://mojito.mx/
GNU General Public License v3.0
3 stars 2 forks source link

Toggle between staging & production containers #5

Open kingo55 opened 4 years ago

kingo55 commented 4 years ago

We could allow users to redirect between production and staging containers using Chrome's webRequest API.

https://developer.chrome.com/extensions/webRequest

This would allow us to remove Requestly as a dependency:

https://chrome.google.com/webstore/detail/requestly-redirect-url-mo/mdnleldcmiljblolnjhpnblkcekpdkpa

dapperdrop commented 4 years ago

Good idea. Perhaps the UI to support it would look like:

image

Top: default state, no redirect/override in place Bottom: Overriding redirect active - user sets the URL

These fields sit somewhere in the header section (above the table) in the UI.