codecombat/app/views/play/level
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
..
modal Add gd2 and wd2 to individual game 2016-08-23 10:15:47 -07:00
tome Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
ControlBarView.coffee Game dev levels (#3810) 2016-07-28 13:39:58 -07:00
DialogueAnimator.coffee
DuelStatsView.coffee
HintsState.coffee 🐛Fix hint intro overview duplicates 2016-06-16 10:21:37 -07:00
HintsView.coffee Hints v1 2016-06-15 16:12:41 -07:00
LevelChatView.coffee Remove real-time multiplayer prototype code 2016-07-14 10:26:09 -07:00
LevelDialogueView.coffee
LevelFlagsView.coffee Remove real-time multiplayer prototype code 2016-07-14 10:26:09 -07:00
LevelGoalsView.coffee Game dev levels (#3810) 2016-07-28 13:39:58 -07:00
LevelGoldView.coffee
LevelHUDView.coffee Refactor level type checks for easy greppability (level.isType) 2016-07-14 08:58:43 -07:00
LevelLoadingView.coffee Show correct programming language in level intro 2016-08-22 06:11:01 -07:00
LevelPlaybackView.coffee Game dev levels (#3810) 2016-07-28 13:39:58 -07:00
PlayGameDevLevelView.coffee Internationalize PlayGameDevLevelView 2016-08-10 12:47:34 -07:00
PlayLevelView.coffee Remove hardcoded student ui game dev play instructions 2016-08-12 14:38:32 -07:00
PlayWebDevLevelView.coffee i18n, comments, misc cleanup 2016-07-17 00:53:17 -07:00
ThangAvatarView.coffee Remove code for multiple spells; rename SpellListTabEntryView to SpellTopBarView; remove hero avatar from SpellTopBarView 2016-07-14 22:43:25 -07:00
WebSurfaceView.coffee Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00