Commit Graph

15 Commits (92e043e74ff038eb9448472fa5d5873e93139c61)

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) 5258bbdd6d Properly send all URLs from Landing Page 5 years ago
Pawel Spychalski (DzikuVx) bb39007de4 Cleanup landing page 5 years ago
Pawel Spychalski (DzikuVx) c5df42cb49 mutiple small fixes so it does not hurts my eyes so much 8 years ago
skaman82 0880343488 Merge remote-tracking branch 'cleanflight/development' into GUI-rework
# Conflicts:
#	main.js
#	tabs/landing.js
9 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
Kristjan Vaga dd940ced62 Changelog tab rework for landing view. 9 years ago
skaman82 ae453edb42 Landing Tab rework 9 years ago
Michael Corcoran d89e9682c2 DFU: Make permissions compulsary, make DFU detection more robust 9 years ago
Michael Corcoran 8b029edbcf Enable flashing using USB-DFU protocol
For new boards like Tornado
9 years ago
Dominic Clifton d269d60391 Improve user experience by adding tabs for the welcome and firmware
flasher.

The welcome (aka 'landing') and firmware flasher were already modelled
as tabs but were never displayed as tabs.

The UI didn't make sense when the whether the welcome message or
firmware flasher was displayed since there was no active tab or other
indication.
10 years ago
cTn e401b1ffce renaming some of the appview hits 10 years ago
cTn f9ff34fb8b prevent re-sending analytics appview on tab re-initialization, add 1500ms delay on configuration save & reboot 10 years ago
cTn 5cd042ae9d remove active_tab_ref, name some of the anonymous functions, cleanup 10 years ago
cTn 4412f9c263 default and initial setup renamed to landing and setup, including object adjustments 10 years ago