From ec0f43019f58a2ea3361191480ff1225c12bef34 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 14 Nov 2026 14:37:30 -0500 Subject: [PATCH] Favicon matches the app icon The white plane in a blue ring on the dark rounded square, tuned to read at 16 px, instead of the plane emoji (which looked different everywhere). Adds favicon.ico (16/32/48) for browsers and tools that ask for it, busts the cached SVG with ?v=2, and keeps it with the offline page. Co-Authored-By: Claude Opus 5.5 --- app/views/layouts/application.html.erb | 3 ++- app/views/layouts/public.html.erb | 3 ++- app/views/layouts/report.html.erb | 2 +- app/views/offline/show.html.erb | 3 ++- app/views/pwa/service-worker.js.erb | 2 +- public/favicon.ico | Bin 0 -> 4163 bytes public/favicon.svg | 6 +++++- test/integration/pwa_test.rb | 10 ++++++++-- 8 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 public/favicon.ico diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 254df6d..4605eda 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -14,7 +14,8 @@ - + + <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %> <%= javascript_importmap_tags %> diff --git a/app/views/layouts/public.html.erb b/app/views/layouts/public.html.erb index 25771f4..9410132 100644 --- a/app/views/layouts/public.html.erb +++ b/app/views/layouts/public.html.erb @@ -12,7 +12,8 @@ - + + <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %> <%= javascript_importmap_tags %> diff --git a/app/views/layouts/report.html.erb b/app/views/layouts/report.html.erb index 35b5447..7b76f0a 100644 --- a/app/views/layouts/report.html.erb +++ b/app/views/layouts/report.html.erb @@ -10,7 +10,7 @@ <%# Always a full page load: a Turbo visit would keep the app's dark theme on this white page, and leave this page's styles behind on Back. %> - <% unless @standalone %><% end %> + <% unless @standalone %><% end %> <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %> <%# No Turbo here (Back is then an ordinary page load); just the Print button. %>