diff --git a/app/ios/Flutter/AppFrameworkInfo.plist b/app/ios/Flutter/AppFrameworkInfo.plist index db76f36..008e9ff 100644 --- a/app/ios/Flutter/AppFrameworkInfo.plist +++ b/app/ios/Flutter/AppFrameworkInfo.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.5.11 + 0.5.12 CFBundleSignature ???? CFBundleVersion - 0.5.11 + 0.5.12 MinimumOSVersion 14.0 diff --git a/app/pubspec.yaml b/app/pubspec.yaml index c326f59..3e7395f 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -1,7 +1,7 @@ name: potato_mesh_reader description: Meshtastic Reader — read-only view for PotatoMesh messages. publish_to: "none" -version: 0.5.11 +version: 0.5.12 environment: sdk: ">=3.4.0 <4.0.0" diff --git a/data/__init__.py b/data/__init__.py index 47a416a..8576efd 100644 --- a/data/__init__.py +++ b/data/__init__.py @@ -18,7 +18,7 @@ The ``data.mesh`` module exposes helpers for reading Meshtastic node and message information before forwarding it to the accompanying web application. """ -VERSION = "0.5.11" +VERSION = "0.5.12" """Semantic version identifier shared with the dashboard and front-end.""" __version__ = VERSION diff --git a/matrix/Cargo.lock b/matrix/Cargo.lock index f173afe..3f5ee84 100644 --- a/matrix/Cargo.lock +++ b/matrix/Cargo.lock @@ -969,7 +969,7 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "potatomesh-matrix-bridge" -version = "0.5.11" +version = "0.5.12" dependencies = [ "anyhow", "axum", diff --git a/matrix/Cargo.toml b/matrix/Cargo.toml index df7da16..3c7b0c9 100644 --- a/matrix/Cargo.toml +++ b/matrix/Cargo.toml @@ -14,7 +14,7 @@ [package] name = "potatomesh-matrix-bridge" -version = "0.5.11" +version = "0.5.12" edition = "2021" [dependencies] diff --git a/tests/test_events_unit.py b/tests/test_events_unit.py index 871243f..323a770 100644 --- a/tests/test_events_unit.py +++ b/tests/test_events_unit.py @@ -214,11 +214,11 @@ def test_ingestor_heartbeat_all_fields(): "node_id": "!aabbccdd", "start_time": 1700000000, "last_seen_time": 1700000012, - "version": "0.5.11", + "version": "0.5.12", "lora_freq": 906875, "modem_preset": "LONG_FAST", } - assert hb["version"] == "0.5.11" + assert hb["version"] == "0.5.12" assert hb["lora_freq"] == 906875 @@ -227,6 +227,6 @@ def test_ingestor_heartbeat_without_optional_fields(): "node_id": "!aabbccdd", "start_time": 1700000000, "last_seen_time": 1700000013, - "version": "0.5.11", + "version": "0.5.12", } assert "lora_freq" not in hb diff --git a/web/lib/potato_mesh/config.rb b/web/lib/potato_mesh/config.rb index e9f75cd..af3ec56 100644 --- a/web/lib/potato_mesh/config.rb +++ b/web/lib/potato_mesh/config.rb @@ -187,7 +187,7 @@ module PotatoMesh # # @return [String] semantic version identifier. def version_fallback - "0.5.11" + "0.5.12" end # Default refresh interval for frontend polling routines. diff --git a/web/package-lock.json b/web/package-lock.json index d539eb5..2fbfba0 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -1,12 +1,12 @@ { "name": "potato-mesh", - "version": "0.5.11", + "version": "0.5.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "potato-mesh", - "version": "0.5.11", + "version": "0.5.12", "devDependencies": { "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", diff --git a/web/package.json b/web/package.json index a675d1e..b000bfe 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,6 @@ { "name": "potato-mesh", - "version": "0.5.11", + "version": "0.5.12", "type": "module", "private": true, "scripts": { diff --git a/web/public/assets/styles/base.css b/web/public/assets/styles/base.css index 2d889b6..7f0d03b 100644 --- a/web/public/assets/styles/base.css +++ b/web/public/assets/styles/base.css @@ -326,7 +326,10 @@ h1 { outline-offset: 2px; } -.menu-toggle { +/* Compound selector required: .icon-button { display: inline-flex } (below) shares + the same specificity and appears later in the source, so it would otherwise win + and keep the toggle permanently visible above the 900px breakpoint. */ +.icon-button.menu-toggle { display: none; } @@ -515,7 +518,7 @@ h1 { display: none; } - .menu-toggle { + .icon-button.menu-toggle { display: inline-flex; } @@ -807,6 +810,17 @@ body.view-map .map-panel--full #map { height: 100%; } +body.view-chat { + height: 100vh; + overflow: hidden; +} + +body.view-chat .page-shell { + height: 100vh; + min-height: 0; + overflow: hidden; +} + .view-chat .page-main--full-screen { gap: 0; } diff --git a/web/spec/ingestors_spec.rb b/web/spec/ingestors_spec.rb index 8385a72..b882696 100644 --- a/web/spec/ingestors_spec.rb +++ b/web/spec/ingestors_spec.rb @@ -61,7 +61,7 @@ RSpec.describe "Ingestor endpoints" do node_id: "!abc12345", start_time: now - 120, last_seen_time: now - 60, - version: "0.5.11", + version: "0.5.12", lora_freq: 915, modem_preset: "LongFast", }.merge(overrides) @@ -133,7 +133,7 @@ RSpec.describe "Ingestor endpoints" do with_db do |db| db.execute( "INSERT INTO ingestors(node_id, start_time, last_seen_time, version) VALUES(?,?,?,?)", - ["!fresh000", now - 100, now - 10, "0.5.11"], + ["!fresh000", now - 100, now - 10, "0.5.12"], ) db.execute( "INSERT INTO ingestors(node_id, start_time, last_seen_time, version) VALUES(?,?,?,?)", @@ -141,7 +141,7 @@ RSpec.describe "Ingestor endpoints" do ) db.execute( "INSERT INTO ingestors(node_id, start_time, last_seen_time, version, lora_freq, modem_preset) VALUES(?,?,?,?,?,?)", - ["!rich000", now - 200, now - 100, "0.5.11", 915, "MediumFast"], + ["!rich000", now - 200, now - 100, "0.5.12", 915, "MediumFast"], ) end @@ -173,7 +173,7 @@ RSpec.describe "Ingestor endpoints" do ) db.execute( "INSERT INTO ingestors(node_id, start_time, last_seen_time, version) VALUES(?,?,?,?)", - ["!new-ingestor", now - 60, now - 30, "0.5.11"], + ["!new-ingestor", now - 60, now - 30, "0.5.12"], ) end diff --git a/web/spec/protocol_spec.rb b/web/spec/protocol_spec.rb index 94e48bf..adfde03 100644 --- a/web/spec/protocol_spec.rb +++ b/web/spec/protocol_spec.rb @@ -87,7 +87,7 @@ RSpec.describe "Multi-protocol support" do node_id: node_id, start_time: now - 60, last_seen_time: now, - version: "0.5.11", + version: "0.5.12", } payload[:protocol] = protocol if protocol post "/api/ingestors", payload.to_json, auth_headers @@ -446,7 +446,7 @@ RSpec.describe "Multi-protocol support" do with_db do |db| db.execute( "INSERT INTO ingestors(node_id, start_time, last_seen_time, version, protocol) VALUES(?,?,?,?,?)", - [MESH_INGESTOR_ID, now - 60, now, "0.5.11", "meshtastic"], + [MESH_INGESTOR_ID, now - 60, now, "0.5.12", "meshtastic"], ) end