Skip to content

Conversation

@driusan
Copy link
Collaborator

@driusan driusan commented Dec 9, 2025

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.

@github-actions github-actions bot added Language: PHP PR or issue that update PHP code Language: Javascript PR or issue that update Javascript code labels Dec 9, 2025
@driusan
Copy link
Collaborator Author

driusan commented Dec 9, 2025

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language: Javascript PR or issue that update Javascript code Language: PHP PR or issue that update PHP code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant