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

PE-6113: (WIP): add a modal to filter success uploads #1736

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

thiagocarvalhodev
Copy link
Collaborator

@thiagocarvalhodev thiagocarvalhodev commented May 8, 2024

@thiagocarvalhodev thiagocarvalhodev self-assigned this May 8, 2024
enum UploadActions { skip, replace }
///
/// `SkipSuccessfullyUploads` will skip the files that were successfully uploaded.
enum UploadActions { skip, skipSuccessfullyUploads, replace }
Copy link
Contributor

Choose a reason for hiding this comment

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

prefer to rename to skipSuccessfulUploads or skipExistingFiles

atticusofsparta
atticusofsparta previously approved these changes May 8, 2024
@@ -3,4 +3,6 @@
/// `Skip` Will ignore the files and don't upload them.
///
/// `Replace` will upload the conflicting file and replace the existent.
enum UploadActions { skip, replace }
///
/// `SkipSuccessfullyUploads` will skip the files that were successfully uploaded.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit(grammar):

Suggested change
/// `SkipSuccessfullyUploads` will skip the files that were successfully uploaded.
/// `SkipSuccessfulUploads` will skip the files that were successfully uploaded.

Copy link

github-actions bot commented May 8, 2024

Visit the preview URL for this PR (updated for commit 3a74153):

https://ardrive-web--pr1736-pe-6113-fix-d0tmwm13.web.app

(expires Fri, 07 Jun 2024 20:17:36 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0

@@ -333,7 +333,12 @@ void main() {
const TypeMatcher<UploadPreparationInProgress>(),
UploadFileConflict(
areAllFilesConflicting: true,
conflictingFileNames: const ['${tRootFolderId}1']),
conflictingFileNames: const [
'${tRootFolderId}1'
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious, why is there a 1 added here?

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.

None yet

3 participants