Skip to content
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

Merged
merged 66 commits into from
Mar 27, 2024
Merged

Conversation

johnkim-det
Copy link
Contributor

@johnkim-det johnkim-det commented Mar 5, 2024

Description

Will update to remove glide-table folder and use DataGrid from hew when that's merged in that repo.

also will include fix for ET-63

Test Plan

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

@johnkim-det johnkim-det requested a review from a team as a code owner March 5, 2024 20:18
@johnkim-det johnkim-det requested a review from gt2345 March 5, 2024 20:18
@cla-bot cla-bot bot added the cla-signed label Mar 5, 2024
@johnkim-det johnkim-det marked this pull request as draft March 5, 2024 20:18
Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit bc1ee0c
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66044dd144ddd30008103506
😎 Deploy Preview https://deploy-preview-8956--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Mar 5, 2024

Codecov Report

Attention: Patch coverage is 5.17241% with 495 lines in your changes are missing coverage. Please review.

Project coverage is 40.72%. Comparing base (a603f4c) to head (bc1ee0c).
Report is 29 commits behind head on main.

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     
Flag Coverage Δ
harness ?
web 39.06% <5.17%> (-1.80%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
webui/react/src/components/CompareMetrics.tsx 0.00% <ø> (ø)
.../components/CompareParallelCoordinates.settings.ts 0.00% <ø> (ø)
...eact/src/components/CompareParallelCoordinates.tsx 0.00% <ø> (ø)
webui/react/src/components/OptionsMenu.tsx 54.80% <100.00%> (ø)
webui/react/src/components/UserSettings.tsx 83.84% <100.00%> (-0.05%) ⬇️
webui/react/src/components/exceptions.tsx 0.00% <ø> (ø)
...t/src/pages/F_ExpList/F_ExperimentList.settings.ts 100.00% <100.00%> (ø)
webui/react/src/pages/F_ExpList/utils.ts 36.95% <ø> (ø)
webui/react/src/utils/observable.ts 88.46% <ø> (-1.76%) ⬇️
webui/react/src/components/ComparisonView.tsx 0.00% <0.00%> (ø)
... and 6 more

... and 482 files with indirect coverage changes

@johnkim-det johnkim-det removed the request for review from gt2345 March 20, 2024 19:02
Copy link
Contributor

@ashtonG ashtonG left a 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

@johnkim-det johnkim-det marked this pull request as ready for review March 26, 2024 20:34
Copy link
Contributor

@EmilyBonar EmilyBonar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

webui/react/src/pages/F_ExpList/F_ExperimentList.tsx Outdated Show resolved Hide resolved
sorts={sorts}
staticColumns={STATIC_COLUMNS}
total={Loadable.getOrElse(PAGE_SIZE, total)}
Copy link
Contributor

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)

Copy link
Contributor Author

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

@johnkim-det johnkim-det merged commit 8d2a763 into main Mar 27, 2024
69 of 81 checks passed
@johnkim-det johnkim-det deleted the ET-25 branch March 27, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants