-
Notifications
You must be signed in to change notification settings - Fork 2.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
Public link share cleanup #29721
Public link share cleanup #29721
Conversation
@felixheidecke I saw that the UI tests were failing here, due to the text of the button on the UI changing to "Share". I made the change and intended to push it to a separate branch and do a PR to here - but accidentally committed it directly here. Anyway, the latest commit here should make the UI tests pass. |
@phil-davis I don't mind you committing directly if it helps the PR pass :-) |
2446121
to
4a28344
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.
please squash commits to reasonable units - THX
core/js/sharedialoglinkshareview.js
Outdated
@@ -314,7 +311,7 @@ | |||
var self = this; | |||
var title = t('files_sharing', 'Edit link share: {name}', {name: this.itemModel.getFileInfo().getFullPath()}); | |||
var buttons = [{ | |||
text: t('core', 'Save'), | |||
text: t('core', 'Share'), |
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.
does "Share" also make sense when editing a link ? I'd rather have "Save" on edit and "Share" a creation time
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.
Yes, good point!
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.
Done
505f118
to
90b08dc
Compare
@DeepDiver1975 doesn't "Squash and merge" do this in one go? |
90b08dc
to
1f90b6b
Compare
Codecov Report
@@ Coverage Diff @@
## master #29721 +/- ##
============================================
+ Coverage 60.52% 62.61% +2.08%
+ Complexity 18380 17589 -791
============================================
Files 1090 1038 -52
Lines 60949 57930 -3019
============================================
- Hits 36888 36271 -617
+ Misses 24061 21659 -2402
Continue to review full report at Codecov.
|
@felixheidecke "Squash and Merge" squashes everything into a single commit. It has been disabled on this repo, because (for generating release notes changelog etc...) the ordinary "Merge pull request" is useful. It makes a "merge commit" on top of the "real" commit(s). That merge commit has a reference back to the PR and makes automated extraction of changes back to PRs easier. (my understanding at least) |
9e4bbb2
to
c849f17
Compare
In the ticket related #29694 it is said: Adapt password and expiration date fields to a reasonable length but with this PR we get this: |
@pmaier1 @felixheidecke The solution given is a pop up that appears after sending the email |
Hmm, please adapt..
From #29694:
|
Tested in Firefox, Chrome, Safari, Edge and IE11 browsers |
As seen in the screenshot … the wording is rather inconsistent. I'm sure there are no guidelines on wording for forms; @pmaier1 pls find the right words for title and placeholder so I can choose a length. |
While "solutions" are made up on the spot and case by case, we keep creating an inconsistent user experience. Nowhere in ownCloud, we have this type of UI feedback so I wouldn't recommend it introducing it here. While I am currently working on bringing UIKit into the game and creating a unified and consistent UI/UX, I suggest sticking to the separate "notification was sent to xyz" for now. |
c849f17
to
a874a38
Compare
SuggestionPassword Expiration date and align text field length
Good point!
Turning green was just an idea. What's required here is just that the modal stays visible a bit longer. It already says something like "sent" or similar. |
Change button text 'Save' to 'Share' Change mail error text Add send confirmation after sending notification defer link creation upon failing email notification Modify UI tests for Public Link dialog Share button Show button text "share" if creating a new share
a874a38
to
bbd325d
Compare
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Related Issue
Fixes: #29694
How Has This Been Tested?
Visual tests in latest Chrome & Firefox
Screenshots (if appropriate):
Types of changes
Checklist: