Skip to content

Implement the option to select the Search service to use when performing a search #9751

@dsuren1

Description

@dsuren1

Description

MapStore supports the option to configure multiple search services and assign them a priority to sort results. However, a search is always triggered against each and every configured service.

We want to implement the option for users to select the search to use to perform a search.
The hamburger menu should list the available services

A bonus feature would be the option to configure an icon for each service (by extending the search service configuration).

Mock design

screencast-localhost_8081-2023.11.24-10_48_33.webm

More details

Acceptance criteria

  • Allow configured services to be nested under Search by Location Name
  • On selecting Search by Location Name, text search by default applies to all services configured
    • Tooltip should say Search on all services below
  • Each search service is listed under Search by Location Name as shown below
    image
  • Show sub-menu when services configured is more than one
  • On selecting a single search service, the text search applies only to that service.
    • Should we include default services configured in the search plugin along with the service selected i.e Override default services is applicable for each service? @offtherailz
      Feeback
      • if the user checks "Override default services" only the ones configured from the UI will be listed. Otherwise the configured from the UI will be added to the default ones.
      • If only one service is present in the list, the sub-menu is redundant and so is not shown.
      • If more then one service is present, so we will show the sub menu.
    • A placeholder can be configured in the wizard (By default, can we use the name of the service? @offtherailz ) - Feeback - Service name|Service type
    • Is a tooltip required on each service? @offtherailz - Feeback - Make it configurable like placeholder
      - [x]Is the option to configure an icon for each service applicable for this issue? Is the icon to be an image only? Or we support only the glyph icons supported in MS? Feeback - Future enhancement, based on client's request

Other useful information

Ref: https://github.com/geosolutions-it/geonode-dubai/issues/7

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions