Skip to content

Proposal Save Your Search

François Prunayre edited this page Aug 27, 2015 · 3 revisions
Date 2015-08-27 Contacts Arnaud De Groof, François Prunayre
Status On going Release 3.0.3
Resources Available Ticket #
Source code
Funding Metawal

Overview

To improve user experience, add:

  • a list of predefined search (eg. most popular records, last modified).
  • the option to save a query or a selection of records (to run it later)

Proposal

Model

A search is described by:

  • a set of parameters as created by the search form (eg. ?inspiretheme=Bio-geographical%20regions)
  • a label (multilingual)
  • a creation date
  • an author
  • an order
  • a list of groups (0..n - 0 means only the author)

Tables created:

  • Search
  • id - int
  • parameters - text
  • creationdate - varchar(30)
  • authorid - int/FK users.id
  • orderposition - int
  • SearchDesc
  • iddes - int/FK search.id
  • langid - varchar(5)
  • label - varchar(255)
  • SearchSharing
  • searchid - int/FK search.id
  • groupid - int/FK groups.id

UI

The list of default predefined public search are:

  • Latest updates
  • Most popular records

In the search application:

  • a button is added for identified user to save current search
  • a button is added for identified user to save current selection as a search
  • a button is added to apply a saved search

The application URL is used to share search using the permalink.

The list of searches is displayed as a dropdown near the full text search input. Searches are ordered by:

  • public searches
  • user searches (current user is the author)
  • my group searches

In the editor board, when the search change, the page location is updated to have the same behaviour as the search app. Same interaction with the saved search is available.

In the user preference page (see https://github.com/geonetwork/core-geonetwork/wiki/Proposal-User-Preferences), the list of user search is available and can be managed.

In the admin, administrator user can managed all saved search. The saved search manager panel provides:

  • list of searches
  • with a filter input on top
  • ordered by author/position/creationdate
  • delete search
  • add/delete search groups (control visibility)
  • change search ordering (admin only - global search order)

Privileges & search visibility

  • a search attached to group all = public search (displayed on the home page)
  • a search attached to an author only = user specific search
  • a search attached to private group = search visible by all group members

Proposal Type

  • Type: UX
  • Module: Database, Admin, Angular search and editor apps

Voting History

  • Vote Proposed: ...

Participants

  • Vincent Bombaerts
  • Arnaud De Groof
  • Francois Prunayre
Clone this wiki locally