Open inodb opened 5 months ago
@inodb I discussed with Jeremy and he thinks it may be good to have: 1) A parameter of the table to set different limit other than 500 2) Somewhere around the table to inform user of the limit existance What do you think?
Thanks @fuzhaoyuan !
Based on yesterday's discussion, we can increase the default limit substantially beyond 500 based on how fast it responds (maybe 5K?). It's a bit slow getting all data here: https://www.cbioportal.org/study/clinicalData?id=msk_impact_2017. Added it to the checklist at the top
I think 1 & 2 makes sense but will require new UI. So I'd vote to first get this out in a way not/hardly noticeable to users and then have a follow-up PR that improves UI
Do we want to make this banner ClinicalDataTab
specific or keep if generic in the LazyMobXTable
?
Related to https://github.com/cBioPortal/cbioportal-frontend/pull/4786
[x] after going to 500 and pressing show more the behavior is not super obvious. It keeps adding records it seems to how all 1-500? Not sure if this is intended
Disable 'show more' when this message appears
[x] This banner only shows when using next page all the way to the last page. I assume it also needs to be displayed when you click 'Show more' until the maximum records.
~- [ ] fix for multistudy queries, e.g. this example~
Patient ID
,Sample ID
andCancer Study
columns