ES-DOC / esdoc-errata-client

Client utility for managing dataset errata.
https://ipsl.gitbook.io/esgf-errata-service
Other
3 stars 2 forks source link

Improve error handling on the Search (by pid) page #12

Open jypeter opened 5 years ago

jypeter commented 5 years ago

When I use the Dataset Errata - PID page, things work OK if the search returns a result, e.g with: hdl:21.14100/2aeb09d8-8a92-4277-afc6-4ae258c69316

Unfortunately, if you search something that does not exist (e.g replace 16 with 17 in the previous pid):

Same problem on FF and Chrome

Same problem if you type something else than a PID (I naively started trying a free form text search). It would be nicer in that case to have a popup displaying the allowed type of input

Also, what would be nice (if doable), would be to start the Search by typing Return, rather than having to click on Search. Right now, nothing happens when you type Return