If you get to the user's history page from the heatmap, it will start on a 
selected date. You can scroll down, press *Load more* and and load changesets 
that were created before the initially visible set. But what if you want to see 
changesets created after the date?

This PR adds a *Load more* button in frond of the changeset list, if there are 
any changesets that were opened after the ones in the list.

![image](https://github.com/user-attachments/assets/69ce41be-ae9a-4405-8f81-e67638f3dc10)
 
![image](https://github.com/user-attachments/assets/7e3d054b-42ce-4ebf-8d03-eb0387263c13)


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

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

-- Commit Summary --

  * Add 'after' parameter to history pages
  * Preserve sidebar scroll position when prepending to history

-- File Changes --

    M app/assets/javascripts/index/history.js (35)
    M app/controllers/changesets_controller.rb (12)
    M app/views/changesets/index.html.erb (26)
    M test/controllers/changesets_controller_test.rb (25)
    M test/system/history_test.rb (28)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to