mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
Secondary actions behind More menus; tidier aircraft header and tabs
- more_menu helper (menu / menu-item styles): each section keeps its main action as a button; imports, exports, printing and tools move under More (flights, logbook, logbook entry, documents, inspections, fleet) - Aircraft header: More with status report and, for owners, access & sharing, edit, .sam.zip and records package; Access & Sharing and Oil Analysis tabs removed (oil analysis is under Oil & Fuel with a switch) - Logbook: Print selected appears once an entry is ticked; filters apply on change; dates use fmt_date (also AirTrail, notes, audits, About) - Header shows the role on the aircraft and hides the usual Available badge; no second Grounded badge on the Overview; AD DRS import listed once - Flights: stat cards 2x2 on phones; By year opens visibly, only with more than one year; duplicate + Log Flight removed - Remove unused hello_controller.js; guide and README updated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bff6a05173
commit
3f45b557c2
38 files changed
+159
-63
No files matched your search
@@ -6,7 +6,7 @@ Admins see the **Admin** menu (on a phone, under ☰). Admins can see and edit e
|
||||
|
||||
**Users** lists every account.
|
||||
|
||||
- **+ New User**: name, email and a starting password. Tick **Administrator** to make them an admin. Then add them to aircraft from each aircraft's **Access & Sharing** tab (or they add their own aircraft).
|
||||
- **+ New User**: name, email and a starting password. Tick **Administrator** to make them an admin. Then add them to aircraft from each aircraft's **More → Access & sharing** (or they add their own aircraft).
|
||||
- **Edit** to change details or reset a password when email isn't set up.
|
||||
- **Locked** marks an account locked for 15 minutes after 10 failed sign-ins in a row (the user is emailed). **Unlock** clears it straight away, once you know it was really them.
|
||||
- **2FA** marks someone using an authenticator app. **Reset 2FA** turns it off for a user who lost their phone and recovery codes. Confirm it's really them first (call them); they can then set it up again.
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ The **ADs** tab lists the ADs and bulletins that apply to the aircraft or its co
|
||||
|
||||
- **+ New AD**: the number, type (AD, SAIB, SB, alert, other), standard or conditional, what it requires, whether it recurs (every so many hours and/or days, months or years; months and years are due at the end of the month) and a link to the AD. A conditional AD only applies when its trigger happens (“on prop strike”) and doesn't affect airworthiness. Non-mandatory bulletins can be tracked too.
|
||||
- **Link existing**: ADs are shared between aircraft; link one already entered for another aircraft.
|
||||
- **Import from FAA DRS**: export the ADs for the aircraft, engine and propeller from the FAA's Dynamic Regulatory System, preferably as `.xlsx` so each AD keeps its DRS link, and upload it. The preview suggests **Track**, **Not applicable** or **Skip** for each AD and flags superseded ADs, model mismatches, appliance and STC-only ADs, and recurring actions. Nothing is duplicated.
|
||||
- **Import from FAA DRS** (on the *AD baseline from FAA DRS* card): export the ADs for the aircraft, engine and propeller from the FAA's Dynamic Regulatory System, preferably as `.xlsx` so each AD keeps its DRS link, and upload it. The preview suggests **Track**, **Not applicable** or **Skip** for each AD and flags superseded ADs, model mismatches, appliance and STC-only ADs, and recurring actions. Nothing is duplicated.
|
||||
|
||||
## The AD baseline
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## The fleet
|
||||
|
||||
**Fleet** shows every aircraft you have access to, with its airworthiness and its most pressing issues. **+ Add Aircraft** creates one (you become its owner). **Import** loads an aircraft from a `.sam.zip` archive (see [Access, sharing and transfer](sharing.md)).
|
||||
**Fleet** shows every aircraft you have access to, with its airworthiness and its most pressing issues. **+ Add Aircraft** creates one (you become its owner). **More → Import from a .sam.zip archive** loads an aircraft from a `.sam.zip` archive (see [Access, sharing and transfer](sharing.md)).
|
||||
|
||||
## An aircraft's overview
|
||||
|
||||
@@ -12,7 +12,7 @@ The **Overview** tab shows:
|
||||
- **Active squawks**, **Consumption** (oil and fuel rates), **Notes** and **Recent activity**.
|
||||
- **Last flight**: the most recent day's legs as one route, the meters at the end, and the fuel and oil left.
|
||||
- **Update Hours**: enter the current meter readings (see [Flights and hours](flights.md)).
|
||||
- **Details** and the **Status report** link.
|
||||
- **Details**. The **Status report** link is on the Airworthiness card, and under **More** at the top of every aircraft page.
|
||||
|
||||
## What the airworthiness status means
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
The **Documents** tab keeps scans and files: registration, airworthiness certificate, insurance, logbook scans, receipts, 337s, reports.
|
||||
|
||||
- **+ Upload Document**: a name, type, collection, description, and one or more files (images, PDFs or text). Each file is a page in the viewer.
|
||||
- **Bulk upload**: many files at once. Each becomes its own document named after the file; files with the same name are combined, in order, as pages of one document.
|
||||
- **+ Collection** groups documents (for example *Engine logbook* or *Annual 2026*). Collections start collapsed, showing how many documents they hold; click one to open it.
|
||||
- **More → Upload several files**: many files at once. Each becomes its own document named after the file; files with the same name are combined, in order, as pages of one document.
|
||||
- **More → New collection** groups documents (for example *Engine logbook* or *Annual 2026*). Collections start collapsed, showing how many documents they hold; click one to open it.
|
||||
|
||||
## Searching inside documents
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ If **Enforce airworthiness** is on, neither works while the aircraft is grounded
|
||||
|
||||
## The Flights tab
|
||||
|
||||
The **Flights** tab shows totals and hours by month, then the flight log grouped by day: each day shows the whole route flown (KOQU → KBID → KOQU; a "·" marks where the aircraft moved without a logged leg) and that day's tach and Hobbs time, fuel and oil. Click a day to see its legs, and a leg to open the flight. The most recent 30 days load with the page; earlier ones load as you scroll down (or with **Load more**). From there:
|
||||
The **Flights** tab shows totals and hours by month, then the flight log grouped by day: each day shows the whole route flown (KOQU → KBID → KOQU; a "·" marks where the aircraft moved without a logged leg) and that day's tach and Hobbs time, fuel and oil. Click a day to see its legs, and a leg to open the flight. The most recent 30 days load with the page; earlier ones load as you scroll down (or with **Load more**). The flight log's **More** button has:
|
||||
|
||||
- **Import from spreadsheet** (owners): historical flights from `.xlsx` or `.csv` (Date, From, To, Tach, Hobbs, Oil Added, Fuel Added). A preview flags problems such as a tach going backwards and skips rows already imported. It only adds history: component hours don't change unless you choose to advance the meters.
|
||||
- **Export for AirTrail**: a file to import into AirTrail. For automatic syncing, see [Your profile](profile.md).
|
||||
|
||||
@@ -34,8 +34,9 @@ Anyone can add an aircraft and becomes its owner. You only see aircraft you have
|
||||
## Finding your way around
|
||||
|
||||
- **Fleet** (top left) lists your aircraft with their airworthiness.
|
||||
- Each aircraft has tabs: **Overview, Components, Squawks, Flights, Oil & Fuel, Oil Analysis, Logbook, Inspections, ADs, Documents, Major Records, W&B, Notes, Activity**, and for owners **Access & Sharing**.
|
||||
- **Log Flight** and **Report Squawk** are at the top of every aircraft page.
|
||||
- Each aircraft has tabs: **Overview, Components, Squawks, Flights, Oil & Fuel, Logbook, Inspections, ADs, Documents, Major Records, W&B, Notes, Activity**.
|
||||
- **Log Flight** and **Report Squawk** are at the top of every aircraft page. Next to them, **More** has the status report and, for owners, **Access & sharing**, editing the aircraft, and its downloads.
|
||||
- Each section shows its main action as a button (such as **+ New Entry**). Less frequent ones, such as imports, exports and printing, are under that section's **More** button.
|
||||
- **Search** (the box in the top bar, or ☰ → Search on a phone) looks through the logbook, squawks, notes, ADs, documents (including the text of their pages), components, flights and major records of your aircraft at once.
|
||||
- Your name (or ☰ on a phone) leads to your **Profile**, this **Help**, and for admins the **Admin** pages.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ The **Inspections** tab shows each required inspection, when it was last done an
|
||||
|
||||
## Setting up
|
||||
|
||||
**Standard inspections** adds the recurring inspections and checks Part 91 calls for (annual, 100-hour, pitot-static and altimeter, transponder, ELT…). Pick the ones that apply to how the aircraft is flown; each comes with its interval and what being overdue means, and you can change them afterwards.
|
||||
**More → Add standard inspections** adds the recurring inspections and checks Part 91 calls for (annual, 100-hour, pitot-static and altimeter, transponder, ELT…). Pick the ones that apply to how the aircraft is flown; each comes with its interval and what being overdue means, and you can change them afterwards.
|
||||
|
||||
**+ Inspection Type** adds your own, for example a recurring inspection from an STC's instructions for continued airworthiness. Each type has:
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ Search the text, filter by logbook, and show only unverified transcribed entries
|
||||
|
||||
## Importing scanned logbooks
|
||||
|
||||
**Import scans** uploads photos or PDFs of paper logbook pages as a document, in file-name order (name them `page-001`, `page-002`…). If the administrator has set an Anthropic API key, Claude reads them and adds each entry to the logbook.
|
||||
**More → Import scans** uploads photos or PDFs of paper logbook pages as a document, in file-name order (name them `page-001`, `page-002`…). If the administrator has set an Anthropic API key, Claude reads them and adds each entry to the logbook.
|
||||
|
||||
Transcribed entries are marked **unverified** until someone compares each with the scan and chooses **Matches the scan: mark verified**; the app then moves to the next one. Fix any mistake with **Edit** first.
|
||||
|
||||
@@ -35,7 +35,7 @@ Mark the scans as **legacy records** (see [Documents](documents.md)): the paper
|
||||
|
||||
## Printing entries for the paper logbook
|
||||
|
||||
Tick entries and choose **Print selected**, or **Print for logbook** on one entry. Choose Avery 5163/8163 or 5164/8164 labels, or half-letter or letter pages (letter also fits full-sheet labels); on a part-used label sheet, pick the first free label. Print at 100% (“Actual size”), not “Fit to page”, and try a plain sheet first.
|
||||
Tick entries and choose **Print selected** (it appears once an entry is ticked), or **Print for logbook** on one entry (under **More** on an unsigned entry). Choose Avery 5163/8163 or 5164/8164 labels, or half-letter or letter pages (letter also fits full-sheet labels); on a part-used label sheet, pick the first free label. Print at 100% (“Actual size”), not “Fit to page”, and try a plain sheet first.
|
||||
|
||||
Each printed entry has a line to sign by hand: a printed entry isn't a record until it's signed. An entry signed electronically prints with its electronic signature and fingerprint instead.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ It charts consumption and shows averages over the last 20 intervals, ignoring ou
|
||||
|
||||
## Oil analysis
|
||||
|
||||
The **Oil Analysis** tab tracks lab results and charts wear metals over time.
|
||||
**Oil & Fuel → Oil analysis** tracks lab results and charts wear metals over time.
|
||||
|
||||
- **Import report**: upload an AvLab or Blackstone PDF. Every sample on it, including earlier ones, is added unless it's already there.
|
||||
- **+ Add Oil Analysis**: enter results by hand.
|
||||
|
||||
@@ -17,11 +17,11 @@ Never share your password or let someone else sign while you're signed in: a sig
|
||||
|
||||
## Mistakes
|
||||
|
||||
A signed entry can't be edited or deleted. Open it and choose **Correct this entry** (owners): a new entry starts from the original. Fix it, save it and sign it. The original stays, marked “Superseded by a correction”, with a link to the correction.
|
||||
A signed entry can't be edited or deleted. Open it and choose **More → Correct this entry** (owners): a new entry starts from the original. Fix it, save it and sign it. The original stays, marked “Superseded by a correction”, with a link to the correction.
|
||||
|
||||
## Someone else did the work
|
||||
|
||||
The owner can choose **Ask someone to sign** on the entry. The mechanic gets a one-time email link (valid for 14 days), signs in or creates their own account, adds their certificate and signs.
|
||||
The owner can choose **More → Ask someone to sign** on the entry. The mechanic gets a one-time email link (valid for 14 days), signs in or creates their own account, adds their certificate and signs.
|
||||
|
||||
If they prefer paper, print the entry (**Print for logbook**), have it signed in ink, and keep the paper with the logbooks (scan it into Documents).
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Access, sharing and transfer
|
||||
|
||||
The **Access & Sharing** tab is for the aircraft's owners.
|
||||
**Access & sharing** is for the aircraft's owners: open it from **More** at the top of the aircraft's pages.
|
||||
|
||||
## People
|
||||
|
||||
@@ -21,7 +21,7 @@ Give it a label and optionally an expiry. Documents only appear if their visibil
|
||||
|
||||
## Backup and transfer
|
||||
|
||||
**Download .sam.zip** exports the whole aircraft with its files. Anyone can load it with **Fleet → Import** (in this app or the original Simple Aircraft Manager) to make a copy they own, for example when the aircraft is sold. Use a new tail number if the original is already in that app. If an older download arrived as a folder (Safari can unzip downloads by itself), compress the folder back into a zip (in Finder: right-click → Compress) and import that.
|
||||
**Download .sam.zip** exports the whole aircraft with its files. Anyone can load it with **Fleet → More → Import from a .sam.zip archive** (in this app or the original Simple Aircraft Manager) to make a copy they own, for example when the aircraft is sold. Use a new tail number if the original is already in that app. If an older download arrived as a folder (Safari can unzip downloads by itself), compress the folder back into a zip (in Finder: right-click → Compress) and import that.
|
||||
|
||||
## Activity
|
||||
|
||||
|
||||
Reference in new issue
Block a user