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
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
ef0547f72a
Simplify applying licenses
...
In TeacherClassView, when a teacher assigns a paid course to any unenrolled
student, the view automatically enrolls those students, rather than requiring
the teacher to enroll those students manually first. Update copy throughout.
Also add back (smaller) padding to progress dots in TeacherClassView.
2016-08-23 10:43:31 -07:00
Matt Lott
c2ae4d3748
Add gd2 and wd2 to individual game
...
Closes #3875
2016-08-23 10:15:47 -07:00
Robin Yang
f8caa86579
Move resource templating from coffee to jade files
2016-08-23 09:38:11 -07:00
Robin Yang
fe3b9e01e0
Create Markdown for both CS1, CS2 Curriculum
2016-08-22 17:33:49 -07:00
Phoenix Eliot
3d8d0b96d3
Make popover pins stickier
2016-08-22 13:29:35 -07:00
Phoenix Eliot
b4fe0a3bee
Fix SpellPaletteView's popover Ace
2016-08-22 13:23:52 -07:00
Matt Lott
61be34a0f4
Sort courses in teacher ux
...
Closes #3870
2016-08-22 11:18:26 -07:00
Matt Lott
7c9f7cbce7
Show correct programming language in level intro
2016-08-22 06:11:01 -07:00
Matt Lott
f2597229b5
No autocomplete x y, rename Zatanna to Autocomplete
...
Don’t autocomplete common variables ’x’ or ‘y’:
return if /^x$|^y$/i.test(prefix)
Renaming zatanna to autocomplete
Closes #3865
2016-08-22 05:46:07 -07:00
Robin Yang
2b586420f3
Add i18n for Resource Hub
2016-08-19 17:42:02 -07:00
Robin Yang
611368f742
Add Resource Hub to teacher dashboard
2016-08-19 17:41:06 -07:00
Matt Lott
05159ff7c2
Support course slugs that match course names
...
Must be backwards compatible until we update the course slugs.
Closes #3867
2016-08-19 16:05:37 -07:00
Scott Erickson
acfe62a786
Merge pull request #3868 from codecombat/course-progress-projects
...
Add project/arena pills to course progress tab to TeacherClassView
2016-08-19 16:05:09 -07:00
Scott Erickson
aeddfe77d6
Add project/arena pills to course progress tab to TeacherClassView
...
Also remove templating for deprecated progress tab
2016-08-19 15:48:45 -07:00
Matt Lott
d392f7780e
Force level primer language usage for students
2016-08-19 14:26:39 -07:00
Nick Winter
2f220eb007
Fix #3843
2016-08-18 14:39:14 -07:00
Phoenix Eliot
c33f86768a
Translate level wrapper code
2016-08-18 14:09:34 -07:00
Scott Erickson
300c81e72b
Course translations fixes
...
* Restrict patch handling properly
* Fix #3860 , CS 2 description
* i18nCoverage is updated when new translations are auto-accepted
* Course patches are listed on PendingPatchesView properly
* 'Artisan' permission allows editing course translations
2016-08-18 13:29:52 -07:00
Scott Erickson
d4af931e05
Add course (name, description) translations
2016-08-18 10:10:18 -07:00
Matt Lott
f44821bfe1
🐛 Fix admin student licenses range coloring
2016-08-17 21:08:23 -07:00
Matt Lott
46e05e893b
Redirect students and teachers on sign in
...
Closes #3857
2016-08-17 14:17:16 -07:00
Matt Lott
b647252956
Update /courses UI
2016-08-17 14:15:52 -07:00
Nick Winter
01affc2054
Fix bug in premium level selection code
2016-08-17 12:05:31 -07:00
Nick Winter
8ec17265dc
Give China server all free levels but hide paid levels ( #3855 )
...
* Give China server all free levels but hide paid levels
* Don't prompt to buy gmes on free-only server on insufficient gems for item/hero purchases
2016-08-17 10:00:56 -07:00
Matt Lott
84e3ee270a
Add primer level support to classroom Ux
...
Exclude levels if classroom.aceConfig.language == level.primerLanguage
Closes #3856
2016-08-16 16:52:17 -07:00
Phoenix Eliot
a1b012c7f5
Add support for optional arguments, and web components
...
Refactor
Don't use globals in template
2016-08-16 13:43:08 -07:00
Phoenix Eliot
fd45c9d473
Implement HeroSelectModal for demo flow
...
Add Campaign factory
First basic tests for HeroSelectModal in demo flow
Implement HeroSelectModal for demo flow
Improve tests
Disable empty test
Fix text inconsistency around 'me'
Just listen once
Add HeroSelectModal events test
Don't reuse destroyed modal
Fix inconsistent modal close behavior
Fix tests
2016-08-16 11:19:40 -07:00
Matt Lott
f84897eaa7
Update home course tiles
2016-08-15 14:41:09 -07:00
Matt Lott
e62dbed362
Shift user code yellow arrow tips inward based on indentation
...
Closes #3850
2016-08-15 13:36:43 -07:00
Scott Erickson
e9c7edb6be
Fix populate i18n to also populate thang component configs
2016-08-15 11:54:04 -07:00
Phoenix Eliot
c2ce804839
Fix worker-based syntax annotations
2016-08-12 16:28:29 -07:00
Scott Erickson
2dadc8458c
Remove hardcoded student ui game dev play instructions
2016-08-12 14:38:32 -07:00
Phoenix Eliot
73bbe598da
Improve WebDev level image gallery
...
Improve image gallery
Add How to Copy/Paste section
Fix modal close button
Add specs for image gallery
Fix up i18n
Fix render resetting scroll
Address code review feedback
Ensure afterRender is called
2016-08-12 13:19:26 -07:00
Matt Lott
2905563729
🐛 Remove semi-colons from course solutions view
2016-08-11 15:34:39 -07:00
Matt Lott
a7e290fffe
Replace course guide PDFs with solutions pages
2016-08-11 15:29:56 -07:00
Matt Lott
eaddf2fa8d
Add level schema primerLanguage
...
For web-dev 2 course in the short term
2016-08-11 06:08:58 -07:00
Phoenix Eliot
a4f48bbc17
Add tests for SuperModel load retrying
...
Clear timeouts after each test
2016-08-10 15:28:33 -07:00
Matt Lott
c87f505759
Add gd1 and wd1 to campaign world Ux
...
Add 1st game-dev and web-dev campaigns to world selector
Take player back out to world selector after completing campaigns up through forest
Closes #3828
2016-08-10 15:06:14 -07:00
Matt Lott
2e5f9abd97
🐛 Fix autocomplete suggestion limit comment
2016-08-10 14:45:59 -07:00
Matt Lott
e65dc8e2a5
Update homepage anonymous CTA buttons
...
I’m a Teacher -> /teachers/signup
I’m a Student -> /home#create-account-student
2016-08-10 13:14:41 -07:00
Scott Erickson
2e5c15cc6d
Internationalize student UI for game dev levels
2016-08-10 12:47:34 -07:00
Scott Erickson
ff2d505720
Internationalize PlayGameDevLevelView
2016-08-10 12:47:34 -07:00
Scott Erickson
ffa840910d
Do not automatically show victory modal for shareable game dev levels
...
Students are likely to want to keep working on their level, even if
they beat it.
2016-08-10 12:47:34 -07:00
Matt Lott
d14bea3110
Add hero. autocomplete entries
...
Adding up to 10 highest importance hero. duplicate autocomplete entries
that include ‘hero.’
Increasing max suggestions allowed from 10 to 20
2016-08-10 11:17:56 -07:00
Scott Erickson
9b992a8679
Merge pull request #3823 from Imperadeiro98/master
...
Fix #2844
2016-08-10 09:46:20 -07:00
phoenixeliot
5b8d66cd1c
Add hero selector to create account modal
...
Don't show grey border around Anya in signup modal
Refactor reload handling
Fix courses page updating to chosen hero
2016-08-08 15:19:44 -07:00
Nick Winter
3ff34b376f
Manually merge #3825 : add Hawaiian
2016-08-08 13:10:28 -07:00
Scott Erickson
51b292cc3d
Add static messages to game dev levels for playtesting
2016-08-08 11:49:38 -07:00
Imperadeiro98
9df2c97923
Fix #2844
2016-08-07 19:02:51 +01:00
Phoenix Eliot
6697d33681
Fix level editor child window size
...
Makes it slightly larger at 1280x640, which is our target screen size
for slightly smaller than chromebook screens.
2016-08-05 16:16:09 -07:00
Matt Lott
6f08d5e422
Add required district field to teacher trial request forms
...
School now optional
N/A placeholder on district field and don't save it if it's n/a
Updating required field error UI a bit, and there is some larger
refactoring needed here later.
NCES phone number for district only entries will currently be a child
school, will fix later.
Closes #3818
2016-08-05 13:25:19 -07:00
Scott Erickson
2287c4f1e5
Merge pull request #3811 from themaka/master
...
Adding Croatian and Māori to languages
2016-08-05 13:04:47 -07:00
Matt Lott
8b8086a95d
🐛 Fix admin classrooms levels page campaign lookup
2016-08-05 12:09:36 -07:00
Nick Winter
246469bdde
A couple fixes for demo flow
2016-08-04 18:37:13 -07:00
Josh Callebaut
33134eb6c9
Merge pull request #3815 from Zerrien/campaign-arrow-fix
...
Tweak campaign connecton arrows
2016-08-04 10:38:45 -07:00
Josh Callebaut
41cf864dc7
Add divide by zero check'
2016-08-04 10:20:50 -07:00
Josh Callebaut
796c35f66d
Tweak campaign connecton arrows so they point more accurately to the next level
2016-08-03 14:53:03 -07:00
Matt Lott
ba6d51659c
Show in-game programming language
...
Closes #3814
2016-08-03 11:08:20 -07:00
phoenixeliot
2e9ff61436
Fix broken ladder in course
2016-08-02 13:43:13 -07:00
Nick Winter
fad53cf43f
Don't wait for simulation load progress on game-dev levels
2016-08-02 12:31:36 -07:00
phoenixeliot
5f560f3e7d
Don't allow conversion to student without a ClassCode
...
Fix i18n and tests
2016-08-01 16:44:57 -07:00
phoenixeliot
94e3c5a2b5
Add first/last names to Account Settings
2016-08-01 14:12:35 -07:00
phoenixeliot
d388975217
Fix unescaped HTML in goal descriptions
2016-07-29 16:21:13 -07:00
phoenixeliot
83557910b2
Fix CSV export and projects tab
2016-07-29 14:37:45 -07:00
themaka
8135bd73d0
Added Māori and Croatian to list of languages to display on Diplomat page.
2016-07-29 15:53:01 -04:00
themaka
66817657f0
Added "te reo Māori" (Māori) to locale
2016-07-29 15:34:34 -04:00
themaka
715939dfb1
Adding Croatian language to locale
2016-07-29 15:20:24 -04:00
phoenixeliot
4af822d13a
Revert "Add game UI programming language label"
...
This reverts commit b7f916116d
.
Some heights in gameplay were made worse by this; needs some more work.
2016-07-29 11:23:42 -07:00
phoenixeliot
dd66a8c252
Add detection of HTML/CSS/JS comments for entrypoints
2016-07-28 15:10:01 -07:00
Nick Winter
82c4367308
Avoid \n escape character in i18n strings for tooling
2016-07-28 13:47:23 -07:00
Nick Winter
d77625bc77
Game dev levels ( #3810 )
...
* Tweak API doc behavior and styling
* Instead of moving to the left during active dialogues, just move to the top
* Allow pointer events
* Adjust close button
* Re-enable pinning API docs for game-dev and web-dev levels
* Make sidebar in PlayGameDevLevelView stretch, better layout columns
* Set up content of PlayGameDevLevelView sidebar to scroll
* Add rest of PlayGameDevLevelView sidebar content, rework what loading looks like
* Finish PlayGameDevLevelView
* Add share area below
* Cover the brown background, paint it gray
* Tweak PlayGameDevLevelView
* Have progress bar show everything
* Fix Surface resize handling
* Fix PlayGameDevLevelView resizing incorrectly when playing
* Add GameDevVictoryModal to PlayGameDevLevelView
* Don't show missing-doctype annotation in Ace
* Hook up GameDevVictoryModal copy button
* Fix onChangeAnnotation runtime error
* Fix onLevelLoaded runtime error
* Have CourseVictoryModal link to /courses when course is done
* Trim, update CourseDetailsView
* Remove last vestiges of teacherMode
* Remove giant navigation buttons at top
* Quick switch to flat style
* Add analytics for game-dev
* Update Analytics events for gamedev
* Prefix event names with context
* Send to Mixpanel
* Include more properties
* Mostly set up indefinite play and autocast for game-dev levels
* Set up cast buttons and shortcut for game-dev
* Add rudimentary instructions when students play game-dev levels
* Couple tweaks
* fix a bit of code that expects frames to always stick around
* have PlayGameDevLevelView render a couple frames on load
* API Docs use 'game' instead of 'hero'
* Move tags to head without combining
* Add HTML comment-start string
Fixes missing entry point arrows
* Fix some whitespace
2016-07-28 13:39:58 -07:00
Matt Lott
b7f916116d
Add game UI programming language label
2016-07-28 12:00:52 -07:00
Rob
4d8d4ff268
Defer breakage of Concept Map if we don't have esper.
2016-07-27 16:55:10 -07:00
Rob
b7fcaa50a6
Change keyword autocomplete logic.
2016-07-27 16:37:57 -07:00
Rob
6c9f351f01
Group concept map by campaign.
2016-07-27 14:17:37 -07:00
Rob
75e3c54d54
Add concept map view to artisans.
2016-07-27 13:44:55 -07:00
Scott Erickson
ac4df997c1
Display treema errors
2016-07-26 16:48:04 -07:00
Scott Erickson
8117a000c1
Fix PlayLevelView race condition typo
2016-07-26 10:38:15 -07:00
Scott Erickson
053ce34faf
Prevent users from signing up with or changing to an email-like username
2016-07-25 16:33:48 -07:00
Scott Erickson
34310642c7
Add destudent and deteacher buttons to AdministerUserModal
2016-07-25 16:09:24 -07:00
phoenixeliot
f1f020a50d
Use course.releasePhase instead of .adminOnly
...
Remove old comment
2016-07-25 11:29:30 -07:00
Matt Lott
9962ff83d4
Level editor play classroom options
2016-07-23 21:03:19 -07:00
Nick Winter
ea61499a10
Add Done button hotkey
2016-07-22 17:59:32 -07:00
phoenixeliot
cac87559c6
Remove frequent console logs in web levels
2016-07-22 10:43:08 -07:00
phoenixeliot
f9d0adaca6
Fix levelType refactor
2016-07-22 10:43:08 -07:00
Scott Erickson
b1c69b686c
Add admin button to update course content for classrooms
2016-07-21 15:16:17 -07:00
Matt Lott
01679982d5
Remove intro/overview from guide game menu
...
Unless picoCTF
Will show guide option if non-course and help videos.
2016-07-21 11:11:11 -07:00
phoenixeliot
b1277dc95f
Merge branch 'game-dev-levels'
2016-07-21 10:14:22 -07:00
phoenixeliot
2ebf94c3db
Combine extracted script/style tags
2016-07-20 17:20:21 -07:00
phoenixeliot
f28c17c9bf
Fix spacing to be consistent
2016-07-20 15:47:20 -07:00
phoenixeliot
62813e41a3
Extract styles and scripts
2016-07-20 15:44:01 -07:00
Matt Lott
72905c7ff2
Reduce Mixpanel event tracking
...
Turning off homepage events and play pageviews.
2016-07-20 14:45:13 -07:00
phoenixeliot
58284dff33
Turn on Ace HTML worker for syntax errors
2016-07-19 11:30:02 -07:00
Matt Lott
01a8312617
🐛 Classroom last played string null level check
2016-07-19 10:10:48 -07:00
phoenixeliot
1d616cd92a
Fix indentation
2016-07-18 10:46:51 -07:00
phoenixeliot
bb6262483f
Allow username-only signup for classroom users
...
Address some code review feedback
Correct error code in test
Don't try to send emails to empty addresses
Add tests for subscriptions
Add tests for Next Steps email
Fix specs
Add reason for disabled test
2016-07-18 10:41:17 -07:00