[openstreetmap/openstreetmap-website] Provide a truncated view of recent diaries (PR #5121)

David Tsiklauri notifications at github.com
Tue Aug 27 07:38:21 UTC 2024


This PR is alternative to the https://github.com/openstreetmap/openstreetmap-website/pull/5103.

This PR addresses "Provide a summary view of recent diaries" issue mentioned in the https://github.com/openstreetmap/openstreetmap-website/issues/3887

Diary entries will be truncated on list pages. View of the diary entry details (show) page remains the same. "See full entry" button was added to the entry to explicitly mention that full entry is no more visible in the list and enhance UX. Fixes https://github.com/openstreetmap/openstreetmap-website/issues/3887

Screenshots:

![Screenshot 2024-08-27 113454](https://github.com/user-attachments/assets/7fb69ca2-c2f0-4e23-828a-112b2a56d566)
![Screenshot 2024-08-27 113359](https://github.com/user-attachments/assets/2cbc9c3e-74a3-4e78-b18a-b68e8203f6e6)
![Screenshot 2024-08-27 113411](https://github.com/user-attachments/assets/1302f0b3-3fe0-416c-8cf7-a0048b172405)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5121

-- Commit Summary --

  * Provide a truncated view of recent diaries

-- File Changes --

    M app/assets/stylesheets/common.scss (3)
    M app/views/diary_entries/_diary_entry.html.erb (3)
    M app/views/diary_entries/index.html.erb (4)
    M config/locales/en.yml (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5121.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5121.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5121
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5121 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240827/24e790bd/attachment-0001.htm>


More information about the rails-dev mailing list