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

feat: External links list files #1307

Merged
merged 9 commits into from
Oct 23, 2024

Conversation

adrien-coye
Copy link
Contributor

@adrien-coye adrien-coye commented Sep 27, 2024

UI done in this PR

  • Listing files of a public share
  • Actions
  • Thumbnails

root PR
feature branch

sub PR
Download Files

Comment on lines +218 to +220
// TODO: Big hack, refactor to allow for non authenticated requests
guard let someToken = apiFetchers.values.first?.currentToken else {
fatalError("probably no account availlable")
fatalError("probably no account available")
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need an authenticated ApiFetcher ?
If an ApiFetcher is only needed to init DriveFileManager we can do DriveApiFetcher() without a token

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code is a leftover of the PoC I did to start this feature.
I'd like to address this in another PR where I correctly handle the offline.

Copy link

sonarcloud bot commented Oct 23, 2024

@adrien-coye adrien-coye merged commit 95e4825 into feature-externalLinks Oct 23, 2024
2 checks passed
@adrien-coye adrien-coye deleted the externalLinks-listFiles branch October 23, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants