Commit graph

9146 commits

Author SHA1 Message Date
Scott Erickson
f3254f1061 Change NewHomeView to HomeView 2016-09-01 10:41:43 -07:00
Scott Erickson
77e45072a5 Remove justPlayCourses heuristic, replace with isStudent, remove old HomeView 2016-09-01 10:41:43 -07:00
Matt Lott
e43d90ae23 🐛Fix auto level solutions numbering
Practice levels were being numbered normally.
2016-08-31 17:34:15 -07:00
Matt Lott
df69cb54a8 🐛/courses wd2 Start button goes to wrong level
We can’t cache course instance sessions by course because of web dev
primer levels and classroom versioning.
2016-08-31 17:04:43 -07:00
Matt Lott
527ba277ab Order /courses classrooms most recent first 2016-08-31 17:04:43 -07:00
Imperadeiro98
dfdb57e18f Fix {change} in en.coffee 2016-08-31 22:50:40 +01:00
Phoenix Eliot
e0dafc571a Fix making Problems from AetherProblems with no range 2016-08-31 14:35:50 -07:00
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
Matt Lott
275f708041 🐛Fix campaign editor next level arrows 2016-08-30 16:19:41 -07:00
Scott Erickson
f57ec17261 Fix play buttons not appearing sometimes on navigation
Repro steps:

* Go to a ladder page
* Click to play
* Click link back to ladder
* Before, the play buttons would not appear, now they do.
2016-08-30 16:05:31 -07:00
Scott Erickson
652c5237aa Fix updateI18NCoverage, handles i18n objects with nothing to translate, fix #2630 2016-08-30 14:17:40 -07:00
Scott Erickson
be11c47e17 Have campaign-view translate campaign name normally 2016-08-30 10:49:48 -07:00
Robin Yang
c4dcf0f756 Remove Java from homepage, Update languages 2016-08-29 18:13:07 -07:00
Robin Yang
79415fc99d Merge pull request #3889 from codecombat/course-curriculum
Add Getting Started guide in Markdown
2016-08-29 17:09:32 -07:00
Robin Yang
5554a733a9 Merge pull request #3890 from codecombat/update-footer
Replace Educator Wiki footer link with Resource Hub
2016-08-29 17:08:59 -07:00
Robin Yang
3cdec61fe1 Add Getting Started guide in Markdown
- Replace PDF link on /teachers/resources
- Add .pngs
2016-08-29 17:06:05 -07:00
Scott Erickson
cf9d082ffa Have client check for achievement updates 2016-08-29 16:32:42 -07:00
Scott Erickson
2f8ad4afdf Prevent email-formatted usernames on teacher signup 2016-08-29 14:16:15 -07:00
Robin Yang
0d5185dca5 Replace Educator Wiki footer link with Resource Hub 2016-08-29 11:32:40 -07:00
Robin Yang
bd87783631 Merge pull request #3877 from codecombat/about-page-language-logos
Change programming language listing on About page
2016-08-29 09:30:03 -07:00
Robin Yang
c7c3eff0bd Merge pull request #3884 from codecombat/course-curriculum
Update formatting on CS2 Guide
2016-08-29 09:29:57 -07:00
Scott Erickson
8d582082a7 Merge pull request #3887 from Imperadeiro98/remove-minicolors
Remove jQuery minicolors
2016-08-29 09:09:15 -07:00
Matt Lott
d20600b381 Update campaign next level algorithm for practice levels
Don’t show not-started unlocked levels if previous incomplete practice
level is available
Yellow arrow points at adventurer levels too now

Closes #3882
2016-08-29 06:26:40 -07:00
Imperadeiro98
dd6f862f70 Remove minicolors image 2016-08-28 23:14:25 +01:00
Yuki Ueda
8bef580909 Update ja.coffee (#3886) 2016-08-27 12:13:30 +01:00
Imperadeiro98
cc2bf8ebd9 Some fixes to pt-BR 2016-08-27 12:12:55 +01:00
Abimael Alcebíades
7a2911951c Update pt-BR.coffee (#3885)
* Update pt-BR.coffee

translations updated

* Update pt-BR.coffee

Updated translations
2016-08-27 12:11:14 +01:00
Robin Yang
d6d8d84722 Update formatting on CS2 Guide 2016-08-26 16:53:28 -07:00
Matt Lott
a700a00c94 Autocomplete game.
And don’t create duplicate entries for hero. autocompletes

Closes #3883
2016-08-26 15:10:22 -07:00
Matt Lott
b8d4e51331 Add line endings and newlines for fuzzy autocompletes
Closes #3351
2016-08-26 10:32:56 -07:00
Josh Callebaut
e54cd7c05f Merge pull request #3881 from Zerrien/intro-view
View for tracking Intro/Overview guide issues
2016-08-25 16:53:38 -07:00
Josh Callebaut
ff00091408 Tweaks based on CR from Rob 2016-08-25 15:52:49 -07:00
Josh Callebaut
cb41100d2e Style-fix quotes and EOD newlines 2016-08-25 15:37:49 -07:00
Josh Callebaut
53e68a79a6 Add a page for tracking intro/guide issues 2016-08-25 15:31:24 -07:00
Matt Lott
9553238a64 🐛Fix adjacent campaign map arrows 2016-08-25 10:40:07 -07:00
Josh Callebaut
f5770c3a2a Merge pull request #3878 from Zerrien/adv-color-2
Adventurer levels lose star and become purple
2016-08-25 10:38:27 -07:00
Nick Winter
878dcbdc49 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
Josh Callebaut
18e985a845 No longer display star on adventurer levels and make all adventurer levels purple 2016-08-24 14:35:26 -07:00
Robin Yang
8435789691 Change programming language listing on About page 2016-08-24 14:02:03 -07:00
Matt Lott
f391030b44 Add hints test group distinction comments 2016-08-24 12:05:40 -07:00
Matt Lott
22e3f445c0 Add achievement hidden property 2016-08-24 07:37:11 -07:00
Rob Blanckaert
d9b688c5b8 Merge pull request #3874 from codecombat/course-curriculum
Create Markdown for CS1, CS2 Curriculum
2016-08-23 18:16:19 -07:00
Rob
5c6fb20d7f Add back to top buttons. 2016-08-23 18:12:44 -07:00
Robin Yang
b550aae76a Remove target grades from Curriculum 2016-08-23 16:07:10 -07:00
Robin Yang
c3b3c6ea2a Update Student License requirement copy 2016-08-23 16:05:16 -07:00
Nick Winter
bfa49cbbc6 Fix sending too much and not enough data on arena sessions 2016-08-23 16:02:03 -07:00
Robin Yang
52c1f3d625 Add CS1, CS2 to Resource Hub
Also adding additional worksheets/PDFs.
2016-08-23 14:46:02 -07:00
Robin Yang
5d31496ceb Update CS1, CS2 curriculum content 2016-08-23 14:45:32 -07:00
Scott Erickson
09a9358b9e Modify courses i18n edit view to be less error-prone
* Do not use 'backup' system
* Warn when about to lose changes
* Show list of patches and their statuses
2016-08-23 14:36:45 -07:00
Scott Erickson
ae28223b96 Add course edits stats properties to user schema 2016-08-23 13:34:19 -07:00