Files
simple-aircraft-manager-rails/docs/guide/documents.md
T
rickyandClaude Opus 5.5 3f45b557c2 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>
2026-11-13 21:21:57 -05:00

1.7 KiB

Documents

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.
  • 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

The text on each document's pages is read in the background so Search can find it: a PDF's own text when it has one, otherwise OCR of the scan (Tesseract, on the server). Printed text reads well; handwriting much less so. An admin can switch scans to Claude (Admin → Settings → Document search), which reads handwriting far better but uses the Anthropic API. New uploads are read within a minute or so; existing documents are caught up overnight.

Expiry

Give a registration, insurance policy or similar an expiration date and it shows on the airworthiness status as it approaches. An expired registration grounds the aircraft (91.203(a)(2)).

Each collection or document is Private, visible on all share links, or maintenance only share links. See Access, sharing and transfer.

Legacy records

Tick Legacy record for scans of the paper logbooks and records from before the aircraft's electronic records since date. The paper originals remain the record for that period and must be kept.