The mode ordering and mode categories now use the same object. This now means that the categories will be correct, regardless of which modes are enabled or disabled by the firmware.
I was going over the modes and thought that the mode order could be tweaked to be a bit better.
I also had a request to add dividers for the different types of modes. I added some dividers. The will disappear when the unused modes are hidden.
This adds functionality that shows when a mode is in range, not just currently active on the flight controller.
It also has an indicator to show when ACRO mode would be enabled.
Sorts the mode order to be more intuitive in Configurator. It groups modes with similiar modes, to make setting and checking the modes easier in Configurator.
The modes are ordered by:
Arm
Flight modes
Nav modes
Flight mode extenders
Navigation
Fixed Wing specific
Multirotor specific
Feedback (buzzer/LEDs)
OSD
Camera
Misc
This is a part fix for issue #963
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.
add peripherals column on ports page
fixed ports page will show the rcsplit with apiversion less 1.27.0
move the modeName adjust function to peripherals.js, and add failsafe modename not update when rcsplit available
cleanup
clean up