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

Add Material UI's DataGrid to re-exports #1864

Merged
merged 1 commit into from
Apr 9, 2021
Merged

Conversation

garrettjstevens
Copy link
Collaborator

@peterkxie is using the data-grid in the Apollo plugin, but it was proving hard to install in the plugin due to some conflicts with how we re-export Material UI for plugins. There are probably some improvements that could be made to make that easier, but as a first step, since the DataGrid is already in the peerDeps of core and is a useful component, I think we may as well re-export it so it's easy to use.

@garrettjstevens garrettjstevens self-assigned this Apr 1, 2021
@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Apr 1, 2021
@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #1864 (501734c) into main (33bd588) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1864   +/-   ##
=======================================
  Coverage   58.55%   58.56%           
=======================================
  Files         460      460           
  Lines       21331    21331           
  Branches     5090     5090           
=======================================
+ Hits        12491    12493    +2     
+ Misses       8534     8532    -2     
  Partials      306      306           
Impacted Files Coverage Δ
packages/core/ReExports/modules.ts 75.00% <ø> (ø)
...inearGenomeView/components/RefNameAutocomplete.tsx 93.61% <0.00%> (+4.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33bd588...501734c. Read the comment docs.

@garrettjstevens garrettjstevens added enhancement New feature or request and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Apr 2, 2021
@rbuels rbuels merged commit 6010300 into main Apr 9, 2021
@rbuels rbuels deleted the data_grid_reexports branch April 9, 2021 16:48
@cmdcolin
Copy link
Collaborator

note that this could be a good candidate for lazy loading. It would be unfortunate to break user code that relies on this re-export to be static, but if we make it a lazy(() => import(...)) then it could kick it out of the main thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants