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

Share dialog: set expiration date option disappeared in version 3.3.x #3224

Closed
mel26 opened this issue Nov 4, 2018 · 12 comments
Closed

Share dialog: set expiration date option disappeared in version 3.3.x #3224

mel26 opened this issue Nov 4, 2018 · 12 comments
Labels
approved bug design needs info Waiting for info from user(s). Issues with this label will auto-stale. pr exists

Comments

@mel26
Copy link

mel26 commented Nov 4, 2018

Actual behaviour

  • Share file dialog does not contain option to set share expiration date
  • It's impossible to set "share by link" expiration date like in desktop app and web interface
  • This option was present in previous version of app (I think below 3.3), but in version 3.3.2 there is no this option

Expected behaviour

  • Share file dialog contain option to set expiration date

Steps to reproduce

  1. Open share dialog for file or folder
  2. Share file "by link" or "by user name"
  3. There is no option to set share expiration date

Environment data

Android version: 8.1, 9.0

Device model: Google Nexus 5X, Google Pixel 2XL

Stock or customized system: Stock

Nextcloud app version: 3.3.2

Nextcloud server version: 14.0.3

screenshot_20181105-004741
screenshot_20181105-004715

@nextcloud-android-bot
Copy link
Collaborator

GitMate.io thinks possibly related issues are #1979 (3.0RC1 Share Icon disappears), #1955 (Share permission dialog), #743 (Share Link: "Share via App" Dialog opens before set share options), #1548 (About dialog), and #3168 (Share Link: Allow editing Option not available).

@mel26 mel26 changed the title Share dialog: set link validity period option disappeared in version 3.3.x Share dialog: set expiration date option disappeared in version 3.3.x Nov 4, 2018
@tobiasKaminsky
Copy link
Member

2018-11-05-122837

For me, latest version and NC15 "expiration date" is shown for "share via link", but not for users.

@AndyScherzinger
Copy link
Member

@tobiasKaminsky my guess is that this is a layouting problem since the whole 3-dor menu isn't shown. @mel26 what happens if you flip the device for landscape?
My guess is that this is due to the too long transtaion strings, maybe...

@tobiasKaminsky
Copy link
Member

In all above screenshots I can see the "3-dot" menu?

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Nov 5, 2018

see first screenshot posted by @mel26 -> no 3 dow menu

@tobiasKaminsky
Copy link
Member

ahaha. Stupid me.
I only saw the first three dot menu, but not the menu for the link…

As you are the UI pro, maybe you can have a look?

I will then have a look if and how shares to user should have an expiration date.

@AndyScherzinger
Copy link
Member

As you are the UI pro, maybe you can have a look?

I'll have a look. Might be though that we need to have ellipsizing in place (pretty sure we need to)

@tobiasKaminsky
Copy link
Member

We have enough vertical place…But I am unsure how this could look like in a good way…

@AndyScherzinger
Copy link
Member

We have enough vertical place…But I am unsure how this could look like in a good way…

No idea really. We can of course try to implement this with multi-line fields which would also solve th issue and would be an alternative to ellipsizing, true.

@mel26
Copy link
Author

mel26 commented Nov 5, 2018 via email

@AndyScherzinger AndyScherzinger added design needs info Waiting for info from user(s). Issues with this label will auto-stale. labels Nov 6, 2018
@AndyScherzinger
Copy link
Member

looking for @nextcloud/designers' input. For the sharing dialog on Android we have the situation that (for sharing links we might have translations (like this one) where the text consumes to much space leading to the menu being hidden. We do have 2 (technical) solutions for this:

  • ellipsize the text (ellipsizing middle?) so the single line item layout will be preserved while that means the texts might be shortened
  • make the texts 2-line text which will lead to list items of different size or slightly different layouting (1-line Text for user shares vs. 2-line Text for link shares)

Actual situation for a non-Englisch screen:
47970300-9ab2f080-e094-11e8-8b50-cef4b750a80c

@jancborchardt
Copy link
Member

Yeah, we also had these space issues on the server. We decided that for links we only show:

Share link [ 📋 Copy ] •••

And the "Allow editing" checkbox needs to go into the 3-dot menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved bug design needs info Waiting for info from user(s). Issues with this label will auto-stale. pr exists
Projects
None yet
Development

No branches or pull requests

5 participants