Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI misbehaves when deploying new version of the App #868

Closed
2opremio opened this issue Jan 28, 2016 · 4 comments
Closed

UI misbehaves when deploying new version of the App #868

2opremio opened this issue Jan 28, 2016 · 4 comments
Assignees
Labels
component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer

Comments

@2opremio
Copy link
Contributor

To test the 0.12 release in ECS, I started by deploying the current stable version (0.11.1), opening the UI to see everything was working properly and then deployed the 0.12 candidate without closing the browser.

This is the UI talking to version 0.1.1

screen shot 2016-01-28 at 10 59 22

This is what happened after deploying the 0.12 candidate without manually reloading the UI. The version tag in the UI updated but the detail panel doesn't work (there's an infinite spinning wheel) because the detail panel data structures changed in 0.12 but the the javascript files were not reloaded (i.e. the browser still had the ones from 0.11.1):

screen shot 2016-01-28 at 11 02 52

This is understandable to certain extent, but the UI didn't work after reloading the page either.

I needed to do an "Empty Cache and Hard-reload" in Chrome to make it work, which is strange because I see that all the javascript files (at least in 0.12) are served with cache-control:no-cache

An easy solution would be forcing a UI-reload when a version change is detected but I don't know if that would solve the caching problem.

@2opremio 2opremio added the component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer label Jan 28, 2016
@2opremio 2opremio changed the title Scope UI misbehaves when redeploying new version of the App Scope UI misbehaves when deploying new version of the App Jan 28, 2016
@2opremio 2opremio changed the title Scope UI misbehaves when deploying new version of the App UI misbehaves when deploying new version of the App Jan 28, 2016
@davkal
Copy link
Contributor

davkal commented Feb 4, 2016

Yeah, that is an important issue. Let's do bundle fingerprinting and display an info message when a change in version in /api is detected.

@pidster
Copy link
Contributor

pidster commented Mar 7, 2016

Would it be preferable to consider this to be part of an API versioning & compatibility problem?

@tomwilkie tomwilkie removed this from the 0.14.0 milestone Mar 17, 2016
@davkal davkal removed their assignment Apr 12, 2016
@2opremio
Copy link
Contributor Author

This is still a problem when upgrading the app, even after #1354

In the example below, the app is using Scope 0.15, which introduced the search-bar. However, the search bar is missing ...

screen shot 2016-05-20 at 4 50 26 pm

... and it only started appearing after wiping the cache and hard reload.

This is particularly important for the service, during the upgrade of the user apps from 0.13.1 to 0.15 the UI completely stopped working.

@2opremio 2opremio added this to the 0.16.0 milestone May 20, 2016
@davkal davkal self-assigned this Jun 13, 2016
@tomwilkie tomwilkie removed this from the 0.16.0 milestone Jun 14, 2016
@davkal
Copy link
Contributor

davkal commented Jun 14, 2016

Stand-alone scope is not affected anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Projects
None yet
Development

No branches or pull requests

4 participants