Loris icon indicating copy to clipboard operation
Loris copied to clipboard

[cleanup] PaginationLinks as functional tsx component

Open driusan opened this issue 1 month ago • 1 comments

The PaginationLinks was the first React component ever written in LORIS. As such, it is currently a class based component written in Javascript. It also dated from a time where some pages were partially in React while other parts of the page were smarty and it had to be included in getJSDependencies().

This rewrites the component in typescript as a functional component and stops it from being placed in htdocs, now that it is imported everywhere and we do not have any hybrid pages anymore.

driusan avatar Dec 09 '25 17:12 driusan

Sent as a draft to be sure it doesn't accidentally get merged before the release (or at least before the release branch is created.)

driusan avatar Dec 09 '25 17:12 driusan