Bug 1373945 - [RFE] add autocompletion to form text inputs
Summary: [RFE] add autocompletion to form text inputs
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.Core
Version: 4.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 13:43 UTC by Lucie Leistnerova
Modified: 2016-10-31 14:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-31 14:50:38 UTC
oVirt Team: Virt
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Lucie Leistnerova 2016-09-07 13:43:07 UTC
Description of problem:
I miss autocompletion feature on all form text inputs. 

For example it is common to have similar IP adresses for hosts, so it would be easier to use already entered IPs and change only last few digits. And also names for hosts and VMs can be similar.

In login form the autocompletion works, but then in admin portal doesn't (any editing form).

Comment 1 Michal Skrivanek 2016-09-08 06:17:50 UTC
Several input boxes have type ahead (e.g. In Edit VM). You need to specify where exactly you miss it and likely open a bug per vertical

Comment 2 Lucie Leistnerova 2016-10-20 07:55:32 UTC
I see, but type ahead is not exactly what I meant. It gives you only the values that already are saved in the database, but browsers have feature for html forms and they give you values that you already have typed in before for the same input name.
Is it possible to have the UI forms as really html forms?

Comment 3 Michal Skrivanek 2016-10-20 08:54:16 UTC
Hm..dunno. I don't think we use it anywhere. Alex, any idea?

Comment 4 Alexander Wels 2016-10-31 12:29:18 UTC
@Michal,

I am not entirely sure how the browser decides to save certain values as a group, but I suspect that it groups them based on the <form> tag. Basically stuff that is in a form tag get saved by the browser in some type of local storage. The problem with that for our application is that 'submitting' the form is a round trip to the server and then the server sends back the result, while we have a single page application that stores its state in memory. So we can't do a simple form submit like other applications. Now there might be a way to get a similar effect but I would have to do some research on how to achieve this.

Comment 5 Michal Skrivanek 2016-10-31 12:42:29 UTC
Thanks Alex, if it's not easily doable then I don't think we should do that. It's a nice to have RFE and it might be that due to our technical limitations it's not really feasible. Thank you for analysis.
Lucko, I'd close this WONTFIX, or CANTFIX, as you prefer. We can keep it open but I think it's unlikely to happen in the current GUI

Comment 6 Lucie Leistnerova 2016-10-31 14:00:46 UTC
OK

Comment 7 Michal Skrivanek 2016-10-31 14:50:38 UTC
closing as unfeasible with our current gui infra


Note You need to log in before you can comment on or make changes to this bug.