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.
2020-01-21 18:19:06 +00:00
Luca Giovannesi
b5298229c8
Add center button to GPS map
2019-06-26 01:21:20 +02:00
TedNV
e08ae3c6b4
adding support for mapproxy
2018-11-26 16:29:38 -08:00
Pawel Spychalski (DzikuVx)
aa90466847
GPS tab refactoring
2018-11-10 20:32:03 +01:00
Pawel Spychalski (DzikuVx)
9b58be1987
OpenLayers and OpenStreetMap instead of Google Maps
2017-03-09 22:20:05 +01:00
Pawel Spychalski (DzikuVx)
37738ac269
adaptive intervals
2017-01-25 21:13:58 +01:00
Pawel Spychalski (DzikuVx)
35adb962fb
load balancing on oter tabs
2017-01-22 20:49:40 +01:00
Pawel Spychalski (DzikuVx)
297ad70c5d
dynamic polling interval on receiver page
2017-01-22 19:57:27 +01:00
Pawel Spychalski (DzikuVx)
a6ad0887b3
packet drop on more tabs
2017-01-21 14:29:25 +01:00
Pawel Spychalski (DzikuVx)
3f196a9505
MSP_STATUS removed from manual pulls
2017-01-18 19:54:26 +01:00
Pawel Spychalski (DzikuVx)
d1483e5e26
tab tasks unified
2017-01-18 16:50:35 +01:00
Pawel Spychalski (DzikuVx)
d1fcb81017
timing methods extracted to separate classes
2017-01-18 15:54:45 +01:00
Pawel Spychalski (DzikuVx)
1bb6850c24
Merge remote-tracking branch 'origin/master' into osd-support
2016-12-15 00:18:35 +01:00
Konstantin Sharlaimov (DigitalEntity)
2946004ccf
Add support for MSP_SENSOR_STATUS if firmware version is gte 1.5
2016-12-12 14:07:17 +10:00
Pawel Spychalski (DzikuVx)
18a00dedf8
MSP refactoring
2016-11-29 19:47:47 +01:00
Konstantin Sharlaimov (DigitalEntity)
85457b98be
Remove ACC_TRIM read command. Improve GPS fix handling
2016-05-05 20:05:39 +10:00
Konstantin Sharlaimov (DigitalEntity)
15dfc2ad41
Update GPS page
2016-05-05 10:06:52 +10:00
skaman82
0e0ebabc69
storing alternative code
2015-12-02 22:30:09 +01:00
NightHawk32
6e222ca73e
GPS map now only shows when a 3D fix is established
2015-12-02 16:14:20 -05:00
NightHawk32
6ae1cfd915
hide map, on init until GPS coords are valid
2015-12-02 15:44:17 -05:00
NightHawk32
e6e70c5b5f
GPS map checks for online status of the device,
...
BUGFIX: place marker on GPS position and center map
2015-12-02 15:38:39 -05:00
NightHawk32
f596abee0f
Map now shows up on satfix and updates the position of the marker
2015-12-01 16:00:37 -05:00
NightHawk32
938d8b522c
Added zoom function for GPS map
2015-11-30 17:41:24 -05:00
skaman82
ed005f23bb
further work on map functionality
2015-11-17 10:27:54 +01:00
skaman82
0b2c6a26d5
added: internet connection test in the gps tab
2015-11-16 11:31:57 +01:00
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.
2015-11-11 21:01:22 +00:00
Dominic Clifton
7bdd010eb0
Avoid using GPS commands for targets that do not have GPS support
...
compiled in.
2015-02-23 21:27:55 +00:00
Dominic Clifton
8257efffa8
Fix GPS MSP message code for GPS signal strength indicators.
2015-01-04 09:34:56 +00:00
cTn
df79edc0ad
fix gps distance to home not updating in GPS tab
2014-11-17 19:58:12 +01:00
cTn
e401b1ffce
renaming some of the appview hits
2014-10-30 12:33:39 +01:00
cTn
f9ff34fb8b
prevent re-sending analytics appview on tab re-initialization, add 1500ms delay on configuration save & reboot
2014-10-01 13:16:22 +02:00
cTn
5cd042ae9d
remove active_tab_ref, name some of the anonymous functions, cleanup
2014-10-01 12:58:09 +02:00
cTn
d7810e1bb6
make initial tab data request burst better comply with strict mode to prevent random race conditions
2014-08-14 16:48:16 +02:00
cTn
2753f354e0
polishing run
2014-08-12 16:05:22 +02:00
cTn
e27a194ec7
another refactor for global variables, bugfixes for logging tab initialization in strict mode
2014-08-12 15:51:31 +02:00
cTn
20e6ad0074
enable strict mode in couple more files
2014-08-09 20:01:17 +02:00
cTn
1885fba5a0
analytics overhaul
2014-07-16 12:59:12 +02:00
cTn
e49f4ea5ff
converting tab object initialization
2014-07-10 19:19:45 +02:00
cTn
799fc76c8e
hooking up all of the active_tab references
2014-07-10 18:51:02 +02:00
cTn
36c49dded7
gps in tabs
2014-07-10 18:27:04 +02:00
cTn
c6700a8588
equip all tab initializers with callback parameter (currently without hooks)
2014-07-09 16:12:37 +02:00
cTn
5abe7473f8
moving send_message routine to MSP object
2014-06-01 14:10:18 +02:00
cTn
3ce1296374
fix gps division
2014-05-20 21:01:44 +02:00
cTn
c6efcf1850
gps i18n support
2014-05-08 10:56:41 +02:00
cTn
2162a2b9d3
pre-enable i18n for all html content in tabs
2014-05-06 16:48:46 +02:00
cTn
c3aa3a3fab
lat/lon values in gps tab are now gmap links
2014-05-06 02:08:55 +02:00
cTn
46f72b344e
correct assignments
2014-05-04 13:27:12 +02:00
cTn
745e671615
display 3D fix status, widen the columns by 10px
2014-04-30 16:12:25 +02:00
cTn
74e9256e75
correcting MSP implementation, optimizations
2014-04-11 15:11:59 +02:00
cTn
8d6702c15e
lowering MSP_STATUS pull speed to 250ms
2014-03-30 11:51:16 +02:00