mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
2026.11.1: offline flight logging fixed, inspections from logbook entries, life limits from installation, component inspections moved to inspection types
- Service worker keeps the Log Flight form when opened via Turbo, serves the offline page's script and icon, and treats 502/503/504 as offline; the offline page only links forms actually kept - Serviced sub-components restart from the airframe time flown since the entry - New logbook entries can complete inspections (recorded and linked to the entry) - Components: replacement limit can count from installation (life limit) - Component-level "Inspect every" / "Inspection critical" removed; a migration converts any unlinked settings into inspection types with a first record; component page lists its inspections Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7552e4a8a3
commit
352a38c7fb
28 files changed
+289
-69
No files matched your search
Generated
+2
-5
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_11_12_010000) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2026_11_12_030000) do
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.string "record_type", null: false
|
||||
@@ -341,21 +341,18 @@ ActiveRecord::Schema[8.1].define(version: 2026_11_12_010000) do
|
||||
t.date "overhaul_date"
|
||||
t.integer "tbo_hours"
|
||||
t.integer "tbo_days"
|
||||
t.integer "inspection_hours"
|
||||
t.integer "inspection_days"
|
||||
t.integer "replacement_hours"
|
||||
t.integer "replacement_days"
|
||||
t.boolean "tbo_critical", default: true, null: false
|
||||
t.boolean "on_condition", default: false, null: false
|
||||
t.boolean "inspection_critical", default: true, null: false
|
||||
t.boolean "replacement_critical", default: false, null: false
|
||||
t.boolean "replacement_from_install", default: false, null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.date "expires_on"
|
||||
t.string "overhaul_kind"
|
||||
t.integer "replacement_months"
|
||||
t.integer "tbo_months"
|
||||
t.integer "inspection_months"
|
||||
t.index ["aircraft_id"], name: "index_components_on_aircraft_id"
|
||||
t.index ["component_type_id"], name: "index_components_on_component_type_id"
|
||||
t.index ["parent_component_id"], name: "index_components_on_parent_component_id"
|
||||
|
||||
Reference in new issue
Block a user