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

Provider views rewrite (.files, .folders => .partialTree) #5050

Draft
wants to merge 159 commits into
base: 4.x
Choose a base branch
from

Conversation

lakesare
Copy link
Contributor

@lakesare lakesare commented Mar 29, 2024

Description


Notes to reviewers

  • I made deliberate effort not to touch the folder structure at all (for ease of reviewing & because we didn't set our minds on which one we'd prefer yet).
  • Don't worry about 1k of added lines - this PR actually reduces the number of lines by a few hundred lines - the increase is due to test files/comments.
  • We discussed a shared .env in Slack - it's underway, but not yet fully ready.
    If you need access to a particular provider - message me, and I'll send you the credentials.
  • Some tests are failing atm - that's because of .ts/.tsx/no-extension import differences, I'll handle it while reviews are ongoing, should affect the code much.
  • This PR removes @mifi's change that's reporting loading progress (bring back "loaded X files..." #5097)! I'll work on "mifi's PR + but custom handling for smaller n of files" in further PRs.

This PR spans 2.5k lines across 46 files.

I separated some PRs from this PR, however further separation will make it harder to review rather than easier, this is largely a holistic change.

I think a sane way to review this PR (apart from looking through "Files changed" on github) would be to look through the code in /uppy/packages/@uppy/provider-views folder locally in your editor - just read the files and see if they make sense/if something worries you. Most of these files were updated/rewritten.

GoogleDrive
- travelling down into folders works
- checking a file works
- breadcrumbs DONT work

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants