-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
Codecov Report
@@ Coverage Diff @@
## main #14 +/- ##
==========================================
- Coverage 52.32% 52.24% -0.09%
==========================================
Files 45 45
Lines 644 645 +1
Branches 125 125
==========================================
Hits 337 337
- Misses 232 233 +1
Partials 75 75
|
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/hooks.ts
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/index.tsx
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/index.tsx
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/index.tsx
Outdated
Show resolved
Hide resolved
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.
Left some comments. Let me know if you have any questions or when you are ready for my re-review!
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/index.tsx
Outdated
Show resolved
Hide resolved
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.
Please change where I made a comment about English.
But other than that looks good to me!
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.
This PR looks good to me. 👍 However, the AssetModal
had been changed somehow. Asset and Dataset is a different thing for Re:Earth. As a refactoring task, AssetModal can be renamed GridModal
or CardModal
and made a generic component which accepts Asset
type and Dataset
type.
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/hooks.ts
Outdated
Show resolved
Hide resolved
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.
Sorry looks like you mixed current code with old code when you merged. Please check the comment I left
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.
Have you considered using https://www.npmjs.com/package/react-google-picker ?
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/hooks.ts
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/Gdrive/hooks.ts
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/index.tsx
Outdated
Show resolved
Hide resolved
@rot1024 , yes I've considered using https://www.npmjs.com/package/react-google-picker |
Screenshots