mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Smaller aircraft photos, one-row-per-item detail cards, push diagnostics
- Aircraft photos get 192px and 960x432 copies made on upload; the header, share page and Fleet cards use them (and the offline copies), instead of the full original. - Flight, engine data, component and major record details show one label and value per row on phones (wide items no longer add grid columns). - Profile re-records this device's push subscription on every visit, and says why if it can't; Send test delivers now and lists each device's result; Google's other push hosts are accepted; turning notifications on shows the browser's actual error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3f314a13bb
commit
d4b71d17a1
21 files changed
+234
-96
No files matched your search
@@ -208,7 +208,7 @@ class AircraftArchiveTest < ActiveSupport::TestCase
|
||||
assert_raises(RuntimeError) { importer.run }
|
||||
assert_equal before[0, 2], [ Aircraft.count, Component.count ]
|
||||
assert_equal 0, Aircraft.where(tail_number: "N999").count
|
||||
perform_enqueued_jobs
|
||||
perform_enqueued_jobs(only: ActiveStorage::PurgeJob) # (the stand-in photo isn't a real image to resize)
|
||||
assert_equal before[2], ActiveStorage::Blob.count
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user