Skip to content

feat: make list page size configurable via roda-wui.properties#3649

Merged
hmiguim merged 1 commit intodevelopmentfrom
claude/configurable-list-page-size
Apr 17, 2026
Merged

feat: make list page size configurable via roda-wui.properties#3649
hmiguim merged 1 commit intodevelopmentfrom
claude/configurable-list-page-size

Conversation

@luis100
Copy link
Copy Markdown
Member

@luis100 luis100 commented Apr 16, 2026

Summary

  • Added UI_LISTS_PAGE_SIZE_INITIAL and UI_LISTS_PAGE_SIZE_INCREMENT constants to RodaConstants
  • AsyncTableCellOptions now reads initial page size and increment from the client configuration (falling back to the existing defaults of 20 and 100)
  • Documented the new properties in roda-wui.properties with examples for the Transfer and Assessment lists

Configuration

Any list's page size can now be controlled per list ID in roda-wui.properties (or a local overlay):

```properties

Transfer

ui.lists.IngestTransfer_transferredResources.pageSize.initial = 100

Assessment (Appraisal)

ui.lists.IngestAppraisal_searchAIPs.pageSize.initial = 100
ui.lists.IngestAppraisal_searchFiles.pageSize.initial = 100
ui.lists.IngestAppraisal_searchRepresentations.pageSize.initial = 100
```

No GWT recompile is needed — restarting the Spring Boot app picks up the new values.

Test plan

  • Add ui.lists.Search_AIPs.pageSize.initial = 100 to roda-wui.properties
  • Start the application and open the Catalogue/Search page
  • Verify 100 AIPs are shown on first load instead of 20
  • Remove the property and confirm it reverts to 20
  • Confirm "Show more" still works as expected

🤖 Generated with Claude Code

Each list's initial page size and "show more" increment can now be set
per list ID in roda-wui.properties using:
  ui.lists.{listName}.pageSize.initial = <n>
  ui.lists.{listName}.pageSize.increment = <n>

Defaults remain 20 (initial) and 100 (increment).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement labels Apr 16, 2026
@luis100 luis100 requested a review from hmiguim April 16, 2026 14:39
@hmiguim hmiguim self-assigned this Apr 17, 2026
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 17, 2026
@hmiguim hmiguim merged commit 994b4e5 into development Apr 17, 2026
5 checks passed
@hmiguim hmiguim added this to the 6.1.0 milestone Apr 17, 2026
@hmiguim hmiguim deleted the claude/configurable-list-page-size branch April 17, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants