Skip to content

feat: New view iPadOS #1468

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

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

feat: New view iPadOS #1468

wants to merge 22 commits into from

Conversation

BaptGrv
Copy link
Contributor

@BaptGrv BaptGrv commented Mar 7, 2025

No description provided.

@BaptGrv BaptGrv force-pushed the feat/newView-iPadOS18 branch from 8800531 to 8fd9dff Compare March 26, 2025 14:07
@adrien-coye adrien-coye self-requested a review March 26, 2025 14:43
@adrien-coye adrien-coye added the feature A new functionality is added to the product label Mar 26, 2025
@adrien-coye adrien-coye added this to the 5.4.0 milestone Mar 26, 2025
Copy link
Contributor

@adrien-coye adrien-coye left a comment

Choose a reason for hiding this comment

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

I did a first review. Code looks good 👍

I played with it on iPad and iPhone, the iPad is promising, the iPhone needs some changes.

I'll DM you more in details my findings.

}

@objc func buttonMenuClicked(_ sender: UIBarButtonItem) {
if selectedIndexPath != [-1, -1] {
Copy link
Contributor

@adrien-coye adrien-coye Mar 27, 2025

Choose a reason for hiding this comment

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

You could make a named const out of this [-1, -1]
You might also want to consider put this if … logic behind a var -> Bool

let documentPicker = DriveImportDocumentPickerViewController(forOpeningContentTypes: [UTType.data], asCopy: true)
documentPicker.importDrive = driveFileManager.drive
documentPicker.importDriveDirectory = currentDirectory.freezeIfNeeded()
documentPicker.delegate = mainTabViewController
// documentPicker.delegate = mainTabViewController
Copy link
Contributor

@adrien-coye adrien-coye Mar 27, 2025

Choose a reason for hiding this comment

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

Probably something to do here, or to clean

@adrien-coye adrien-coye modified the milestones: 5.4.0, 5.5.0 Apr 7, 2025
@BaptGrv BaptGrv force-pushed the feat/newView-iPadOS18 branch from 6b3548f to 18d6744 Compare April 15, 2025 11:42
@adrien-coye adrien-coye force-pushed the feat/newView-iPadOS18 branch from 18d6744 to f23fd6f Compare April 15, 2025 14:37
Copy link
Contributor

@adrien-coye adrien-coye left a comment

Choose a reason for hiding this comment

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

I tested the branch today, the UI looks good both on iPhone and iPad. Good job.

One detail remains before we can merge this branch.
We need to re-enable state restoration, I'll brief you up.

return
}

guard let previousDriveId = sceneUserInfo[SceneRestorationValues.driveId.rawValue] as? Int,
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to re-enable app state restoration before we can merge this branch. I'll brief you up 👍

@adrien-coye adrien-coye force-pushed the feat/newView-iPadOS18 branch from f23fd6f to 22e9d92 Compare April 15, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality is added to the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants