[6.0.3] Need save button on LDAP wizard
The LDAP Wizard makes all changes dynamically. In the case of using Raw filters, if a user accidentally deletes the working filter, or accidentally types something else in the filter box, it is automatically saved and the working filter is lost.
It is requested to have a save button or require the user to select "Continue" prior to saving the changes to the filter.
@blizzz
cc @jancborchardt
In general, I think we should figure out the weak points currently (@ser72 describes them) and find out how we can improve the whole experience with the auto-save.
The current design of the wizard actually requires the auto-save. Imagine following:
- You type in the host
- You need to move away with the mouse to click a far away save button
- You need to move back to the port field, because you use a non-standard port
- You need to move away with the mouse to click a far away save button
- You go up again, to the username field
- You need to move away with the mouse to click a far away save button
- You go up again, to the password field …
It is not really that comfortable. We can save on press on enter key, but this needs to be explained. People unfortunately do not read any manuals or hints. We can add an additional Save button next to every field. This will look ugly.
An alternate idea is that we can add a "lock" feature, indiciated by a closed/open lock icon (which also works as button) placed in the row with the status indicator. If it is locked, all fields will be disabled and an auto-save will not be triggered. The lock is effective for every wizard tab. I would also like to have an automatic initial lock, but this is tricky because the group configuration is optional. I.e. switching the state from non-correct to correct is not sufficient, because the user would need to unlock before he could configure groups. Maybe this is possible: if a new configuration was done AND the status switched from non-correct to correct AND the users is about to leave the page, then the lock will be triggered. I am not totally sure this is possible though. Or, every existing configuration will is locked by default when it is being loaded. Only new configurations are unlocked.
Opinions appreciated.
Suggestion, don't make it more difficult to do, make it easier to undo... just a thought which I read somewhere ;-)
In the case of using Raw filters, if a user accidentally deletes the working filter, or accidentally types something else in the filter box, it is automatically saved and the working filter is lost.
@ser72 the other way around, with the save button: putting in a new working filter and forgetting to save will result in the filter not being applied.
Ctrl-Z should work in this input field. Does it not?
@blizzz maybe only for the raw filter field there should be a dedicated »Save« button right next to it? Or a »Saved« notification with »Undo« functionality.
@blizzz @jancborchardt
Any decisions made here?
Not yet.
Well, I would refrain from Save buttons to keep consistency.
An undo could work, though I think it would be applied to the (raw) filter only as well. Otherwise we will end up in a notification hell.
cc @owncloud/designers
@littlefox94 You have similiar problems with the autocomplete of chromium, right?
That's not the issue here. Chromium ignores autocomplete and replaces credentials. This can be solved differently.
@blizzz But that was the problem of @littlefox94 because he browsed to the settings, chromium replaces the content of the input fields and the change event gets triggered -> autosave with wrong credentials
was really bad as it crashed my LDAP access and I didn't have a fallback-user ... Had to do some SQL to log in again to fix this ..
@MorrisJobke yes, understand, still a different issue (browser changes credentials by stubornity vs. user chanes filter by accident).
The new LDAP wizard since 8.1.3 has less magic and more "click button" to test. It's not a "Save" button but might still help a bit, hopefully.
Exactly, we're acting smarter now and the wizard is more robust as well. Which is also the friendlier way to go. Therefore, and because save buttons are against our philosophy, I am closing this now. If there are specific issues less, we can still reopen or better open a specific report about a problem you have and we'll look for a good solution for this.