[openstreetmap/openstreetmap-website] Provide a truncated view of recent diaries (PR #5121)
David Tsiklauri
notifications at github.com
Mon Sep 16 17:51:15 UTC 2024
I almost finished the code. I think it will be ready tomorrow. The idea is to truncate entries server-side and, for example, if we show only 1000 characters, estimate that image will take space of 500, therefore, it will truncate text and also won't allow to add many photos that will overload diary entries list page.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5121#issuecomment-2353547373
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5121/c2353547373 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240916/7b82c62f/attachment.htm>
More information about the rails-dev
mailing list