sentry-demos / empower

Monorepo for web app (Empower Plant) and its backend implementations in multiple languages/frameworks used in SE-demos, as well as for testing and sample events across the company. NOTE: used to be called "application-monitoring".
https://application-monitoring-react-dot-sales-engineering-sf.appspot.com/
1 stars 2 forks source link

[platform, react] Frontend reverts the backend to flask on reload #213

Open mattjohnsonpint opened 1 year ago

mattjohnsonpint commented 1 year ago

Start from the front-end React app, and add ?backend=aspnetcore to the URL. The whole experience should then be using the ASP.NET Core backend unless changed again. This works unless you reload a page. Then it reverts to Flask.

Demo:

https://github.com/sentry-demos/empower/assets/1396388/f74c3e66-b255-4940-92c9-f25104b588e1

realkosty commented 11 months ago

let me think how we want to go about this - Sales Engineers have a different use case where they demo different platforms all the time and use Flask as default backend. I imagine they are used to current behavior and even if we announce this change might forget to reset it before next demo. Maybe we could add a &defaultBackend= that's sticky based on user session and defaults to Flask (current behavior)?