strands-project / strands_ui

User interfaces for the robots.
2 stars 14 forks source link

Modal dialogue without close button #99

Closed cdondrup closed 8 years ago

cdondrup commented 8 years ago

@marc-hanheide I think that the modal dialogue for the webserver should not have a close button because we want to permanently overlay the current webpage when the robot is under maintenance for example. There might be cases where we want to use that to inform the user about something and leave it to them to close the box or not but when triggered to inform about system events, I think it should be possible to have a dialogue without the close button to make sure it is always visible.

I tried doing that by just repeatedly publishing to the topic with show=True but that works only in 50% of the cases. After closing it a few times the dialogues do not appear any more and the webpage has to be reloaded to enable them again.

cdondrup commented 8 years ago

Ok, the close button is now gone (thank you!) but the dialogue still closes when you click anywhere on the page. Can that be fixed as well?

Didn't notice that one before, sorry.

marc-hanheide commented 8 years ago

release is underway.

cdondrup commented 8 years ago

See comment above.

marc-hanheide commented 8 years ago

oh, dear... I didn't know. That needs further investigation...

marc-hanheide commented 8 years ago

ok... need to implement this: http://stackoverflow.com/questions/22207377/disable-click-outside-of-bootstrap-model-area-to-close-modal but I'll have to go now so it'll have to wait a bit.

cdondrup commented 8 years ago

That's fine. Thank you!

marc-hanheide commented 8 years ago

and released again, now with static dialog (can only be removed with a reload of the website, but there' nothing we can do and it irrelevant, I'd say)