-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Dont show menu automatically when share link is clicked #16454
Dont show menu automatically when share link is clicked #16454
Conversation
/compile fixup / |
This is basically what #14280 was supposed to do for links that don't require additional options. @jancborchardt Wasn't to happy about generally not showing the menu:
@jancborchardt Maybe we should try to get it in as a temporary fix for 17 until #276 is done with 18? |
If we do it, acceptance tests will need to be adjusted 😉 |
Yeah, but this came up in the polishing session, and opening the menu every time is quite annoying now that we used it for some time. We could still add an enhancement that opens the menu only once per user. But we definitely should merge this here as papercut. |
@juliushaertl Can you give @GretaD some hints about the integration tests? :) |
@GretaD For running them locally have a look at the run script https://github.com/nextcloud/server/blob/master/tests/acceptance/run.sh#L20 which also has some nice writeup by @danxuliu Note that it will require you to have docker setup on your local system. This is probably the test that needs adjustment:
|
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Now the link share menu is not automatically opened after a link share is created, so waiting until it was opened failed in iShareTheLinkFor. Note that the steps that interact with the link share menu take care themselves of showing the menu if needed, so there is no need to explicitly show it despite the change. Also, the waiting in iShareTheLinkFor was introduced when the link share menu was changed to automatically open after creating a link share, as that caused some issues with the steps that opened the menu by themselves (fec8d12). Due to all this, now that the link share menu is again not automatically opened the wait can be simply removed. Signed-off-by: Greta Doci <gretadoci@gmail.com>
8464ccd
to
1993984
Compare
Rebased and fixed up |
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.
Tested and works 👍
ref #16076