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
Fresh table pilot #7103
Fresh table pilot #7103
Conversation
</tr> | ||
</thead> | ||
<tbody> | ||
{dataSource.map((data, rowIndex) => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The after table is looking so much better. Nice job! One of the biggest problems with our older tables was that it would lag with many rows (i.e., events table). I don't know if you have this mind already, but we could probably make leaps in performance with some kind of virtualization here. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely something to consider, will try some virtualization out in events/persons when I get to them!
Didn't go deep yet, but the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had another look, overall awesome, though I'd still improve some things.
Demonstration with rageclicks (my interpretation on how people who rageclick do their clicks): I think if we ever want a secondary sort, it's something you'd do in the context of filtering (show all flags by user X, and sort them alphabetically) and in this case the answer would be better filtering support.
Compare feature flags To saved insights: Saved insights (which does paginated API requests) solved all of this by putting the param in the URL. The global URL "scroll to top" logic and the browser's memory of things fix the pagination and scrolling issues nicely. So, getting to the point: could we implement some native URL handling into the table? E.g. a param
|
Made the following changes:
I also wasted an honestly inordinate amount of time yesterday thinking that surely TypeScript, being pretty smart, can do type inference on the column type and recognize that a column with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes
As part of #6710, we'll be refreshing tables for a better UX and performance (especially resizable ones). This adds the new table component (based on designs by Chris) and implements it for the Feature flags page.
Before
After (WIP)