-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(dashboard): DataTable component #6297
Conversation
🦋 Changeset detectedLatest commit: 6c51535 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
/** | ||
* TODO | ||
* | ||
* Add a sticky header to the table that shows the column name when scrolling through the table vertically. | ||
* | ||
* This is a bit tricky as we can't support horizontal scrolling and sticky headers at the same time, natively | ||
* with CSS. We need to implement a custom solution for this. One solution is to render a duplicate table header | ||
* using a DIV that, but it will require rerendeing the duplicate header every time the window is resized, to keep | ||
* the columns aligned. | ||
*/ |
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.
comment: This will be implemented in a follow up PR, most likely after the first iteration of Admin 3.0.
/** | ||
* TODO: Enable `order` query param when staging is updated | ||
*/ |
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.
comment: Currently the Order menu does nothing for the Order tables. Will enable it once staging has been updated, as it would currently crash the page.
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.
Really, really awesome work. Should we reduce the pagesize to 20, now that we know it doesn't look silly on larger screens? Think it makes for a better "whole" product experience.
This is really pretty! We should re-add the customer information in the order overview though |
What
Why
prefix
can be passed to the component to differentiate the params for each table.Note