-
Notifications
You must be signed in to change notification settings - Fork 7
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: Multiselect behaviour #1311
base: feature-externalLinks
Are you sure you want to change the base?
Conversation
4061345
to
6c99ba0
Compare
9651af4
to
0fe23be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Self assesment
8c33c37
to
7054054
Compare
kDrive/UI/Controller/Files/MultipleSelectionFloatingPanelViewController.swift
Outdated
Show resolved
Hide resolved
d6beea0
to
198356b
Compare
198356b
to
6c88f15
Compare
… order to not risk breaking the inheritance stack.
308f44c
to
b7cfac7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if viewControllerDismissable is a protcol and is weak. I don't think it is a good practice to keep a reference to the ViewController from the ViewModel.
The VM shouldn't control the ViewController. However you indeed need to callback your VC if you want to dismiss it.
In the code base I see two examples:
- Implement the logic inside the VC (see SearchViewController)
- Using a callback. It's more work but maybe more appropriate
@PhilippeWeidmann Yeah I agree, I felt it was not perfect while doing it. Yeah I can use a callback there. |
Quality Gate passedIssues Measures |
This PR makes
multi select
work with a public share.Only one action,
Download all
is available in this mode.Select all
is also working with a dedicated route.Feature branch #1306