Closed harunurhan closed 7 years ago
Also when getting the record and saving the record, GET
and PUT
requests it might happen that the user does not have permissions. We can show a message for that.
After extracting references it might also be good to show 'Extracting references...'
Yes, DESY also requested an 'Extracting References' message. Could be with a spinner.
A similar message 'Record is locked by user XXX' should be shown when someone tries to access the record but it is locked by someone else, see https://github.com/inspirehep/record-editor/issues/110
updated the list, @jmartinm @StellaCh
reverting: Reverting record to revision:
This description is not clear. What does it mean?
I think it's good to show user a little bit of information when we the record loading or tickets etc and also notify them if any request is failed.
When
record is loading:Record is loading...
tickets are loading:Tickets are loading...
Couldn't load the record!
Couldn't load the tickets!
Logged in user can not access to tickets
Extreacting references...
N references are extracted successfully
v2
(after #192 is merged)
Reverting record to revision: <date>
Record is to revision: <date>, now you can edit
(Please add more or remove if you have something in mind @StellaCh @jmartinm )
UI
We could use https://github.com/scttcper/ngx-toastr for toast notifications