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

Cognito import from assets feature #415

Conversation

CedricProfessionnel
Copy link
Contributor

Enable the import from assets

@CedricProfessionnel CedricProfessionnel force-pushed the CognitoImportFromAssetsFeature branch 7 times, most recently from 310e7ec to 46e64e7 Compare December 21, 2020 16:27
Copy link
Collaborator

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

The most important thing to fix is to avoid loading in the full dataset unless you absolutely have to. The Import dialog isn't rendered conditionally but uses useDataset, so you're actually loading in the dataset anywhere where it's rendered, which will delays and extra bandwidth for people even if they're not using s3

@seveibar
Copy link
Collaborator

You'll want to take a look at this line and make it conditional to easily fix that

there are other fixes, for example, just not using the useDataset hook

@seveibar
Copy link
Collaborator

@CedricProfessionnel is this ready to review again? I see that I'm a pending reviewer but there's also one change requested so I'm not sure

@CedricProfessionnel
Copy link
Contributor Author

@CedricProfessionnel is this ready to review again? I see that I'm a pending reviewer but there's also one change requested so I'm not sure

Yes, it is.

/>
) : (
<p></p>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is good

Copy link
Collaborator

Choose a reason for hiding this comment

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

one thing you'll notice is that dialog animations for closing won't work now, but this is a small price to pay for the ease of dev

@seveibar seveibar merged commit 071c739 into UniversalDataTool:master Jan 14, 2021
@seveibar
Copy link
Collaborator

NICE WORK!!!!!!!!!

seveibar pushed a commit that referenced this pull request Jan 14, 2021
## [0.14.18](v0.14.17...v0.14.18) (2021-01-14)

### Bug Fixes

* Merge pull request [#415](#415) from CedricProfessionnel/CognitoImportFromAssetsFeature ([071c739](071c739))
@seveibar
Copy link
Collaborator

🎉 This PR is included in version 0.14.18 🎉

The release is available on:

Your semantic-release bot 📦🚀

@CedricProfessionnel CedricProfessionnel deleted the CognitoImportFromAssetsFeature branch January 15, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants