-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Share dialog: user list not really visible #3022
Comments
@tobiasKaminsky on the other hand, wouldn't it be even better to launch the file details fragment instead of this (legacy) dialog? Since the file detail screen allows for any share action/details to be specified (can edit/delete, expiration, etc). So I think it would be even better if we can launch the file details :) |
cc @nextcloud/designers for feedback since my latest comment would imply quite a change in the UI/interaction flow... |
If you open an image, then click on send/share it is quite strange in my opinion to not have an dialog but a new fullscreen fragment shown. Also there will be at least one place, where we need also such a sharing dialog |
Well, then we need to move the sharing logic to a separate class and work with delegation, also define an interface for the dialog's share actions that need to be implemented by the dialog calling activity since the search callback due to the search provider implementation will hit the activity not the dialog (that is how the OS handles the provider). other than that we might even have to refactor parts of the file details sharing fragment since we don't want to duplicate the whole thing. We could of course, like done of the fragment simply not have a scrollview embedded but let the whole thing scroll that way the UIs would be the same and the scrolling issue would also be solved. Besides we should probably do it that way anyways since having two different types of sharing UIs with different functionality/scope would be weird too... I'll think about how we can get this done :) |
This one would be ideal to move it to MVP concept, so that we have two different views (standalone dialog and tab in file detail) for exact the same functions, or? If you agree, I would give it a try :-) |
You can give it a try, but MVP will not be the savior here ;) Go for it! 👍 |
@AndyScherzinger while the other ideas are great for longer term, can we have some kind of a quick fix? |
Sure. I can give it a try for a quick fix. Not sure if it can be achieved quickly with little effort but I'll have a look. |
Yeah, the dialog sizing is cool as a quick fix, if possible. For the long-term, it still seems good to keep the dialog-like appearance and not switching to a full-screen view so you still have a sense of place. Is it possible to simply use the share list though as we use in the share tab of the sidebar? (And we should not split sharing and link, the new design handles it way better too. :) |
--> User list is too narrow
@AndyScherzinger and me discussed to split this view into "user" and "link" via tabs (same like on file detail). Also height should be adjusted to have ~80% of visible space.
Then every tab has more space and it will also work better on landscape mode on mobile.
The text was updated successfully, but these errors were encountered: