[openstreetmap/openstreetmap-website] Convert note pagination to newer/older note pages (PR #4532)

Anton Khorev notifications at github.com
Tue Mar 12 13:07:30 UTC 2024


@AntonKhorev pushed 17 commits.

655c3cadaf6a0d2d6c809e92404c838df7018486  Rename pagination newer/older_key locals
7de6598cc73dff35193050d4c3b12abb32fecf08  Convert note pagination to newer/older note pages
0d97af287af169e95b1e26c9ee91cea3656a7d00  Check note list contents in unpaged note tests
9bacf6b2c427a544ad66011ae172bd278f6d3fcb  Shorten path calls in notes controller tests
f0c346a09d242d140a2acf913757bead0c6a06e0  Redirect to first page of notes if before/after id is invalid
d35076b39f33c3174410212a1243abbd139afea1  Fall back on time in before/after parameter if cursor note is updated
eb7da052edc6bb6bfd999820b79d407e8c714e84  Use check older/newer notes helpers in note list tests
6661e94090ec7085f3e407f416de29ad797cab0b  Check next pages in before/after id note index tests
8c9b9c148a946244bf3e56185b64cb5302f054cf  Add special before/after value to get notes at the beginning
392f62f0ecd3b48210463749d4e1117c9bd01ba7  Accept parameter hashes in pagination template
ddc8a3ed4439c32f3331c8abef24a1ca54f4f093  Use from=oldest / to=newest params in links to oldest/newest notes
0e47ee675f0743587b8c7dcd8553ca87060e67f2  Test ordering of notes with the same time
03f9c15ed7a149c17f9a5d04bd98734639c6fae1  Test before/after/from/to links on updated note
ea491af92f55f42afdf3c089e95719bd9b923356  Test generated previous/next page links on updated note
713551ebe06e2cd12e5443e3c33c8958342fb5c3  Extend previous/next page link edge values to from/to-parameter pages
130bd6e02763b2a23a0b1de8ff3d9df01cb17af9  Test invalid hash before/after note page parameters
cc99796486eebe570a392e948dc2531f34afccf3  Allow note page hash parameters without time

-- 
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4532/files/5a94d5a47299701fa23a0bd3749ad758db7f9d0a..cc99796486eebe570a392e948dc2531f34afccf3
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4532/push/17505251564 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240312/a72878a8/attachment.htm>


More information about the rails-dev mailing list