codecombat/app/views/play/level/tome
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
..
editor Autocomplete game. 2016-08-26 15:10:22 -07:00
CastButtonView.coffee Do not automatically show victory modal for shareable game dev levels 2016-08-10 12:47:34 -07:00
DocFormatter.coffee Add support for optional arguments, and web components 2016-08-16 13:43:08 -07:00
Problem.coffee Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
ProblemAlertView.coffee Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
Spell.coffee Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
SpellDebugView.coffee Remove code for multiple spells; rename SpellListTabEntryView to SpellTopBarView; remove hero avatar from SpellTopBarView 2016-07-14 22:43:25 -07:00
SpellPaletteEntryView.coffee Make popover pins stickier 2016-08-22 13:29:35 -07:00
SpellPaletteView.coffee Add support for optional arguments, and web components 2016-08-16 13:43:08 -07:00
SpellToolbarView.coffee Wabam. Refactored a bunch of stuff into 'core' folders so that it's clearer which files are being loaded first thing, and which are not. Also reworked a bunch of the anymatch things in config.coffee, cause there were better ways. 2014-11-28 17:49:41 -08:00
SpellTopBarView.coffee Show in-game programming language 2016-08-03 11:08:20 -07:00
SpellTranslationView.coffee Add operator keywords and truth values to translations 2016-05-12 13:46:44 -07:00
SpellView.coffee Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
TomeView.coffee 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