Commit Graph

8 Commits (d6a5992d97ebd7964c96ee6cb8bcc56f2b994334)

Author SHA1 Message Date
Alberto García Hierro 0e01133fc9 Make tab loading async safe and add a small animation
Tab loading was relying on replacing the contents of '#content'
with the loading indicator, then replacing it with the loading tab
content and blocking rendering until the tab was ready by not
yielding. This is problematic for tabs that load some data
asynchronously, like PID and OSD.

Instead, put the loading indicator in front of everything else
and load new content inside '#content' next to the loading indicator
(but without showing it). Once the content and data are fully loaded
we fade out the loading indicator with a 0.4s long animation and
then we remove. This works for both synchronous and asynchonous
loading of tabs.
5 years ago
Pawel Spychalski (DzikuVx) 3f196a9505 MSP_STATUS removed from manual pulls 8 years ago
Pawel Spychalski (DzikuVx) d1483e5e26 tab tasks unified 8 years ago
Pawel Spychalski (DzikuVx) d1fcb81017 timing methods extracted to separate classes 8 years ago
Pawel Spychalski (DzikuVx) 1bb6850c24 Merge remote-tracking branch 'origin/master' into osd-support 8 years ago
Konstantin Sharlaimov (DigitalEntity) 2946004ccf Add support for MSP_SENSOR_STATUS if firmware version is gte 1.5 8 years ago
Pawel Spychalski (DzikuVx) 18a00dedf8 MSP refactoring 8 years ago
Dominic Clifton 1a58bfcf82 Add Race Transponder configuration support.
Also cleans up i18n support for 'features' and adds tooltip support for
them on the configuration tab.
9 years ago