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

Fix #2333. Handle export in Mac App #2334

Merged
merged 2 commits into from
Feb 15, 2022
Merged

Conversation

chenilim
Copy link
Contributor

Summary

Implement the new (for Big Sur) WKDownloadDelegate to handle downloads. Note that this bumps the macOS requirement to 11.3 (up from 10.14).

Ticket Link

#2333

@chenilim chenilim requested a review from a team as a code owner February 14, 2022 22:04
@chenilim chenilim requested review from wiggin77 and sbishel and removed request for a team February 14, 2022 22:04
@chenilim chenilim added the CherryPick/Candidate A candidate for a quality or patch release, but not yet approved label Feb 14, 2022
Copy link
Collaborator

@sbishel sbishel left a comment

Choose a reason for hiding this comment

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

I'm not real sure what I'm looking at, but LGTM. :)

@sbishel
Copy link
Collaborator

sbishel commented Feb 14, 2022

@chenilim - there is a build failure.

@chenilim
Copy link
Contributor Author

Thanks, the build failure is because the workflows are running an old Xcode version (12.4). I'll submit a PR to update the workflow to use the latest (macOS 11 and Xcode 13.2.1).

@wiggin77
Copy link
Contributor

@chenilim are you sure you want to delete existing file on collision versus append a number to make unique?

@chenilim
Copy link
Contributor Author

@wiggin77 in the file picker, on clicking Save, a warning message is shown prompting the user to replace the file:

Screen Shot 2022-02-14 at 4 06 40 PM

The delete code executes after the user chooses to replace, and I believe this matches the user intent.

Copy link
Contributor

@wiggin77 wiggin77 left a comment

Choose a reason for hiding this comment

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

I'm not an expert in Swift but it looks good. 👍

@chenilim
Copy link
Contributor Author

PR to update workflow macOS and Xcode version is #2338. I'll merge this in after that is merged.

@chenilim chenilim merged commit 2a8d391 into main Feb 15, 2022
@chenilim chenilim deleted the gh2333-mac-export-archive branch February 15, 2022 03:57
@chenilim chenilim added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label Feb 15, 2022
chenilim added a commit that referenced this pull request Feb 15, 2022
@chenilim chenilim added the CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPick/Approved Meant for the quality or patch release tracked in the milestone CherryPick/Candidate A candidate for a quality or patch release, but not yet approved CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants