Skip to content

Commit ed4af08

Browse files
committed
Tweaks to recovery notification, require user callsign
1 parent 0beae1b commit ed4af08

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,16 @@ <h2><i class="icon-question rfloat"></i>Welcome</h2>
9393
<div id="motda">
9494
<h4>Radiosondes?</h4>
9595
To learn more check out our
96-
<a href="https://www.youtube.com/watch?v=YBy-bXEWZeM" target="_blank">Linux.conf.au video</a>.
96+
<a href="https://www.youtube.com/watch?v=YBy-bXEWZeM" target="_blank">LCA video</a>.
9797

9898
<h4>How do I receive?</h4>
9999
Set up a receiver station using
100-
<a href="https://github.com/projecthorus/radiosonde_auto_rx/wiki" target="_blank">radiosonde_auto_rx</a>.
100+
<a href="https://github.com/projecthorus/radiosonde_auto_rx/wiki" target="_blank">auto_rx</a>.
101101
<br/>
102102
<b>Note that you must be running at least <a href="https://github.com/projecthorus/radiosonde_auto_rx/releases" target="_blank">v1.5.1</a> to show up on Sondehub v2!</b>
103+
104+
<h4>Recovered a Sonde?</h4>
105+
Click the 'car' icon on the top-right to submit a recovery notification.
103106

104107
<h4>Support Us!</h4>
105108
Google Maps and AWS hosting unfortunately does not come cheap. If you're seeing a greyed out map, that's because we've exceeded our free Google Maps page loads. <br/>
@@ -110,6 +113,7 @@ <h4>Amateur HAB Launches?</h4>
110113

111114
<h4>SondeHub Status Page</h4>
112115
You can find the status of the SondeHub Database on the <a href="https://sondehub.org/go/status" target="_blank">SondeHub Status Page</a>.
116+
113117
</div>
114118
<br/>
115119
<h2>Under Beta!</h2>
@@ -118,7 +122,7 @@ <h2>Under Beta!</h2>
118122
<br/>
119123
This site uses data from the <a href="https://github.com/projecthorus/sondehub-infra/wiki" target="_blank">SondeHub v2</a> database, which will remove the radiosonde
120124
load from the Habitat tracking database. We are still working to being this tracker up to feature-parity with the previous
121-
tracker, so some features like recovered sonde icons and filtering by serial and type are still in-progress.
125+
tracker, so some features like filtering by serial and type are still in-progress.
122126
<br/>
123127
Chase Cars can show up on the map using this tracker's chase-car features (look for the car icon at top-right)
124128
or upload their position from <a href="https://github.com/projecthorus/chasemapper" target="_blank">Chasemapper</a>.
@@ -305,11 +309,9 @@ <h2>Chase car mode</h2>
305309
<span>Speed</span>
306310
<span class="r" id="cc_speed">none</span>
307311
</div>
312+
<hr>
308313
<h3>Payload Recovery</h3>
309314
<hr>
310-
<div class="row">
311-
<span><b>Under Testing - Not Yet Functional!</b></span>
312-
</div>
313315
<div class="row">
314316
<span>You can mark a sonde as recovered using the following fields. Enter the serial number (manually, as a check), tick recovered/not recovered, and add some notes. You must have location enabled and be within 50km of the radiosonde position.</span>
315317
</div>

js/chasecar.lib.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ ChaseCar.markRecovered = function(){
8585

8686
// We are close enough!
8787
_callsign = $("#cc_callsign").val().trim();
88+
if (_callsign == "" || _callsign == undefined || _callsign.length == 0)
89+
{
90+
$('#pr_last_report').text("Enter a callsign!");
91+
return;
92+
}
93+
8894
_notes = $("#pr_notes").val().trim();
8995

9096
if($("#sw_use_car_pos").hasClass('on')){

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3008,7 +3008,7 @@ function updateRecoveryMarker(recovery) {
30083008
html += "<div><b>Time:&nbsp;</b>"+formatDate(stringToDateUTC(recovery.datetime))+"</div>";
30093009
html += "<div><b>Reported by:&nbsp;</b>"+recovery.recovered_by+"</div>";
30103010
html += "<div><b>Notes:&nbsp;</b>"+$('<div>').text(recovery.description).html()+"</div>";
3011-
html += "<div><b>Flight Path:&nbsp;</b><a href='https://sondehub.org/card/"+recovery.serial+"'>"+recovery.serial+"</a></div>";
3011+
html += "<div><b>Flight Path:&nbsp;</b><a href='https://sondehub.org/card/"+recovery.serial+"' target='_blank'>"+recovery.serial+"</a></div>";
30123012

30133013
html += "</div>";
30143014

0 commit comments

Comments
 (0)