-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Ldap agent credentials save #5568
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
Conversation
|
Nice fix! This was somewhat confusing before. 👍 |
|
Two pieces of feedback:
I don’t know what DN is (let’s avoid technical jargon), but can we put the DN field and password field next to each other at half width, and put the save button next to it? Then it seems more like a unit. Also, if the credentials were changed, we could give the button a |
The "Distinguished Name" (sort of user identifier) can be quite long. Today I saw one that already does not fit into this size. Can be done, but perhaps not that user friendly.
That class is news to me, what does it do? Certainly possible. |
Makes the button blue (or the color of theming). Used on primary buttons like the log in button, or »Choose file« in the file picker, Reply/Send in the Mail app etc. |
Uh, this requires additional logic for enter buttons presses, etc.? → out of scope for this PR |
Codecov Report
@@ Coverage Diff @@
## master #5568 +/- ##
============================================
+ Coverage 52.82% 52.83% +<.01%
Complexity 22802 22802
============================================
Files 1442 1442
Lines 88562 88567 +5
Branches 1349 1349
============================================
+ Hits 46787 46792 +5
Misses 41775 41775
|
I added now some whitespace instead: |
No, not sure what you mean. You simply add |
I'd expect besides a nice color, there is also a shortcut connected to it (e.g. pressing Enter). Maybe my expectations are wrong. Anyway, these buttons are styled by jQ-UI (i hear you sighing) and thus the primary class values are not respected. I have no idea how to un-jq-ui-fy them (only how to make it bad diffrenetly), other than theming it. Which could not reuse primary either. Leaves duplicating the primary class code to the ldap css 🙊 and add important over it. Proper solution is to get rid of the jQuery in general and transform the wizard to the tab-less approach. But this isn't done quickly and i won't have resources for it before Sep. |
That has to be done either by proper HTML (putting it as the main input type="submit" in the |
|
Alright, looks good. :) But ideally there should only be one primary button at a time. That's why it's called primary. ;) |
OK, i take the feature out of the bug fix and finish that when i am back end of Aug. |
d358557 to
a8c6d07
Compare
|
Just make only the continue button primary. |
Feature nevertheless ;) This goes to #5749 Thus, there should not be a blocker anymore. Final reviews, por favore? |
a8c6d07 to
a30ff24
Compare
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
(…in a stupid way) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
a30ff24 to
7b0868d
Compare
|
Rebased. |
MorrisJobke
left a comment
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, works and looks good with the latest style updates to the LDAP wizard in master. 👍
|
@nextcloud/ldap Final review please :) |



Fixes #4476
Some notes, first about the GUI. @nextcloud/designers !
The Save Credentials button is new, now, and always enabled (since you can allow anonymous access to LDAP). Imho it is not clear the this button must be pressed on changes to the DN or password. Also, it feels to dense. Possible enhancements:
What do you think? If you have other suggestions, appreciated.
Second, some technical notes:
@nextcloud/ldap