Consistency and accessibility: one date/time format, lang, skip link, focus outlines, alt text, labelled icons, contrast; release notes updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-11 21:17:26 -05:00
1 parent 191eb030e8
commit 215efe6814
56 files changed
+146 -97

No files matched your search

+7 -1
View File
@@ -4,8 +4,14 @@ module ApplicationHelper
number_with_precision(value, precision: 1, delimiter: ",")
end
# How dates and times read across the app: "Nov 8, 2026", "Nov 8, 2026 14:05".
# (Signatures and the record history keep exact UTC timestamps, 2026-11-08 14:05 UTC.)
def fmt_date(value)
value ? l(value.to_date, format: :long) : "—"
value ? value.to_date.strftime("%b %-d, %Y") : "—"
end
def fmt_time(value)
value ? value.in_time_zone.strftime("%b %-d, %Y %H:%M") : "—"
end
AIRWORTHINESS_COLORS = { "RED" => "red", "LIMITED" => "blue", "ORANGE" => "orange", "GREEN" => "green", "INFO" => "gray" }.freeze