[openstreetmap/openstreetmap-website] Adapt flash messages to Turbo (PR #5180)
Anton Khorev
notifications at github.com
Tue Sep 10 09:28:54 UTC 2024
Annotate flash messages as temporary to prevent them from being cached/restored by Turbo:
https://turbo.hotwired.dev/handbook/building#preparing-the-page-to-be-cached
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5180
-- Commit Summary --
* Refactor flash template
* Mark flash messages as temporary
-- File Changes --
M app/views/layouts/_flash.html.erb (37)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5180.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5180.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5180
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5180 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240910/af992520/attachment.htm>
More information about the rails-dev
mailing list