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

Missing icons when the panels can´t communicate with the web server #84

Open
acaproni opened this issue Oct 11, 2018 · 5 comments
Open

Comments

@acaproni
Copy link
Member

I received this email from Erich and filed this ticket:

I noticed a small bug (maybe) in the IAS GUI. I had this weather station (see attachment) in nice colours on my screen, but then when I disconnected from the VPN, it correctly figured out that the alarms are now invalid, but the necessary icons are not available.

screen shot 2018-10-11 at 14 17 09

@acaproni acaproni added the bug label Oct 11, 2018
@sfehlandt
Copy link
Contributor

The description indicates that the application looses connection not only with the webserver but with the whole application. What happens here is that the javascript keeps running but does not receive any Alarm and hence it makes them invalid.

Since the VPN is closed the javascaript has no access to the icons of the invalid Alarms (located in the static files of the ias-display). This is normal behaviour in a web application that looses connection with its static files.

In short, this is not a bug. And hence I am closing it now.

@acaproni
Copy link
Member Author

Is there a way to pre-load the icons?
I think we already discussed to show the missing of the conncetion with the web server somewhere in the panels

@acaproni acaproni reopened this Oct 16, 2018
@sfehlandt
Copy link
Contributor

Maybe, but it is irrelevant. We can add something to indicate there is no connection but this is simply how internet works. We could find a workaround I guess but given the time frame we have I think we should not do it.

@sfehlandt sfehlandt removed the bug label Oct 16, 2018
@acaproni
Copy link
Member Author

I agree that with will not be able to do it in a short time; however we keep this ticket open as a todo for the future.

I was thinking that the display could simply turn the menu bar in the upper side in red when the connection is lost.

@acaproni acaproni reopened this Oct 16, 2018
@sfehlandt
Copy link
Contributor

I would open another ticket for that because it is another feature and we would not be fixing the issues with the icons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants