Add detached service windows and selectable terminal themes
Support standalone APRS, Monitor, Chat and Terminal views with courtesy screens, window focus and return controls, shared sessions and suspended embedded polling. Add five persistent phosphor palettes, remove Console terminal idle disconnections, and display decoded Mic-E movement and altitude with expandable original packets. Document the new behavior and add regression coverage. Validation: 182 tests passed; the known hanging PowerShell startup readiness test was excluded.
This commit is contained in:
1 parent
8ee4e9636a
commit
c98c67e18b
24 files changed
+415
-22
No files matched your search
@@ -112,3 +112,14 @@ test('APRS opens at a 30 km radius and refresh does not reset a manually selecte
|
||||
h.fixture.fitLocal();assert.equal(l.state.fits,3);
|
||||
data.own.position=null;h.fixture.setData(data);h.fixture.renderMap();assert.equal(h.$('#aprs-map-local').disabled,true);h.fixture.fitLocal();assert.equal(l.state.fits,3);
|
||||
});
|
||||
|
||||
|
||||
test('APRS popups show decoded Mic-E values and keep encoded bytes only in a collapsed original-packet detail',()=>{
|
||||
const h=harness('aprs-activity.js','globalThis.fixture={popup,stationDescription};');
|
||||
const body='`'+String.fromCharCode(127)+'^U!n^>/"5J}';
|
||||
const s={...station('N0TEST'),status:'',lastBody:body};
|
||||
const description=h.fixture.stationDescription(s);assert.equal(description,'Mic-E · 107 km/h · 266° · Quota 142 m');
|
||||
const html=h.fixture.popup(s);assert.match(html,/<details class="aprs-raw-packet"><summary>Pacchetto originale/);
|
||||
assert.ok(html.includes(String.fromCharCode(92)+'x7f'));assert.ok(!html.includes(String.fromCharCode(127)));
|
||||
assert.equal(s.lastBody,body);
|
||||
});
|
||||
Reference in new issue
Block a user