Rob
39a97135de
Explicitly check for selection when overriding return.
2015-11-05 10:14:53 -08:00
Nick Winter
34715befcc
Increment user's concept stats on level completion
2015-11-04 13:42:09 -08:00
Rob
e048848d6b
Add 50% more room for fingers in the autocomplete box.
2015-10-29 18:16:58 -04:00
Rob
75c63a0ace
When pressing enter with an active selection, just make a new line under it.
2015-10-29 18:16:23 -04:00
Rob
f0e1fc1f77
Let API properties declare their return values should be captured.
...
Auto complete will know when to add a variable asingment.
2015-10-29 15:07:19 -04:00
Rob
da92e15bfb
Give some API properties priority in autocomplete.
2015-10-27 23:23:43 -04:00
Nick Winter
4af6162c5c
Replace simple loop docs with while-true docs in course levels
2015-10-22 10:29:10 -07:00
Matt Lott
3ed755076b
Enable while True auto yielding for all level types
2015-10-20 06:42:46 -07:00
Matt Lott
cc642e7254
Auto yield while True loops for course levels
2015-10-19 16:46:53 -07:00
Nick Winter
d200ac4a32
Fix #2926 : handle missing sub-code/spoken-languages in docs
2015-10-05 15:32:02 -07:00
Matt Lott
18d64e64fb
Merge pull request #3009 from Imperadeiro98/master
...
Use playSound across the code
2015-09-25 06:21:08 -07:00
Imperadeiro98
4f054fa31a
Fixed issue with string interpolation
2015-09-25 14:00:03 +01:00
Nick Winter
7a56ecfe4d
Disabled auto-submit for Ace of Coders ranking.
2015-09-17 14:42:13 -07:00
Imperadeiro98
bd4063ed3a
Use playSound across the code
2015-09-09 22:36:05 +01:00
Nick Winter
35ef48b108
Mirror ladder levels now copy source code to other side, too, not just transpiled code. Mirror sessions don't submit if there's a user code error.
2015-09-08 16:34:20 -07:00
Nick Winter
6d5ddb65ea
Not automatically showing melee ranges on action docs.
2015-09-08 06:31:19 -07:00
Nick Winter
3768783ceb
Don't be making LadderSubmissionViews in the CastButtonView unless it's a mirror match.
2015-09-04 18:11:19 -07:00
Nick Winter
73f3e7cdd9
League now preserved throughout ladder navigation flow. Mirror match support for submitting to both sides at once.
2015-09-04 16:21:45 -07:00
Nick Winter
a52e9a3189
Fixed #2939 .
2015-08-13 05:58:46 -07:00
Nick Winter
8d09357a7a
Fixed #2914 : no disabling spaces for Clojure and other advanced/experimental languages.
2015-08-02 14:12:15 -07:00
Nick Winter
15ecc92abc
Adding 'course' type levels. Removing 'campaign' type levels.
2015-07-24 17:37:42 -07:00
Nick Winter
107f94a08b
Fixed another cause of the bug fixed in 0d99b07b
with modified levels still granting rewards.
2015-07-24 08:56:20 -07:00
Nick Winter
7173fd367f
Re-enabled gutter highlights for executing code.
2015-07-10 09:39:08 -07:00
Nick Winter
36d3b8e910
Highlighting entry points is working pretty well, at least in Python through the forest.
2015-07-09 15:05:35 -07:00
Nick Winter
4f443efd8b
First draft of logic to work out where the code entry points should be.
2015-07-09 12:47:07 -07:00
Nick Winter
dfa0de7521
Bad testing version of code entry point arrow numbering.
2015-07-09 11:45:11 -07:00
Arthur Neves
6cb673e228
i18N press enter on spell view
2015-06-14 23:20:49 +02:00
Nick Winter
a85d52ebe2
Made a tabbed interface for Programmaticon V's Vector and standard library documentation.
2015-06-10 15:18:37 -07:00
Nick Winter
0d99b07bc3
Made it so that high scores and level victories are not achieved when playing changed levels from inside the level editor. Some additions for Nalfar.
2015-06-05 17:02:37 -07:00
Nick Winter
a0057910ac
Fixed #2597 : press escape to abort simulation now, if your code is going to be slow.
2015-04-18 19:54:34 -07:00
Nick Winter
7471b14c4d
Fixed #2013 : removed autorun code. Fixed preloading to actually happen, but only on short solutions without a ton of statement execution.
2015-04-18 15:52:24 -07:00
Nick Winter
ea80e22dc6
Don't point out Lost Viking, since most players shouldn't attempt it. Adjust autocomplete default parameter from string to variable for Known Enemy.
2015-04-18 14:13:05 -07:00
Nick Winter
e7df703d36
Fixed #2651 : indicate better that sample code is locked when it won't let them type in there.
2015-04-13 15:04:42 -07:00
Nick Winter
4c008e4686
Fixed #2406 .
2015-04-12 12:20:33 -07:00
Nick Winter
c1ec1611ad
Fixed style reversion for page loading bar showing over code area.
2015-04-07 08:55:33 -07:00
nemoyatpeace
b50c3fbc89
Update the shift-click insertion
...
Insertion is now language specific.
2015-03-29 01:14:13 +08:00
Nick Winter
7dff105cdf
Insane hackery for #1777 to give us more code editor space, better use of space with tall screens, and scrolling API properties. Watch out for bugs.
2015-03-25 16:47:31 -07:00
Nick Winter
e288b95543
Fixed #1961 (castDrainLife -> cast('drain-life') in the docs).
2015-03-20 13:43:00 -07:00
Nick Winter
bae7612703
Disabled pinned docs clicks for now, since their CSS is wonky.
2015-03-20 09:03:36 -07:00
Nick Winter
3ff41f5619
Rewriting sample code dynamically to fix findNearestEnemy / findNearest(findEnemies) issues.
2015-03-12 11:08:58 -07:00
Nick Winter
3458f2069b
Temporary workaround for #2512 . Identifying ageRange. Made poll header slightly smaller.
2015-03-11 20:21:54 -07:00
Nick Winter
8fc893dd6f
Fixed a couple issues with errors during incompletely loaded levels or weird child window global situations using level editor.
2015-03-10 14:37:12 -07:00
Nick Winter
e58734894a
Tweaked style on space-disabling and default-locking by player level.
2015-03-09 10:50:00 -07:00
Nick Winter
f5633f05dc
Merge pull request #2414 from h3yduck/lock_issue
...
Only lock spacebar and default code when the player is lower level (issue 2406)
2015-03-09 10:37:40 -07:00
Nick Winter
e21360127d
Polls!
2015-03-08 16:36:17 -07:00
Nick Winter
60db16b1c3
Making all code languages load for level editor to avoid busted level previews. Added CoffeeScript compiler to web worker so we can use Referee extraCode.
2015-03-04 11:29:03 -08:00
Nick Winter
44008be95f
Level Editor doesn't need to load your session or its hero config (or break doing so). Fixed adding unconfigured heroes to levels busting the level.
2015-02-27 21:37:55 -08:00
Szabolcs Gelencser
dde3e8cf8f
Remove hardcoded treshold values, make it consistent through being able to change the treshold in campaign editor, if desired
2015-02-27 17:33:38 +01:00
Szabolcs Gelencser
b138001205
for issue #2406
2015-02-26 23:42:37 +01:00
Matt Lott
81678e81d9
Merge pull request #2315 from amankr/autocomplete2
...
Autocomplete bug fix #2233 - method 2
Thanks @amankr!
2015-02-13 13:12:22 -08:00
Aman Kumar
85a024546b
Autocomplete bug fix #2233
2015-02-14 02:21:54 +05:30
Aman Kumar
224213ccb0
Autocomplete bug fix #2233
2015-02-14 02:11:00 +05:30
Aman Kumar
80fb124772
Autocomplete bug fix #2233
2015-02-14 01:56:05 +05:30
Nick Winter
1aa738b256
Fixed up headless client, I hope.
2015-02-12 16:07:19 -08:00
Nick Winter
46ef93190a
Show old difficulty instead of new difficulty when observing a replayable success. This will likely need revisiting when we are using observing for more than just leaderboards.
2015-02-04 11:31:43 -08:00
Nick Winter
18202b6852
Merge pull request #2237 from divyanshu013/master
...
Fixed Comment Out My Code for infinite loops for #1788
2015-02-04 10:29:13 -08:00
divyanshu013
929c89d2ac
Fixed Comment Out My Code for infinite loops for #1788
...
Fixed the issue for incorrect comments by correcting the syntax per language
2015-02-04 21:48:01 +05:30
Nick Winter
60d68ca23c
Fixed some memory leaks and particle disposal problems. Re-enabled particles. Tweaked particle stylings.
2015-02-02 18:02:57 -08:00
Nick Winter
3f78071e5e
A few small fixes.
2015-02-02 11:50:25 -08:00
Nick Winter
4b388f2775
Fixed some memory leaks. Fixed a couple minor bugs.
2015-01-31 12:23:44 -08:00
Nick Winter
c977ecc16f
Adding easy observing of leaderboard matches (except top 5).
2015-01-31 10:04:11 -08:00
Nick Winter
e59f2bcc62
Recording scores even for non-real-time-submit levels.
2015-01-30 22:06:22 -08:00
Nick Winter
77cca7189f
Updated a bunch of code that got busted with CoffeeScript 1.9.0.
2015-01-30 07:51:57 -08:00
Nick Winter
706b2ca930
Don't includeFlow for Thangs with skipProtectAPI on, because we don't care about their flow anyway (non-read-write custom Programmables).
2015-01-16 18:47:30 -08:00
Matt Lott
116c7d0bf2
Update internal analytics
...
Adding level session ID where applicable.
Slimming down fields for most common events.
2015-01-15 11:04:52 -08:00
Nick Winter
9a3f18e60a
Save more UserCodeProblems and LevelSessions.
2015-01-06 13:03:09 -08:00
Nick Winter
947811c01b
Replayable once-per-day increasing-difficulty level basics.
2015-01-05 10:44:24 -08:00
Nick Winter
163cf50528
Fixed processing of default Programmable config.
2015-01-03 13:22:54 -08:00
Nick Winter
744d30737e
Merged in campaign editor and campaign view. Destroyed WorldMapView, CampaignOptions, and LevelOptions. Lots of stuff is now stored in the database instead of code. Cleaned up a few unneeded old features. Fixed some problems with checking permissions on first rather than latest versions of documents.
2014-12-28 13:25:20 -08:00
Nick Winter
b116321deb
Tested and cleaned up comment detection for space disablement sensitivity.
2014-12-24 12:37:25 -08:00
Rishi
364f40274d
Update SpellView.coffee
...
hey i made changes. due to some error in downloading your data base i cannot test it. but check it . i think it will work .
2014-12-22 18:06:32 +05:30
Nick Winter
f26b43f8a5
Fixed floor y scaling. Fixed issues with client-side disabling of new model / fork / revert population actions without permissions. Ameliorated some ensure_comprehensions warnings.
2014-12-20 16:02:41 -08:00
Matt Lott
7c87dc0c3a
Make spell palette help label a button
2014-12-18 00:19:40 -08:00
nemoyatpeace
0496c9338d
Update SpellView.coffee
...
Fixed issue #1950 so attack defaults to enemy if player has findNearest or findNearestEnemy
2014-12-18 09:10:07 +08:00
Matt Lott
f1d7fb5fbd
Add help button to problem alert
2014-12-15 15:11:27 -08:00
Nick Winter
a9247c5018
Decreased amount of unintended menu-button-click sounds.
2014-12-09 14:01:03 -08:00
Nick Winter
cb54e08b9b
Reducing some writes to try to help us scale up.
2014-12-08 06:56:27 -08:00
Nick Winter
708f0e543c
Fixed some issues I saw in Errorception. Stopped saving the session when the play state or frame changes.
2014-12-06 11:33:57 -08:00
Matt Lott
d6265a4065
Fix default locked code css
...
Couldn’t get multiple ranges to highlight ranges correctly, so leaving
it on for python and coffeescript only.
2014-12-05 14:15:43 -08:00
Nick Winter
8b62b6ec44
Temporary workaround for #1842 .
2014-12-05 07:55:17 -08:00
Matt Lott
bd797e8cfd
Highlight locked default code
2014-12-04 16:33:59 -08:00
Matt Lott
222e532006
Make default code locking contiguous
...
Lock ‘del’ command too.
2014-12-04 16:04:44 -08:00
Nick Winter
7bfe0e5c9e
Updated Programmaticon II requirements. Adjust editor height after reloading code.
2014-12-04 11:31:22 -08:00
Matt Lott
201547e388
Revert autocomplete to support Enter too
2014-12-02 22:14:01 -08:00
Matt Lott
066b1798ab
Make default code read-only
2014-11-30 11:47:54 -08:00
Scott Erickson
31214e854e
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
Nick Winter
9feb4e6add
Using ACE to add syntax highlighting to code documentation.
2014-11-26 12:33:29 -08:00
Nick Winter
24ac3050bd
Added a bunch of button click sound triggers.
2014-11-26 06:58:23 -08:00
Matt Lott
6b7e146084
Reduce problem alert jiggle duration to 1s
2014-11-23 21:58:29 -08:00
Nick Winter
df162080c3
Totally hid code stepper toolbar for now, since it's proving difficult to make room for it in the new design.
2014-11-23 19:40:50 -08:00
Nick Winter
0b97ef5f0b
Properly using the skill docs i18n. Fixed issue with markdown getting to #{spriteName} before our replacer did.
2014-11-23 13:26:19 -08:00
Nick Winter
ffaa42cb9b
Added detection of suspect code fragment deletion. Implemented Chloe's styling advice on restricted items. Fixed purchasing items clobbering inventory changes.
2014-11-23 12:18:42 -08:00
Nick Winter
b359c25c97
Fixed multiplexed-by-code-and-spoken-language component documentation i18n.
2014-11-23 10:22:06 -08:00
Matt Lott
692569f655
Update problem alert width to be more dynamic
2014-11-22 22:48:03 -08:00
Nick Winter
5d54332ed7
Round inferred cooldown docs. Show grabber/grabbing cursor when Surface is enabled, playing, and zoomed in.
2014-11-22 21:22:46 -08:00
Matt Lott
c16b0f97bf
Update sync PVP to use transpiledCode
2014-11-22 20:48:07 -08:00
Matt Lott
fbed0dd13d
Jiggle spell palette popover onclick in hero level
2014-11-22 17:35:05 -08:00
Matt Lott
fcb098b3aa
Remove cast button text A/B test
2014-11-22 16:50:49 -08:00
Matt Lott
496d52b2aa
Add moveRight to loop snippet for first 2 mazes
2014-11-22 12:29:37 -08:00
Matt Lott
c012cd4e30
Prevent continuous deletion of a single line
2014-11-21 21:02:39 -08:00
Nick Winter
cee017c7ec
Moved spell palette popovers to top placement if dialogue view is active.
2014-11-21 12:14:37 -08:00
Nick Winter
cfe1b020c3
Fixed esc shortcut when editor is disabled.
2014-11-21 11:07:57 -08:00
Nick Winter
c3398ed8ed
Required topEnemy in Thornbush Farm.
2014-11-21 09:53:46 -08:00
Matt Lott
ef8e7563b4
Increase autocomplete font size in dungeon levels
...
Also moving getCampaignForSlug to new CampaignOptions file.
2014-11-20 12:41:56 -08:00
Matt Lott
f80baf3eb2
Update autocomplete instruction to 'press tab'
...
Enter no longer autocompletes, instead dismisses popup and executes a
Return
2014-11-20 10:56:38 -08:00
Nick Winter
b0f65a4da8
Merge branch 'master' of https://github.com/codecombat/codecombat
2014-11-19 18:36:30 -08:00
Nick Winter
8280347752
Fixes to spell palette doc hovering and ensuring at least two column layout.
2014-11-19 18:36:09 -08:00
Matt Lott
81d6c186dc
Add time to missing null check error messages
2014-11-19 17:13:00 -08:00
Nick Winter
afff1056cb
Don't be draggin' all these images around yo.
2014-11-19 16:36:06 -08:00
Matt Lott
41db27c709
Apply markdown to error messages and hints
2014-11-19 15:27:06 -08:00
Nick Winter
f310719cee
Restarting level now doesn't clear anything except code unless you hold down shift.
2014-11-19 15:24:50 -08:00
Nick Winter
0640f382ba
Fixed coordinate hover cursors fighting flag cursors. Added suspect code check functionality for scripts to slap hands.
2014-11-19 14:29:11 -08:00
Matt Lott
957ca50c87
Disable spaces through The Raised Sword
2014-11-18 14:11:28 -08:00
Matt Lott
b000389b3a
Add problem range highlighting back
...
Now full line still pulses, and specific problem range has a darker red
background.
2014-11-18 10:03:02 -08:00
Matt Lott
7b3b904ad1
Hide problem alert on code reload
2014-11-18 09:36:01 -08:00
Nick Winter
d0233fc999
Fixed bug with primary spell being unreadable and thus no spells showing up in old, multi-spell levels.
2014-11-18 07:43:02 -08:00
Matt Lott
f56d01419f
Update sync pvp teams and real-time playback
...
-Non-creator will switch teams upon joining a sync pvp game, if creator
is on same team
-Team swapping should only affect level session
-Real-time multiplayer submit now reloads PlayLevelView to ease loading
both player’s latest level sessions, and then automatically starts
real-time playback.
2014-11-17 15:07:10 -08:00
Nick Winter
b6570236d8
Fixed flag history not getting cleared on real-time resubmission in single-player.
2014-11-17 08:00:44 -08:00
Nick Winter
4aff5265c3
Fixed being unable to select important spells on a few old, multi-spell levels.
2014-11-16 08:11:39 -08:00
Nick Winter
01d6c6d239
Stop whole-line selection on gutter clicks.
2014-11-13 10:54:50 -08:00
Nick Winter
05a3577de9
Fixed a mistake with level progression around the Forgetful Gemsmith move. Fixed double-click-to-equip sizing. Locked purchases for cross-class items for real now. Additional insurance for clearing selection after code reload.
2014-11-13 10:49:37 -08:00
Nick Winter
ba6565395e
Spell palette cool with multiple items offering same skills.
2014-11-12 15:28:08 -08:00
Nick Winter
ffea887330
Revamped real-time playback behavior to kick in on Thornbush Farm. Added a Done button until then.
2014-11-10 15:16:28 -08:00
Nick Winter
d8dfc0a2b3
Fixed some bugs with LevelSetupManager and inventory. Moved hard-coding of level-specific options to a new LevelOptions config file. Fixed a couple minor bugs.
2014-11-10 12:47:24 -08:00
Nick Winter
956186b538
Fixed #1604 : changing languages and reloading work better now.
2014-11-10 09:36:40 -08:00
Matt Lott
a3d88eb975
Update a/b test tracking data
...
cast button text was missing group
auto first level and cast button text didn’t need action property
2014-11-09 21:47:51 -08:00
Nick Winter
51d8564aac
Lazily loading FilePicker. Reducing number of web workers used on iPad to try to reduce memory pressure.
2014-11-09 17:35:50 -08:00
Nick Winter
2bafad2932
Merge branch 'master' of https://github.com/codecombat/codecombat
2014-11-09 16:19:28 -08:00
Nick Winter
ad06000ceb
Fixed three big memory leaks: LevelSetupManagers never being destroyed, wall grid closures retaining Lanks, and real-time-multiplayer:new-opponent-code retaining Spells.
2014-11-09 16:19:18 -08:00
Matt Lott
377138f35f
Hide problem alert on code change
2014-11-09 11:36:17 -08:00
Matt Lott
5741968210
Skip delimiters on Enter
2014-11-09 11:28:03 -08:00
Matt Lott
1f11ad66ed
Play problem alert sound on jiggle
2014-11-08 22:17:14 -08:00
Matt Lott
0d2fe9b6e2
Update error code line background
...
Add title to problem alert dialog
2014-11-08 21:51:58 -08:00
Nick Winter
b74ad24aa8
A few sass tweaks to problem alerts and level loading.
2014-11-08 11:59:39 -08:00
Nick Winter
f9370532af
Merge branch 'master' of https://github.com/codecombat/codecombat
2014-11-08 11:51:38 -08:00
Nick Winter
4cb641689c
Increased dimming behavior when parts of the DOM are locked.
2014-11-08 08:58:36 -08:00
Nick Winter
a8700f5113
Reload now shows confirmation modal again. Added some stuff missing from the last commit.
2014-11-08 08:38:25 -08:00
Matt Lott
588fa0620e
Jiggle user code problem alert
2014-11-07 22:46:12 -08:00
Matt Lott
d43fd49d12
Use testGroupNumber in cast button text A/B test
2014-11-07 21:56:49 -08:00
Nick Winter
f3dfcdc81d
Implemented new HUD design. Removed more unneeded stuff. Changed reload button to restart level. Still need restart confirmation and to redo the sprite dialogue area.
2014-11-07 19:15:55 -08:00
Nick Winter
cfff09b01e
Merged big .executing arrow.
2014-11-07 16:06:14 -08:00
Nick Winter
5090a47afc
Implementing more of new code editor design. Removed ThangList, EditorConfigModal, and a few other obsolete things.
2014-11-07 16:04:35 -08:00
Nick Winter
fbc2799211
Startd to implement new code editor design. Fixed #1732 .
2014-11-07 09:09:13 -08:00
Matt Lott
b4dde5705b
Place error message over Surface next to line
2014-11-06 21:43:43 -08:00
Matt Lott
1630f7e033
Remove time from problem alert message
2014-11-06 15:03:39 -08:00
Matt Lott
453960b3fb
A/B Run and Submit button text
2014-11-06 14:44:56 -08:00
Nick Winter
35f5fd1c84
Hid some buttons that take us to old account/settings/achievements pages for now. Made property documentation popovers chill over to the left.
2014-11-05 19:23:55 -08:00
Nick Winter
c48b155413
Allow rerun of level without a code change.
2014-11-05 18:06:21 -08:00
Nick Winter
36c753a828
Returning executed statement highlighting to deemphasized state when playback has ended.
2014-11-05 17:47:23 -08:00
Nick Winter
aa9c3b5eaa
Fixed iPad scrubber positioning. Reworked spell debug progress stepper to use drags instead of hover. Hiding spell debug progress stepper based on level, not statements executed.
2014-11-05 17:34:56 -08:00