Skip to content

Persistent references to post history entries & pagination #1229

Open
@Oaphi

Description

@Oaphi

Also reported: https://meta.codidact.com/posts/291622

Describe the bug

The issue is two-fold:

  1. If the number of history entries for a given post exceeds the number of items per page, there's no UI to navigate to the rest of the entries.
  2. Links to history entries rely on indices which makes them not true permalinks as what constitutes an Nth entry is determined on the fly and is page-relative.

To Reproduce

Opening any history view for a post with more than 20 history entries, for example, https://codegolf.codidact.com/posts/287238/history.

Expected behavior

  1. Pagination component present.
  2. Immutable links to history entries.

Additional context

Special thanks to @trichoplax for noticing the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions