Skip to content
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

ZEVA - Improve Default Row Display Behavior in Credit Application Table #2398

Open
4 tasks
shayjeff opened this issue Dec 18, 2024 · 0 comments
Open
4 tasks
Assignees
Labels
Medium Medium Priority Task Any work that does not directly impact the user

Comments

@shayjeff
Copy link
Collaborator

Describe the task
Fix the default row display behavior in the credit application table so it adjusts to the actual size of the dataset. Currently, it always defaults to 100 rows, even when there are only a few rows. This wastes space and is not user-friendly. The table should instead default to the next closest option from the available row numbers: 5, 10, 15, 20, 25, 50, 100.

For example:

  • If there are 5 rows of data, it should default to 5.
  • If there are 18 rows, it should default to 20 (the next closest option).
  • If there are 2000 rows, it should default to 100 rows per page, and the user can use pagination to move to the next set of rows.

Purpose
This update will make the table cleaner and more user-friendly for datasets of any size. For smaller datasets, it eliminates unnecessary empty space.

Acceptance Criteria

  • The table defaults to the next closest option based on the number of rows in the dataset (available options: 5, 10, 15, 20, 25, 50, 100).
  • If the dataset has fewer rows than the smallest option (5), it defaults to 5.
  • If the dataset falls between two options (e.g., 18 rows), it rounds up to the next closest choice (e.g., 20).
  • The dropdown for selecting rows (5, 10, 15, etc.) continues to function as expected.

Additional context

@ArawuSamuel1 ArawuSamuel1 added Task Any work that does not directly impact the user Medium Medium Priority labels Dec 18, 2024
@rogerlcleung rogerlcleung self-assigned this Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Medium Medium Priority Task Any work that does not directly impact the user
Projects
None yet
Development

No branches or pull requests

3 participants