codecombat/app
Phoenix Eliot 663c220eaf Show wev-dev iFrame error messages like Aether's
This heavily refactors SpellView and adds infrastructure for receiving and reporting Errors raised by the web-dev iFrame. The web-dev error system, the Aether error system, and the Ace html-worker avoid disturbing each others' errors/annotations (though currently Aether+web-dev errors won't coexist), and they clear/update their own asynchronously.

Show web-dev iFrame errors as Ace annotations

Add functional error banners (with poor messages)

Improve error banners, don't allow duplicate Problems

Refactor setAnnotations override

Convert all constructor calls for Problems

Add comments, clean up

Clean up

Don't clear things unnecessarily

Clean up error message sending from iFrame

Add web-dev:error schema

Clarify error message attributes

Refactor displaying AetherProblems

Refactor displaying user problem banners

Refactor onWebDevError

Set ace styles on updating @problems

Clean up, fix off-by-1 error

Add comment

Show stale web-dev errors differently
Some web-dev errors are generated by "stale" code — code that's still running in the iFrame but doesn't have the player's recent changes.
This shows those errors differently than if they weren't "stale", and suggests they re-run their code.

Hook up web-dev event schema

Destroy ignored duplicate problems

Functionalize a bit of stuff

Fix ProblemAlertView never loading
2016-08-31 10:59:06 -07:00
..
assets Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
collections Modify courses i18n edit view to be less error-prone 2016-08-23 14:36:45 -07:00
core Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
lib Better handling of non-user-code problems in game-dev mode. Don't simulate whole level first time a game-dev level is loaded. 2016-08-24 15:21:09 -07:00
locale Remove Java from homepage, Update languages 2016-08-29 18:13:07 -07:00
models Fix updateI18NCoverage, handles i18n objects with nothing to translate, fix #2630 2016-08-30 14:17:40 -07:00
schemas Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
styles Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
templates Have campaign-view translate campaign name normally 2016-08-30 10:49:48 -07:00
views Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00