Version 1 (modified by 14 years ago) ( diff ) | ,
---|
Proposal title
Date | 2011/05/23 |
Contact(s) | François Prunayre |
Last edited | |
Status | draft/to be discussed |
Assigned to release | Release number, to be determined |
Resources | Module available in sandbox |
Ticket # |
Overview
This proposal aims to move current GUI for search, view and editing to a new layout based on the work made in the widgets sandbox. The main application is composed of one page which allows user to search, view and edit metadata records. The administration remains as it was.
Proposal Type
- Type: User interface
- App: GeoNetwork
- Module: User interface
Links
- Documents:
- Sandbox creation proposal: http://trac.osgeo.org/geonetwork/wiki/proposals/componentsBasedGui
- Demo web sites :
- Blog & description (screenshots):
- Email discussions:
- Other wiki discussions:
Voting History
- Vote proposed by X on Y, result was +/-n (m non-voting members).
Motivations
The idea was to provide a sample client application which could be easily modified and customized for your needs. It depends on simple JS components. The view and edit mode still depends on GeoNetwork XSLTs rendering.
Proposal
A new maven module nammed "web-client" has been created for the client application. This module is only composed of JS and html page. YUI pluggin is used for compression (all in one file for the application + ext.js). The number of JS dependencies has been reduced to the minimum focusing on using :
- OpenLayers
- Ext.js + some Ext.ux
- GeoExt.js + one GeoExt.ux
The overall size of JS decrease and the number of request for the page load also decrease which results on faster page initialization.
The 2 GUI could coexist for some times event if it's probably better to clean the code base. Hook needs to be added to :
- the admin create metadata action
- the admin import results page
New services has been created in order to make the old and new GUI work. XSLTs for view and edit mode has been refactored a bit and grouped in a metadata folder. Hardcoded CSS styles have been removed.
New feature :
- search form :
- autocompletion (using OpenSearch suggestion)
- organisation search field
- scale denominator search field
- spatial representation type search field
- validation status search field
- search results :
- Thumbnail view
- Bbox highlighting
- Zoom to bbox
- Display organisation logo
- validation status information
- select "all in page"
- summary by keyword to refine the current search
- Metadata view :
- a simple view mode by default
- Editor :
- suggestion panel
- Interactive map
- Search for WMS from the add WMS panel
- Layer opacity slider in layer tree
For the search results, access to all actions are available using a contextual menu (right click) or using the "Actions" menu which is displayed next to the title.
Missing feature :
- search form
- distributed search form (Z3950RepositoryStore.js already provides access to the list of nodes)
- INSPIRE search fields
- search results (Template.js)
- remote search when harvested
- bbox, date
- i18n : Update/Create language file from existing element in strings.xml. Add missing one (see lang folder).
- Interactive map
- WMSTime button to be restored
Backwards Compatibility Issues
None that I can see
New libraries added
New libraries : some ux for Ext.js (Rating). Libraries removed (for the client) : Scripaculos, Prototoype
Risks & improvements
Add missing features.
Future improvements: Provide JSON response (from Jeeves services) to reduce the XML parsing on the client side.
Participants
- François Prunayre
- Part of the JS libs comes from the geocat.ch work.
Attachments (9)
- home.png (273.0 KB ) - added by 13 years ago.
- ui1.png (51.6 KB ) - added by 12 years ago.
- ui2.png (218.9 KB ) - added by 12 years ago.
- ui3.png (751.1 KB ) - added by 12 years ago.
- ui4.png (267.1 KB ) - added by 12 years ago.
- ui5.png (1.1 MB ) - added by 12 years ago.
- ui6.png (298.1 KB ) - added by 12 years ago.
- ui7.png (232.0 KB ) - added by 12 years ago.
- ui-eea.png (297.2 KB ) - added by 12 years ago.