Commit graph

2050 commits

Author SHA1 Message Date
Nick Winter
fbbcf2a925 Replayed useful changes from last few InventoryModal commits after big merge. 2014-11-10 16:09:41 -08:00
Scott Erickson
f21f54cd19 Refactored, mostly redesigned inventory view, modeled after the Heald item store design. 2014-11-10 15:31:32 -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
Matt Lott
e253795665 Removing stray test console.log 2014-11-10 11:09:07 -08:00
Matt Lott
c5b26a4376 A/B test experimental languages hero select
Test group not shown experimental languages on first hero select.
2014-11-10 11:08:21 -08:00
Nick Winter
97c4ff2e7e Made flag detection more dynamic. 2014-11-10 10:51:46 -08:00
Nick Winter
956186b538 Fixed #1604: changing languages and reloading work better now. 2014-11-10 09:36:40 -08:00
Nick Winter
ab448532f5 Fixed bug in achievement popup listing wrong xp left values. 2014-11-10 08:31:26 -08:00
Nick Winter
f78ff257ab Several improvements to behavior of pointing out next levels. 2014-11-10 08:21:28 -08:00
Nick Winter
563c886bdd Hide the play button on the inventory screen until the items have fully loaded. 2014-11-10 07:49:30 -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
Matt Lott
9c6485b142 A/B test automatically starting first level
When loading the world map, if user hasn’t already started it.
2014-11-09 21:33:50 -08:00
Nick Winter
85471badaa Added callout to become an Adventurer on disabled levels. 2014-11-09 21:27:03 -08:00
Nick Winter
111b9febac Updated main.html. Removed LinkedIn. 2014-11-09 20:35:46 -08:00
Nick Winter
44d4d13c93 A few tweaks to the GameMenuModal. 2014-11-09 20:19:12 -08:00
Nick Winter
9b074841d6 Messed around with some of the new modals' scroll bars. 2014-11-09 19:39:09 -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
a628372b1b Enabled some levels for testing. 2014-11-08 21:50:25 -08:00
Nick Winter
14e8f6a653 Preparing for some of these new levels. 2014-11-08 19:33:00 -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
8d81445b84 More improvements to level loading view sizing and unveiling. 2014-11-08 11:51:31 -08:00
Nick Winter
1b94868197 Added new LevelDialogueView. Messed around with dimming a bit more. 2014-11-08 11:39:04 -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
Scott Erickson
636a46ff00 Removed my testing code for the GameMenuModal. 2014-11-07 13:05:31 -08:00
Scott Erickson
eecdbdbe17 Minor fix for when changing hero from the world map. 2014-11-07 13:02:48 -08:00
Scott Erickson
a087663458 Implemented Heald's design of the GameMenuModal. 2014-11-07 13:02:28 -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
Nick Winter
03852fb44f Plannable pickUpFlags support and fixes for playing Coinucopia. 2014-11-06 18:21:54 -08:00
Scott Erickson
424c3a6d3e Integrated the new PlayHeroesModal into the game, refactoring PlayLevelModal into LevelSetupManager. 2014-11-06 16:23:23 -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
ce6526863d Support for hiding optional bonus goals until they are achieved instead of until they are failed. 2014-11-06 08:57:13 -08:00
Nick Winter
fe7e96ab4e Started restricting common items with APIs that will make it impossible to win certain dungeon campaign levels. 2014-11-05 20:56:17 -08:00
Nick Winter
851bf39c5c Using extendedName. 2014-11-05 20:22:15 -08:00
Nick Winter
ce8b3bc83c Added hero components projection for good hero stat comparison bars. Fixed overflow/scrolling on code language selector for play-heroes-modal. 2014-11-05 19:37:13 -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
Scott Erickson
c660053dea Set up the PlayHeroesModal, and hooked it into the world map. 2014-11-05 19:04:14 -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
Nick Winter
f8679dfeca Hide say() until later levels. Fix bug with identifying correct equipped item ThangTypes in the spell palette. 2014-11-05 15:43:08 -08:00
Nick Winter
46409ef10d Made goals styling more robust to different sizing scenarios. 2014-11-05 15:06:26 -08:00
Nick Winter
189c3d202c Goals now show status: 'Running...' while the world is simulating. 2014-11-05 14:42:55 -08:00
Nick Winter
184e4c124a Impossible to select another slot and hide the available item the arrow is requiring you to equip. 2014-11-05 14:17:11 -08:00
Nick Winter
0e1afff318 No fold widgets in ACE. 2014-11-05 13:53:23 -08:00
Nick Winter
2afc7c830a Implemented getHeroStats. 2014-11-05 13:28:54 -08:00
Nick Winter
6efcbc5ead Hid Crawlways of Kithgard. A/B testing Haunted Kithmaze vs. The First Kithmaze. Renamed New Sight to Dread Door and awarded its glasses later. 2014-11-05 10:40:37 -08:00
Nick Winter
a2554570b0 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-11-05 07:50:13 -08:00
Matt Lott
40506d23a6 Admin growth view 2014-11-04 22:17:49 -08:00
Nick Winter
f461aeca95 Implemented new playback scrubber textures. 2014-11-04 19:03:35 -08:00
Nick Winter
49b8c745a0 New GoalsView background. Be my guest with any text color improvements. 2014-11-04 17:20:58 -08:00
Nick Winter
b776350e6a Made item shop fit on iPad and small screens. 2014-11-04 08:39:36 -08:00
Nick Winter
ff1f9d488c Hiding items with no stats or properties in the item shop for non-admins. Simple Boots show as owned. Enabled item shop for non-admins. 2014-11-04 07:52:23 -08:00
Nick Winter
9dba7ee187 Temporarily making Wizard/Ranger gear unpurchasable while we have no Wizards or Rangers. 2014-11-04 07:19:30 -08:00
Scott Erickson
2dee00883c Removed the testing code for the PlayItemsModal. 2014-11-03 20:53:49 -08:00
Scott Erickson
33d14918b0 Implementation of Heald's design of the PlayItemsModal. Added purchasing logic to the server to support it. Refactored header font from Bangers to Open Sans Condensed. 2014-11-03 20:48:59 -08:00
Nick Winter
447432301d Turning some links into buttons for iPad. 2014-11-03 09:58:57 -08:00
Nick Winter
441cf8c339 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-11-02 18:37:36 -08:00
Nick Winter
75f624c10b More iPad tweaks. Can now switch back to logging in from signing up. Default to signing up instead of logging in. 2014-11-02 18:36:43 -08:00
Michael Schmatz
60d60f8b49 Add logging out event 2014-11-02 19:02:49 -05:00
Nick Winter
ad2fdb9dde Working on new Fully Illustrated designs for level play view and iPad interface. 2014-11-02 14:51:01 -08:00
Nick Winter
9ebd09ec40 Analytics tracking individual note group starts/ends. Showing next level arrow faster. Added a couple munchkin names from one of yesterday's playtesters. 2014-11-01 16:59:12 -07:00
Nick Winter
e2680a3382 Tweaking my tweaks. 2014-11-01 15:57:42 -07:00
Nick Winter
a061ab5148 Some styling and animation tweaks to the level loading screen. 2014-11-01 11:10:26 -07:00
Nick Winter
57544c72a8 Moved Tactical Strike in from the edge of the map so it's a little more clickable on iPad. 2014-11-01 10:22:38 -07:00
Nick Winter
e129faf384 A few tweaks here and there. 2014-11-01 09:35:19 -07:00
Nick Winter
19c7d7b3b8 Schema is more lenient for problem we occasionally see with opponent level sessions not having a submittedCodeLanguage. Play dungeon menu music on levels of undefined terrain type. 2014-10-31 18:05:29 -07:00
Matt Lott
35cba4a90d Sync PVP status view and bug fixes
Pvp status view (temp location and UI)
Remove pvp status from control bar
Add game menu param for jumping into a specific tab
Lots of bug fixing and session state cleanup
Does not address problems with executing real-time multiplayer cast
2014-10-31 16:33:43 -07:00
Nick Winter
4bc5e5d3ad Gigantic DOM highlight arrow when animating in. A few more tiny tweaks and bugfixes. 2014-10-30 22:31:40 -07:00
Nick Winter
cd89198f70 Finished rearranging levels on the dungeon map. 2014-10-30 21:34:49 -07:00
Nick Winter
da3872b0a8 Hooked up new inventory recommendations for new levels. 2014-10-30 20:17:57 -07:00
George Saines
a0775e1bf2 moved the practice levels into position 2014-10-30 19:58:11 -07:00
George Saines
c8e5cdefec Merge branch 'master' of https://github.com/codecombat/codecombat 2014-10-30 19:47:29 -07:00
George Saines
bab73531f2 modified the map? 2014-10-30 19:47:24 -07:00
Nick Winter
a69e12fbc2 Updated WorldMapView to new levels. 2014-10-30 19:18:03 -07:00
Nick Winter
01fccf5ab7 Started highlight arrow sound A/B test. Hid more of the HUD when hiding. Support for knowing whether your killer was hurt when firing world:thang-died notes. 2014-10-30 19:18:03 -07:00
Nick Winter
57680f4a83 Hide HUD until Kithgard Gates. 2014-10-30 16:59:32 -07:00
Nick Winter
47c090f7c7 Hiding locked items with no slot selected. Silhouetting items that are too far above you. Only showing items with a gem cost in the inventory screen. Sorting items by gem cost. Animating double-clicking items to show their motion to the slot, sort of. 2014-10-30 13:07:04 -07:00
Nick Winter
7da65dec5b Including leather boots as required gear better. Labeling 'Your Skills'. Not showing a minus for incomplete goals. Adding script triggers for deleting required sample code. 2014-10-29 22:29:36 -07:00
Nick Winter
9b29e9512f Fixed GameMenuModal sometimes defaulting a Python player back to JavaScript. 2014-10-29 16:49:37 -07:00
Nick Winter
ea349cfa29 Intermediate query state for heroes while still transitioning from Unit to Hero. 2014-10-29 15:54:51 -07:00
Nick Winter
98fe639010 Added heroClass and gem fields to the ThangTypes, and a new Hero kind. Fixed adding new ThangType properties in the Thang Editor. 2014-10-29 15:34:04 -07:00
Nick Winter
2e3afa989b Handling some missing comment template errors better. Fixed equipping builder's hammer before Kithgard Gates. Fixed next level branch button linking. 2014-10-29 12:08:03 -07:00
Nick Winter
83bd8d3834 Enabled Forgetful Gemsmith in the world map. 2014-10-29 11:09:54 -07:00
Nick Winter
696b0ba336 Working around DCM's latest (very old) sploit. 2014-10-29 10:51:34 -07:00
Nick Winter
066fab03a3 Merge branch 'master' of https://github.com/codecombat/codecombat 2014-10-29 10:47:31 -07:00
Nick Winter
efa28b1064 Added some levels to the forest map. Beating levels and returning home now takes you to the proper map. 2014-10-29 10:47:17 -07:00
Scott Erickson
d3192dd373 Fixed a bug where the game menu being auto opened was crashing. 2014-10-29 10:43:05 -07:00
Scott Erickson
02eacbbc8f Added a button to switch between world maps. 2014-10-29 09:48:37 -07:00
Nick Winter
5ba1f61abe Added i18n support for level code comments. 2014-10-28 21:15:47 -07:00
Nick Winter
c7713b4105 Showing i18n in property docs. 2014-10-28 21:15:47 -07:00
Scott Erickson
a4729d9d6b Finished migrating the guide into game menu. 2014-10-28 16:30:40 -07:00
Scott Erickson
dcb7aaf9a4 Removed a TODO. 2014-10-28 14:23:39 -07:00
Scott Erickson
e6c0d53d50 ThangType editor now deletes properties properly. 2014-10-28 14:22:29 -07:00
Scott Erickson
67684b89d5 Fixed #1687, forcing reloads when populating i18n in documents. 2014-10-28 14:21:22 -07:00
Scott Erickson
895645ef6d Levels and Components with i18nCoverage update that coverage from the level editor now. 2014-10-28 13:48:17 -07:00
Scott Erickson
9e6fd119a0 Achievements populate i18n whenever they're edited now. 2014-10-28 13:09:07 -07:00
Scott Erickson
e5ea4f70e9 Added a progress bar to the i18n home view. Sorting models by completion so documents needing translation go to the top. 2014-10-28 11:28:31 -07:00
Scott Erickson
346f3b33bf Added context to the i18n editor for components. 2014-10-28 11:21:26 -07:00
Nick Winter
68ac412f2b I think this return is needed to prevent sending the i18n query results twice and crashing the server. 2014-10-27 22:54:50 -07:00
Scott Erickson
cea04d27ad Built diplomat-specific views for editing levels, components, achievements and thang types. 2014-10-27 17:16:22 -07:00
Matt Lott
8f923f9e1e Replacing http PATCHs with PUTs
We’re keeping the patch behavior though.
Real patch calls return incorrect http responses in some environments,
like Browserstack and schools.
2014-10-27 16:09:52 -07:00
Nick Winter
f86c726fc8 Made iPad touch events work on inventory equipping and progress slider. 2014-10-27 13:32:32 -07:00
Nick Winter
206f7ee5a4 Upgraded ChooseHeroView: drag onto hero, more visible drag states and animations, emphasize double-click over drag, better programming language selector. 2014-10-27 11:17:34 -07:00
Nick Winter
7b2964c6ef Formatting docs popovers for iPad. 2014-10-26 20:21:03 -07:00
Nick Winter
4c8e67efce FastClick avoidance on start level button. 2014-10-26 17:49:45 -07:00
Matt Lott
0f721f9f48 Reducing user code problems view to recent 300
Loading 1000 took too long (~10min) in production.
2014-10-26 17:11:51 -07:00
Nick Winter
c0f5c357ba Defense, not defence. 2014-10-26 15:31:20 -07:00
Nick Winter
27d1304c6c Turns out checking Errorception is really useful. 2014-10-26 11:02:34 -07:00
Matt Lott
7c21d5921e Update query for user code problems view
So it doesn’t explode in production.
2014-10-26 10:50:30 -07:00
Nick Winter
6473fff940 Implemented stat comparison bars on ChooseHeroView. 2014-10-25 21:53:55 -07:00
Nick Winter
3f5f292f0d Updated how we're sending over spell palette items to iPad app. 2014-10-25 16:26:03 -07:00
Michael Schmatz
56da3af83b Publish "tome:spell-loaded" on spell reloading 2014-10-25 17:00:54 -04:00
Matt Lott
185c977cdb User code problems admin view
Shows the most recent 1000 log entries
Url: admin/user-code-problems
2014-10-24 15:11:55 -07:00
Matt Lott
f4426f2e43 Save user code errors without 'Line N: ' prefix 2014-10-24 14:05:54 -07:00
Nick Winter
42b81fd55e Fix for point/region choosers destroying AudioPlayer's camera. Fix for DOM highlight arrow covering up level info on iPad. 2014-10-24 13:03:15 -07:00
Matt Lott
651ff3c8d0 Update attack snippet if no findNearestEnemy
This is a one-off fix until we have a more general solution to snippet
updating based on available skills.
2014-10-24 11:38:48 -07:00
Nick Winter
79ed8b2470 Hooked up some menu music transitions to play menu music during HeroVictoryModal and GameMenuModal. 2014-10-23 20:03:19 -07:00
Nick Winter
4c33b98e27 Fixed building Thangs with new Components that no other Thang uses. Fixed THangs with id 0 in the level editor. 2014-10-23 18:11:12 -07:00
Nick Winter
13fe1bbece Improved branching choices and set up an A/B/C/D test around branching. 2014-10-23 16:37:09 -07:00
Matt Lott
83516f562b Enable local autocomplete 2014-10-23 16:23:46 -07:00
Matt Lott
a5695e896b Increase size of autocomplete popup 2014-10-23 11:16:58 -07:00
Nick Winter
7f8216f482 Experimental branching support, visible to admins. 2014-10-22 15:42:51 -07:00
Nick Winter
039dd4f264 Fixed issue with HeroVictoryModal assuming achievements all have rewards. 2014-10-22 13:57:57 -07:00
Matt Lott
625a34b2e6 Add autocomplete right-justified help text 2014-10-22 12:24:31 -07:00
Nick Winter
afc6558edc Spell Saved -> Code Saved. Re-enabled level locking, with a fallback for when victory modals are hanging. 2014-10-22 10:46:34 -07:00
Scott Erickson
1f7d098b2e Added rotation buttons in the context menu and shortcuts to the level editor. 2014-10-22 07:53:49 -07:00
Nick Winter
49f3a0a298 More logging for the merged models problem. 2014-10-21 20:12:20 -07:00
Nick Winter
399cd048fc Logging some stuff to get to the bottom of things. 2014-10-21 19:39:13 -07:00
Matt Lott
bb8d1d8362 Adding more analytics even tracking
Actions on homepage
Path from homepage to first level
2014-10-21 16:55:16 -07:00
Nick Winter
09e80120bf Fixed issue with progress scrubber hover not showing the right time when hovering over handle. 2014-10-21 15:59:43 -07:00
Nick Winter
7c2982d3f1 Adding some logging for crazy save validation bugs. Swapping in flag item slot. 2014-10-21 13:57:49 -07:00
Scott Erickson
7f4ac3e5d6 Fixed point and region choosers in the level editor. 2014-10-21 10:59:05 -07:00
Nick Winter
7a9014f83a Several improvements to the victory modal. 2014-10-20 19:01:00 -07:00
Nick Winter
bc15ccd240 Fixed panel vs. total counts on other achievements. 2014-10-20 16:13:56 -07:00