Uh oh!
There was an error while loading. Please reload this page.
Ldap agent credentials save - #5568
Conversation
enoch85
commented
Jun 30, 2017
Nice fix! This was somewhat confusing before. 👍 |
jancborchardt
commented
Jun 30, 2017
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 |
blizzz
commented
Jun 30, 2017
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. |
jancborchardt
commented
Jun 30, 2017
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. |
blizzz
commented
Jul 5, 2017
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
|
blizzz
commented
Jul 5, 2017
I added now some whitespace instead: |
jancborchardt
commented
Jul 6, 2017
No, not sure what you mean. You simply add |
blizzz
commented
Jul 6, 2017
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. |
jancborchardt
commented
Jul 6, 2017
That has to be done either by proper HTML (putting it as the main input type="submit" in the |
blizzz
commented
Jul 6, 2017
jancborchardt
commented
Jul 17, 2017
Alright, looks good. :) But ideally there should only be one primary button at a time. That's why it's called primary. ;) |
blizzz
commented
Jul 17, 2017
OK, i take the feature out of the bug fix and finish that when i am back end of Aug. |
d358557 to
a8c6d07Comparejancborchardt
commented
Jul 17, 2017
Just make only the continue button primary. |
blizzz
commented
Jul 17, 2017
Feature nevertheless ;) This goes to #5749 Thus, there should not be a blocker anymore. Final reviews, por favore? |
a8c6d07 to
a30ff24CompareSigned-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
7b0868dCompareMorrisJobke
commented
Oct 27, 2017
Rebased. |
MorrisJobke
left a comment
There was a problem hiding this comment.
Tested, works and looks good with the latest style updates to the LDAP wizard in master. 👍
MorrisJobke
commented
Oct 27, 2017
@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