[openstreetmap/openstreetmap-website] Add Human facing error messages when users without WebGL use (PR #6782)
Marwin Hochfelsner
notifications at github.com
Thu Feb 26 12:19:59 UTC 2026
@hlfan commented on this pull request.
> @@ -0,0 +1,18 @@
+<div class="maplibre-error w-100 h-100 d-flex flex-column align-items-center justify-content-center text-center p-3 fs-5 lh-base bg-info-subtle text-info-emphasis" data-bs-theme="light">
+ <p class="maplibre-error-compact d-none position-absolute bottom-0 start-0 end-0 py-1 px-2 m-0 fw-bold">
+ <%= t("javascripts.map.webgl_error.compact_message") %>
+ </p>
+ <p class="d-none d-md-block">
+ <%= t("javascripts.map.webgl_error.description",
Does this need to be namespaced with the js or can these be moved to webgl_error_pane?
```suggestion
<%= t(".description",
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6782#pullrequestreview-3860569275
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6782/review/3860569275 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260226/9a2de1de/attachment.htm>
More information about the rails-dev
mailing list