SJRK-351: Display meaningful error message for publishing errors

Metadata

Source
SJRK-351
Type
Task
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2020-04-29T19:28:05.863-0400
Updated
2020-09-14T15:16:30.449-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server
  2. Storytelling Tool UI

Description

In situations where the server reports an error during publishing, where there are no security concerns for reporting said errors, show the message on the Edit page rather than the vague "Internal server error" message.

E.g. for a story being too big, the message is available to the client, but it is not displayed. Show something like "Total story size (X MB) is too large. The maximum total story size, including all files, is Y MB"

Design question:

What should the "files too big" warning look like? I.e. appearance, copy, & persistence

https://files.inclusivedesign.ca/s/zjNQBP2HCd2x4bJ

Attachments