Project

General

Profile

feature request #3994

Select widget to choose the filter areas for the advanced search

Added by Andreas Kohlbecker over 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Priority11
Category:
cdm-dataportal
Start date:
07/07/2015
Due date:
% Done:

100%

Severity:
critical

Description

Currently only the NamedAreas in use are shown in a simple checkboxlist. This needs to be improved.

Requirements

  • Distribution elements can have NamedAreas of multiple Vocabularies, whereas the Vocabularies can be hierarchical

    • => only include areas which are being used by Description elements
  • Display the area terms in the context of the hierarchy (for TDWG2 level also add level 3 and 4)

  • Allow choosing upper level areas

  • Allow filtering hierarchy by entered text (autosuggest)

Should we also provide a map which can be used to to the selection and which shows the selected areas

potentially useful lib plugins, etc:

autocomplete fields:

see also #5890


Related issues

Related to Edit - feature request #5890: Implement auto-suggest for data portal New 06/15/2016
Related to Edit - feature request #5071: distribution filter widget - remove button to unselect areas New 07/07/2015

History

#1 Updated by Andreas Kohlbecker about 5 years ago

  • Keywords set to search

#2 Updated by Andreas Kohlbecker almost 5 years ago

  • Target version changed from cdm_dataportal RELEASE 3.4.0 to FaunaEuropaea 2014

#3 Updated by Andreas Kohlbecker almost 5 years ago

  • Priority changed from Priority14 to Priority13

#4 Updated by Andreas Kohlbecker over 4 years ago

  • Keywords changed from search to search,FaunaEuropaea

#5 Updated by Andreas Kohlbecker over 4 years ago

  • Priority changed from Priority13 to Highest

#6 Updated by Andreas Kohlbecker over 4 years ago

  • Status changed from New to In Progress

implementing better namedAreasInUse service r23253

#7 Updated by Andreas Kohlbecker over 4 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Kohlbecker to Florian Wetzel
  • Target version changed from FaunaEuropaea 2014 to cdm_dataportal RELEASE 3.5.1

fully implemented: git: b767fc4..44756fc svn: [23361:23363]

#8 Updated by Andreas Kohlbecker about 4 years ago

Problems with the widget have been reported for the Internet Explorer

"Anmerkung zum Portal im Internet Explorer: das Durchklicken durch die TDWG-Hierarchie ist für normale Nutzer nicht zumutbar. Eine Vorschlagsliste der vorhandenen Einträge z.B. GERMANY wäre nutzbarer…

In FireFox funktioniert die Auswahl der TDWG-Einträge gut, aber auch da funktioniert die Suche nicht.

Viele Grüße,

Henning

"

please review if this problem can be reproduced. Create a new bug report ticket if the problem persists.

#9 Updated by Norbert Kilian about 4 years ago

Firefox: I tested the checklist function (taxon = *) as well assearch with genus name for several TDWG units with the Cichorieae Portal and it worked fine. But: (1) I see a problem for users with the two lists of WaterbodyOrCountry and TDWGArea: it is frustrating if you check a WaterbodyOrCountry unit while entries in the Portal are only for TDWG, and your search thus remains without results. (2) I would prefer previous choises of area units be removed when you start a new search, Now you must actively remove them (enter the name again to get the unit displayed anduncheck the unit).

IE: Yes, it seems that an entry in the area filter has no effect for the display of the area list. But the search worked fine in the cases I tested with the Cichorieae Portal-

#10 Updated by Andreas Kohlbecker about 4 years ago

Replying to n.kilian:

(1) I see a problem for users with the two lists of WaterbodyOrCountry and TDWGArea: it is frustrating if you check a WaterbodyOrCountry unit while entries in the Portal are only for TDWG, and your search thus remains without results.

The widget always only offers areas which are actually used for Distributions. So this is must a problem in the data as long as the description/namedAreasInUse web service is working as expected. The offending Distribution belongs to the taxon Cichorium intybus L. subsp. intybus sec. "Edit WP6 - Cichorieae", . 2006 with the uuid @cb5ef875-c731-4800-bca5-74f379419291@. Could you clean this up?

(2) I would prefer previous choises of area units be removed when you start a new search, Now you must actively remove them (enter the name again to get the unit displayed and uncheck the unit).

Agreed! I created a subticket (#5071) in which I suggested a possible solution

IE: Yes, it seems that an entry in the area filter has no effect for the display of the area list. But the search worked fine in the cases I tested with the Cichorieae Portal-

Could you give a specific example?

#11 Updated by Norbert Kilian about 4 years ago

Replying to a.kohlbecker:

Replying to n.kilian:

(1) I see a problem for users with the two lists of WaterbodyOrCountry and TDWGArea: it is frustrating if you check a WaterbodyOrCountry unit while entries in the Portal are only for TDWG, and your search thus remains without results.

The widget always only offers areas which are actually used for Distributions. So this is must a problem in the data as long as the description/namedAreasInUse web service is working as expected. The offending Distribution belongs to the taxon Cichorium intybus L. subsp. intybus sec. "Edit WP6 - Cichorieae", . 2006 with the uuid @cb5ef875-c731-4800-bca5-74f379419291@. Could you clean this up?

I have cleaned the entry and as you expected WaterbodyOrCountry is not available anymore for selection. Great.

(2) I would prefer previous choises of area units be removed when you start a new search, Now you must actively remove them (enter the name again to get the unit displayed and uncheck the unit).

Agreed! I created a subticket (#5071) in which I suggested a possible solution

IE: Yes, it seems that an entry in the area filter has no effect for the display of the area list. But the search worked fine in the cases I tested with the Cichorieae Portal-

Could you give a specific example?

IE: No matter what I enter in the filter field, e.g. Brazil, the preselection vanishes and nothing happens. If I check the box for an item after having scrolled for it, it is selected, e.g. Hawaii, and if I then enter "Haw" the filter narrows the selection to the preselected Hawaii.

#12 Updated by Andreas Müller about 4 years ago

ist womöglich noch/schon auf Eurer Agenda (da wir die Diskussion bereits vor ein paar Wochen hatten), aber für Zypern funktioniert die Area-Auswahl auch noch nicht. Habe gerade mit Norbert als Zeuge getestet (Firefox). Beispiel: Marsilea*, die nur in Division 4 vorkommt.

Schönen Gruß

Ralf

#13 Updated by Andreas Kohlbecker about 4 years ago

Replying to a.mueller:

ist womöglich noch/schon auf Eurer Agenda (da wir die Diskussion bereits vor ein paar Wochen hatten), aber für Zypern funktioniert die Area-Auswahl auch noch nicht. Habe gerade mit Norbert als Zeuge getestet (Firefox). Beispiel: Marsilea*, die nur in Division 4 vorkommt.

Schönen Gruß

Ralf

Die Auswahl funktioniert wohl, es gibt aber bei der Suche ein Problem das schon bekannt und hinreichend beschrieben ist:

#5069 , #4595

#14 Updated by Andreas Müller over 3 years ago

  • Assignee changed from Florian Wetzel to Andreas Kohlbecker

As subticket is still open this ticket can not be closed yet.

We should either remove the child ticket as child or consider fixing it in the near future.

#15 Updated by Andreas Müller about 3 years ago

#16 Updated by Andreas Kohlbecker almost 3 years ago

#17 Updated by Andreas Kohlbecker almost 3 years ago

  • Description updated (diff)
  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

#18 Updated by Andreas Kohlbecker almost 3 years ago

  • Private changed from Yes to No

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)