cwrc / cwrc_dtoc_edition

CWRC Digital Table Of Context Edition
0 stars 0 forks source link

Add error message when Voyant call times out #14

Closed ilovan closed 5 years ago

ilovan commented 5 years ago

Could we have two different messages, one for any user and one for the users who have editing privileges to the DToC object?

Message for any user: "We are unable to retrieve the corpus from Voyant. Please refresh the page in a couple of minutes. If the problem persists, contact the corpus owner."

Message for corpus editor: ""We are unable to retrieve the corpus from Voyant. Please refresh the page in a couple of minutes. If the problem persists, try to regenerate the corpus by editing its metadata or DToC datastream. If this method fails, contact CWRC."

ilovan commented 5 years ago

If separate messages doesn't work, let's go with "We are unable to retrieve the corpus from Voyant. Please refresh the page in a couple of minutes"

nikathone commented 5 years ago

Pushed the changes for any user and corpus editor.

Also I was thinking if we can tweak the text a little bit for corpus editor to let them know that they can just try to regenerate the corpus id if it failed before without going through the edit process. The same way we do with refresh.

ilovan commented 5 years ago

that sounds good, @nikathone , I am assuming it would not take too long to implement, right? if it does, we can leave it out for now

nikathone commented 5 years ago

Pushed the changes.

ilovan commented 5 years ago

great, thanks

On Mon, Mar 25, 2019 at 3:07 PM Nia Kathoni notifications@github.com wrote:

Pushed the changes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cwrc/cwrc_dtoc_edition/issues/14#issuecomment-476377698, or mute the thread https://github.com/notifications/unsubscribe-auth/AGS1hv-hZS0LzcJCj_5dGKep7ZnWthSGks5vaTp7gaJpZM4cEfDZ .

-- Mihaela Ilovan

Project Manager Canadian Writing Research Collaboratory University of Alberta 4-20 Humanities Centre Edmonton, AB Canada T6G 2E5

780-966-4507 ilovan@ualberta.ca