-
-
Notifications
You must be signed in to change notification settings - Fork 491
Basket for custom selection proposal
Date | 2 February 2017 | Contacts | Francois Prunayre |
Status | Call for vote | Release | 3.4? |
Source code | PR 1866 | ||
Supported by | metawal |
- Type: UI
- Module: UI
- Vote Proposed: 03 February 2017
See https://github.com/geonetwork/core-geonetwork/pull/1866
Currently GeoNetwork only support simple & single selection by session. In order to improve that mechanism, this proposal add customizable basket feature.
Based on the multiple selection support, a new capability is added to the selection menu in order to select one or more records in the search result pages and then add those records to the map in one click.
On add selection to map
click, the list of WMS layers from all selected records are retrieved
and then sent to the map.
Currently selection is cleared when user clear selection or when session ends.
This feature allows to persist a selection for a user under a defined name. This is useful to remember a set of records that user use regularly.
By default, the following persistent selections are added:
-
WatchingRecords selection
-
MyFrequentlyUsedRecords selection
A new table is added selections
- type
- label (optional - multilingual)
- metadataId
- userId
or
selection
- label
- userid
- watch : y/n
selectionMetadata
- selId
- metadata
Persistent selection are indexed in lucene
- selection_
name
: userId
How to share a selection ? Using the search.
API:
- GET /api/selections/persistent: Return the list of persistent selection
- GET /api/selections/persistent/
selectionId
: Return the list of records for current user - GET /api/selections/persistent/
selectionId
/userId
: Return the list of records for requested user - PUT /api/selections/persistent/
selectionId
/userId
: Add records to requested user selection - DELETE /api/selections/persistent/
selectionId
/userId
: Delete records from requested user selection
This selection is a daily task which warn user by email about records he want to be notified about.
Task runs once a day. Task execution is defined at compile time with:
TODO
When connected, user can add one or more records to his/her watch list.
-
Add selection to watch list in the search results
-
Add current record to watch list in the record page
From the user page, each user can manage his/her watch list.
-
View list of records
-
Remove all / one or more records
== This should be part of the API apps ? ==
The notification email contains:
-
List to modified records since last execution
-
Link to the search page with all modified records
The mail makes use of http://schema.org/ViewAction in order to provide quick links in messaging systems.
This selection allows user to register a list of preferred records. This list is accessible from the home page and provides quick access to a set of records.
When connected, user can add one or more records to his/her watch list.
-
Add selection to watch list in the search results
-
Add current record to watch list in the record page
From the user page, each user can manage his/her watch list.
If you have some comments, start a discussion, raise an issue or use one of our other communication channels to talk to us.