fix(explore): Fixing #36267 by setting pageSizeOptions to constant [50]#36273
fix(explore): Fixing #36267 by setting pageSizeOptions to constant [50]#36273durban77 wants to merge 6 commits into
Conversation
Code Review Agent Run #f28353Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Should we fix the ability to select page size, rather than removing the option? |
You are right, that would be the right to do, but I can't do that. I have a limited skillset in this area, with only some hours to spend on this bug, so that's why my fix is based on the easiest option that does the job. |
|
CodeAnt AI is reviewing your PR. |
Nitpicks 🔍
|
|
CodeAnt AI finished reviewing your PR. |
✅ Deploy Preview for superset-docs-preview canceled.
|
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
rusackas
left a comment
There was a problem hiding this comment.
I don't think removing all the page size options is the right fix, so I'm inclined to block this. Open to a proper fix still, so I'll leave the PR open for now. Maybe see if Claude Code can take a crack at it? :D
|
I lack the skills and resources to do so and fix this bug properly. |
Code Review Agent Run #6d6396Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Closed in favor of #37975 which seems to do all the right stuff. If anyone finds differently, let's open a new Issue/PR off |
User description
SUMMARY
DrillDetails uses fixed 50 for paging. The options on the UI allows the default 5/15/25/50/100 selection, that caused misbehaviour with other than 50 per page settings.
The easiest way to fix this is to remove the possibility to change the pageSize.
My approach is tho set the pageSizeOptions to overwrite the default values with an only 50 per page option.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
AFTER

there is only the 50/page option remained
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
CodeAnt-AI Description
Fix drill-to-details table to always use 50 rows per page
What Changed
Impact
✅ Consistent 50-row pages in drill-to-details✅ Fewer pagination mismatches when drilling into charts✅ Clearer, predictable drill results💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.