Commit Graph

13 Commits (a23b29a935ba6e4cc0bdd3af6e0f541daa481167)

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
Michel Pastor 1b453762a1 Fix bug in MSP_ACTIVEBOXES decoding
In JS `(1<<32) == 1` so it was causing an issue when the FC was advertising
more than 32 mode boxes
6 years ago
Konstantin Sharlaimov (DigitalEntity) d75796d4dd Make sure we request MSP_ACTIVEBOXES when we enter modes tab 7 years ago
Konstantin Sharlaimov (DigitalEntity) 16a23cd39a Support more than 32-bits of modes using MSP_ACTIVEBOXES API 7 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 d73196ea11 Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files
into gui.js, where it fits better.
9 years ago
Dominic Clifton 502cf718ab Update backup/restore functionality so that it restores adjustments,
auxiliary settings and channel forwarding (per-profile).  Add "Warning
Cell Voltage" to the UI.
10 years ago
cTn 0cd315b5e7 rename files to better correspond to their specific tabs 10 years ago