Editor UI behavior when validation errors detected

Description

The Alpha Editor should implement some UI behavior when validation errors are detected.

  • Set the default save as status to needswork

  • Open a confirmation modal when using key commands to save (ALT+ENTER) or navigate away (ALT+KEYUP/KEYDOWN)

  • Display an error indicating icon in the transunit status bar for transunits with detected errors

  • Hide the validators information panel when a textflow is not selected (as the status bar will indicate errors)

Activity

Show:
Sean Flanigan
June 22, 2018, 3:42 AM

Set the default save as status to needswork

Save as needswork when using key commands

Not quite sure about these two.

We certainly don't want to save as Translated (and the server should prevent it, I hope). But if the user doesn't realise validation has failed, "quietly" saving as Fuzzy a message which used to be Translated could be a problem.

Earl Mark Floden
June 22, 2018, 5:12 AM

Yes the server does prevent saving as Translated, if the user is able to send a save as translated request it results in an internal server error notification.

There is some concern about users navigating away from a translation with errors and unintentionally saving as Fuzzy, we could try to reduce this risk by making it clearer to the user that there are errors preventing saving as Translated.

There is an indicator next to the 'Save as' buttongroup that errors have been detected, we can make this more prominent and give it an on-hover title of something to the effect of "Errors detected, you may only save as Needs Work" (Fuzzy)
Currently it looks like:

The GWT editor uses a modal to resolve invalid save attempts, but I think it would make more sense to disable or hide invalid selections rather than try to catch and resolve them.

Earl Mark Floden
July 3, 2018, 12:37 AM

Implemented the confirmation modal to show when users attempt to navigate/save with key commands with a validation error

Assignee

Earl Mark Floden

Reporter

Earl Mark Floden

Labels

Tested Version/s

None

Epic Link

Components

Sprint

None

Fix versions

Priority

unspecified
Configure