Skip to content

Allow configuring number of items in list pages via preferences #1329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 1, 2025

Conversation

IgnisDa
Copy link
Owner

@IgnisDa IgnisDa commented Apr 1, 2025

Fixes #1326.

IgnisDa added 10 commits April 1, 2025 06:18
- Added size="xs" attribute to SegmentedControl components in the dashboard preferences for improved UI consistency.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
- Added listPageSize attribute to UserGeneralPreferences and UserGeneralPreferencesInput for improved user preferences management.
- Updated UserDetails GraphQL query to include listPageSize in user preferences.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
- Introduced NumberInput for list page size alongside the existing Select component for default landing page, enhancing user preferences management.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
…r settings

- Updated UserGeneralPreferences to change list_page_size from i32 to u64 for better compatibility with user preferences.
- Modified MiscellaneousService and CollectionService to incorporate user-specific list page size in pagination logic.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
…d input

- Updated redirectToFirstPageIfOnInvalidPage to accept a single input object containing request, pageSize, currentPage, and totalResults for improved clarity and maintainability.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
- Updated calls to redirectToFirstPageIfOnInvalidPage in multiple dashboard routes to use structured input, enhancing clarity and maintainability.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
- Updated dashboard media routes to include respectCoreDetailsPageSize in the match function, improving clarity and consistency across the codebase.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
…ation

- Introduced Divider components in the dashboard preferences to enhance visual separation between elements.
- Ensured compliance with coding standards by maintaining the order of attributes based on their length.
@IgnisDa IgnisDa merged commit 4045ea3 into main Apr 1, 2025
10 checks passed
@IgnisDa IgnisDa deleted the IgnisDa/issue1326 branch April 1, 2025 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] De-pagination / Select Items Shows Per Page
1 participant