Bug 48811

Summary: Need ComboBox which accepts empty or other values
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UMC (Generic)Assignee: Johannes Keiser <keiser>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.4Flags: best: Patch_Available+
Target Milestone: UCS 4.4-1-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=25054
https://forge.univention.org/bugzilla/show_bug.cgi?id=17941
https://forge.univention.org/bugzilla/show_bug.cgi?id=14780
https://forge.univention.org/bugzilla/show_bug.cgi?id=31857
https://forge.univention.org/bugzilla/show_bug.cgi?id=38762
https://forge.univention.org/bugzilla/show_bug.cgi?id=49695
https://forge.univention.org/bugzilla/show_bug.cgi?id=30387
https://forge.univention.org/bugzilla/show_bug.cgi?id=49922
What kind of report is it?: Bug Report What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 42335, 48810, 49405, 49610, 16923    

Description Philipp Hahn univentionstaff 2019-02-27 18:02:24 CET
The referenced 3 bugs are examples, where a ComboBox is used to show the administrator some values to pick from, but
- either it should be allowed to select no entry (or the empty entry)
- enter other values by hand as the list of provided values is not complete.

We should have such a native widget.
Comment 1 Florian Best univentionstaff 2019-02-27 18:06:30 CET
Yes, we absolutely need this!
Comment 2 Florian Best univentionstaff 2019-04-15 11:12:40 CEST
Patch in branch fbest/48811-combobox.
Comment 3 Florian Best univentionstaff 2019-04-15 13:59:20 CEST
Where else could we apply this widget?

Users:
* Mail home server ? (is currently a dynamic fixed list)
* Windows home drive

It would be nice if one could differentiate between the two widgets, e.g. by not showing the drop down icon but autocomplete values when typing.
Comment 4 Philipp Hahn univentionstaff 2019-04-15 14:20:35 CEST
(In reply to Florian Best from comment #3)
> Where else could we apply this widget?
> 
> Users:
> * Mail home server ? (is currently a dynamic fixed list)
> * Windows home drive

NFS home share - at least customer 00026 uses the UCRV to change the syntax from "WritableShare" to "string" to be able to user their external NFS storage system.

> It would be nice if one could differentiate between the two widgets, e.g. by
> not showing the drop down icon but autocomplete values when typing.

Once upon a time there was an OS / PL where they were distinguished by some space between the "text box" and the "drop-down button":
- w/o the space it was a filtering selection list
- with the space either an item from the list could be selected or some free text could be entered in the text box.

Rather subtile but it worked back than.

<https://docs.microsoft.com/en-us/windows/desktop/uxguide/ctrl-drop>
Comment 5 Florian Best univentionstaff 2019-04-15 14:23:02 CEST
* Services for Computer objects? (are currently a fixed dynamic list)
Comment 6 Florian Best univentionstaff 2019-06-11 13:47:54 CEST
Another widget which needs this: Bug #49610
Comment 7 Philipp Hahn univentionstaff 2019-07-24 09:22:01 CEST
And Bug #49695
Comment 8 Johannes Keiser univentionstaff 2019-07-25 11:50:08 CEST
frontend only

508d178d32 Bug #48811: yaml
81c4969507 Bug #48811: yaml
81366cbb11 Bug #48811: debian changelog
198707f762 Bug #48811: Add SuggestionBox.js

Successful build
Package: univention-web
Version: 3.0.5-21A~4.4.0.201907251142
Comment 9 Johannes Keiser univentionstaff 2019-07-25 12:18:21 CEST
8771e596e6 Bug #48811: yaml
3231c55e84 Bug #48811: debian changelog
c12a59f95b Bug #48811: fix filename

Successful build
Package: univention-web
Version: 3.0.5-22A~4.4.0.201907251210
Comment 10 Johannes Keiser univentionstaff 2019-07-25 17:27:33 CEST
9bffac2a29 Bug #48811: yaml
f5ff2a342a Bug #48811: add combobox syntax

Successful build
Package: univention-management-console-module-udm
Version: 9.0.12-19A~4.4.0.201907251722

Successful build
Package: univention-directory-manager-modules
Version: 14.0.13-3A~4.4.0.201907251720
Comment 11 Florian Best univentionstaff 2019-07-25 18:15:47 CEST
OK: SuggestionBox works nice
OK: UDM combobox works as well, but currently unused
OK: YAML
For further things: Bug #49922