[Geoserver-devel] Replacing drop downs for long lists of values (JDBCConfig)

Hi,
so going back to the user interface, in a previous thread we said that
there is a number of combo boxes and two pane selectors in the
UI that would just break badly when working against a very large catalog.
Think for example about the style dropdown, trying to choose from
100000 different styles (good luck with that…), it would be unmanageable
from a size p.o.v. (too large HTML) but also for the admin to find
anything in it.

For the combo boxes, I was thinking that we could have something like
the SRS editor, that is, text input plus a button following it, to open
a dialog that can act as a search GUI (less intimidating than
a empty text box):

Inline image 1

The text box would be auto-complete style, and would return
anything that contains the typed text, the find would open a
dialog like the layer panel one, but paged, and with the ability to
filter using the usual search box:

Inline image 2

Now… should we have this as the default UI? Personally I find the auto-complete
interesting, because I find sometimes I know more or less then name of what I’m
looking for (“it had red inside the word”) but might struggle finding it in a dropdown
with 100 or so elements.

An alternative would be that we put a size limit, and we have a component that
switches between combo and the above representation (e.g., switch when there
are more than 100 items, or 1000 items).

For the side by side panel case (think alternative styles in the layer editor) we have
a similar issue, and I guess we could have something similar to the keyword editor,
but with the autocomplete text + find on top of it (instead of below), and an arrow to add
the new item to the list of selected items

Inline image 3

Feedback please :slight_smile:

Cheers
Andrea

···

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Andrea,

+1 for autocomplete being the default, but there should definitely be a way for folks to use a non-autocomplete option too ( for < 1000 or whatever features). This way folks who are not intimately familiar with the project will be better able to use it by navigating a list rather than trying to guess the name of the thing. I realise most names are in other lists, and could be cross-referenced manually, but that’s rather cumbersome.

Cheers,

Jonathan

(attachments)

image.png
image.png
image.png

···

Hi,

so going back to the user interface, in a previous thread we said that

there is a number of combo boxes and two pane selectors in the

UI that would just break badly when working against a very large catalog.

Think for example about the style dropdown, trying to choose from

100000 different styles (good luck with that…), it would be unmanageable

from a size p.o.v. (too large HTML) but also for the admin to find

anything in it.

For the combo boxes, I was thinking that we could have something like

the SRS editor, that is, text input plus a button following it, to open

a dialog that can act as a search GUI (less intimidating than

a empty text box):

Inline image 1

The text box would be auto-complete style, and would return

anything that contains the typed text, the find would open a

dialog like the layer panel one, but paged, and with the ability to

filter using the usual search box:

Inline image 2

Now… should we have this as the default UI? Personally I find the auto-complete

interesting, because I find sometimes I know more or less then name of what I’m

looking for (“it had red inside the word”) but might struggle finding it in a dropdown

with 100 or so elements.

An alternative would be that we put a size limit, and we have a component that

switches between combo and the above representation (e.g., switch when there

are more than 100 items, or 1000 items).

For the side by side panel case (think alternative styles in the layer editor) we have

a similar issue, and I guess we could have something similar to the keyword editor,

but with the autocomplete text + find on top of it (instead of below), and an arrow to add

the new item to the list of selected items

Inline image 3

Feedback please :slight_smile:

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


This message has been scanned for viruses by MailControl, a service from BlackSpider Technology

Click here to report this email as spam.

On Mon, Nov 17, 2014 at 6:47 PM, Jonathan Moules <J.Moules@anonymised.com

wrote:

Hi Andrea,

+1 for autocomplete being the default, but there should definitely be a
way for folks to use a non-autocomplete option too ( for < 1000 or whatever
features).

That's why I put that "find" button on the side, you can click it and
search in a paged dialog that won't explode if the are too many
items.

The other option is, as said, to switch between combo and autocomplete text
+ dialog based on the number of items,
but I'm afraid it would be surprising to people (what if you end up living
at the threshold... you get one control
or the other depending on the hour of the day? :wink: )

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

The other option is, as said, to switch between combo and autocomplete text + dialog based on the number of items,
but I'm afraid it would be surprising to people (what if you end up living at the threshold... you get one control
or the other depending on the hour of the day? :wink: )

Think of it as adding exciting and variety to their lives! :wink:
But yes, good point. The “Find” button and dialog should suffice in that case I’d guess as the alternative.

Cheers,
Jonathan

________________________________

HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them.
If you have received this message in error please advise us immediately and destroy all copies of it.

HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099

________________________________

But yes, good point. The “Find” button and dialog should suffice in
that case I’d guess as the alternative.

I like this too. Seems like good way to get best.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

+1 for autocomplete by default + find button. Looks really neat.

(very) small observation: try using the appropriate CSS for the find button so it looks like the default OK/Cancel buttons.

···

On Mon, Nov 17, 2014 at 5:19 PM, Phil Scadden <p.scadden@anonymised.com…> wrote:

But yes, good point. The “Find” button and dialog should suffice in that case I’d guess as the alternative.

I like this too. Seems like good way to get best.

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.


Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Gabriel Roldán
Software Developer | Boundless
groldan@anonymised.com
@boundlessgeo

On Tue, Nov 18, 2014 at 5:43 PM, Gabriel Roldan <groldan@anonymised.com>
wrote:

+1 for autocomplete by default + find button. Looks really neat.

(very) small observation: try using the appropriate CSS for the find
button so it looks like the default OK/Cancel buttons.

Yep :slight_smile:

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------