-
Notifications
You must be signed in to change notification settings - Fork 362
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
refactor: change GlideTable into a reusable component (ET-25) #8956
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8956 +/- ##
==========================================
- Coverage 47.78% 40.72% -7.07%
==========================================
Files 1161 734 -427
Lines 143441 96297 -47144
Branches 2372 2401 +29
==========================================
- Hits 68547 39219 -29328
+ Misses 74741 56894 -17847
- Partials 153 184 +31
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
looks good -- had a small comment but not blocking
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.
LGTM!
sorts={sorts} | ||
staticColumns={STATIC_COLUMNS} | ||
total={Loadable.getOrElse(PAGE_SIZE, total)} |
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.
fix: isPagedView ? runs.length : Loadable.getOrElse(PAGE_SIZE, total)
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.
actually should not need this for total
since it's only used when isPaginated
is false
, and DataGrid
already sets the correct value for rows
if isPaginated
Description
Will update to remove
glide-table
folder and useDataGrid
from hew when that's merged in that repo.also will include fix for ET-63
Test Plan
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket