As a user I want there to be a more holistic approach to error handling in the editor.
_Do not alter or remove anything below. The following sections will be managed by moderators only._
This item is blocking #3303 #3304 and #3306
@jauyong Is this now for error handling or opacity?
For error handling, this might be useful:
https://twitter.com/rmccue/status/1173550662296190976
https://github.com/humanmade/publication-checklist/
Thanks @swissspidy sorry, I thought I updated it but I guess it didn't save.
UX requires @swissspidy to help provide a list of errors. Immediate UX needs are to help provide copies and create rules around error handling and to adhere to Gutenberg notification components for error messages.
Note: UX can provide designs mirroring Gutenberg error handling but I would like to revisit this topic and see if we can introduce a visual language [with the Gutenberg team] to help users quickly delineate between error types and provide a path to attend to things that can break their stories.
Another error condition to consider is not providing a poster image. This error comes up less often now that the poster image is automatically extracted (usually) but it can still happen. See #3114.
Review upstream error handling first and reach out to the Gutenberg UI team
@swissspidy what is the outcome, is there any effort upstream to improve error handling overall? If not, l suggest to go with our own implementation and circle back to the Gutenberg team (opening an issue upstream or reach out to whom?).
This is actually pretty cool, although it might be out of scope for this issue. Could be a great future enhancement. cc @jasti
I鈥榤 trying to get some answers on that today. Doing our own thing would be AC2 then :-)
After spending some time with @samitron7, we decided to adhere to a few principles for global error handling which impact how we handle these 3 items: #3303 #3304 and #3306
@swissspidy, others, WDYT?
@ThierryA @MackenzieHartung, @kmyram can we pause on #3303 #3304 and #3306 until we've nailed down the feedback framework that @samitron7 finalizes based on these principles?
@amedina ping ^
@ThierryA @MackenzieHartung, @kmyram can we pause on #3303 #3304 and #3306 until we've nailed down the feedback framework that @samitron7 finalizes based on these principles?
Sure thing @jasti, I moved these issues in the "Revisit Later" column.
The manifestation of this principle is that we get rid of any ability to add custom code or edit a story in the code mode.
I created a new issue for it: #3496. Thanks to a rather recent enhancement in Gutenberg this should be rather _easy_ to implement, unless something has changed since then.
We also need to be less aggressive about showing warnings, unless we are absolutely sure that it improves a user workflow.
Another example we've discussed in person: when a CTA block ends up being on the first page (which is invalid), we should probably just remove the block instead of showing a warning.