Commit Graph

775 Commits (9bd2052b36d44eed5b05cc42c3cc416038c947df)

Author SHA1 Message Date
Berkeley Martinez 0fb132e28a feat(Map): Create Challenges comp with scu
Reduce challenge map open time
2018-01-07 21:57:11 +05:30
Berkeley Martinez 41ab4a736a feat(Map): Add Blocks component
Makes a single point of update for the blocks under a superblock and
decrease the speed to open/close a superblock consistently
2018-01-07 21:57:11 +05:30
Berkeley Martinez 4db584d6cc feat(Map): Conditionally render blocks/challenges 2018-01-07 21:57:11 +05:30
Berkeley Martinez 1e491d82d3 chore(Map): Remove isHidden selectors/state
This logic is no longer used
2018-01-07 21:57:11 +05:30
Berkeley Martinez 55adc282fa
Merge pull request #16430 from raisedadead/fix/preview-pane-background
revert(preview): Remove night mode background-color
2018-01-06 14:25:19 -08:00
Mrugesh Mohapatra f11fe6c5fb revert(preview): Remove night mode background-color 2018-01-07 02:44:07 +05:30
Berkeley Martinez 9263b91f73
Merge pull request #16418 from jameskaupert/fix/undefined_images
fix(challenges): Remove broken images when undefined
2018-01-05 21:48:40 -08:00
Berkeley Martinez 8e87a8991e chore(Panes): Move non-redux to utils 2018-01-05 21:27:33 -08:00
Berkeley Martinez 8498abc95a fix(Panes): Fix rightPane isHidden shadow bound
a rightpane that is hidden would also provide a shadow barrier to
minimizing a pane just left of it.
2018-01-05 21:24:30 -08:00
Adam Bohannon b44b582f35 fix(Panes): pane resizing issue
fix(Panes): pane resizing issue

fix(panes): added ternary to redux action

fix(Panes): removed console log

fix(Panes): Updated leftBound with lodash condition

fix(Panes): Refactored condition for leftPane
2018-01-05 21:24:30 -08:00
James Kaupert da9e1f1129 fix(challenges): Remove broken images when undefined
BREAKING CHANGE: none

Closes #16410
2018-01-05 19:48:31 -05:00
Chloe Collier 5f65f04ba4 fix(style): changed colors for dark-mode (#16404) 2018-01-04 12:09:19 +05:30
Vivek Agrawal 68e1c83db7 style(lesson-section): Add paddings (#16391)
Closes #16299

styles moved to challenges.less
2018-01-02 22:30:40 +00:00
Berkeley Martinez e1c5b8a894 fix(Nav): My Profile => Settings 2018-01-02 23:38:01 +05:30
Vivek Agrawal cec1b9a227 style(map): Change estimated timestamp color (#16393)
Closes #16321
2018-01-01 17:29:58 -06:00
Berkeley Martinez 540b0ec4d4
Merge pull request #16295 from Bouncey/fix/duplicateKeys
fix(step-challenge): Fix duplicate keys in Step
2018-01-01 12:57:33 -08:00
Joshua Swift 603a354e56
Merge branch 'staging' into fix/js-disabled-message 2017-12-30 11:12:57 +00:00
Berkeley Martinez 4aa4248204 Merge branch 'Bouncey:fix/toolpanelConflict' into staging 2017-12-29 16:08:48 -08:00
Berkeley Martinez 46a696472c fix(lint): Move rsa link to utils 2017-12-29 16:08:29 -08:00
Joshua Swift 23d2f2a08b JS is disabled alert 2017-12-29 20:26:38 +00:00
Stuart Taylor 07df17287a feat(map): Map will remember if it is hidden between challenges 2017-12-29 12:29:03 +00:00
Stuart Taylor 0f68940865 chore(step-redux): Remove console.log 2017-12-28 19:07:28 +00:00
Stuart Taylor a3a9683bf7 fix(step-keys): Use description slice for key 2017-12-28 18:59:56 +00:00
Stuart Taylor def690b282 fix(step-challenge): Fix duplicate keys in Step 2017-12-28 18:59:56 +00:00
Filip Havrlent bed731d2ad fix(challenges): Change e.meta to e.metaKey
The Command + Enter was not working on Mac in completition modal

Closes #16352
2017-12-28 19:51:59 +01:00
Stuart Taylor 2884b551c3 fix(classNames): Use block prop for .btn-block className 2017-12-28 18:47:42 +00:00
Stuart Taylor 2c6f0b1f09 fix(merge-conflicts): Add missing classNames to Get Help button 2017-12-24 09:34:05 +00:00
Stuart Taylor 71708aa7ff fix(merge-conflicts): Resolve conflicts 2017-12-24 09:25:25 +00:00
Stuart Taylor 4c96c2079e Merge branch 'fix/merge-78e86f5' of https://github.com/mpontus/freeCodeCamp into fix/toolpanelConflict 2017-12-24 09:21:03 +00:00
Niko 16dcfb4183 fix: Map button overlap (#16301) (#16310) 2017-12-23 23:43:56 -06:00
Berkeley Martinez 59602200c0
Merge pull request #16294 from Bouncey/fix/documentTitle
fix(document.title): Update document title for Challenge route
2017-12-23 08:14:05 -08:00
Khaled Saleh 7f2edb6a71 style(challenges): Changed the lesson buttons to match production sty 2017-12-23 09:15:07 -06:00
Mikhail Pontus 3144820405 fix(challenges): Implement Help Dialog
This commit applies changes from 78e86f514f.

It introduces Help dialog which guides the user to review Read-Search-Ask
methodology, ask the question on the forums or in gitter chatroom.

This dialog replaces existing Help button which was leading to Gitter Chatroom.
2017-12-23 14:58:06 +03:00
Khaled Saleh 3592f797ec style(map): Changed the color of the placeholder to grey inste (#16259) 2017-12-23 11:28:37 +00:00
Stuart Taylor b14a821f6c fix(document.title): Update document title for Challenge route 2017-12-23 11:21:30 +00:00
Berkeley Martinez 65356ff7e7 fix(Challenges/frame.js): Make iframe href base relative to / (#16221)
This prevents requests from appending to the current challenge url
2017-12-23 09:53:11 +00:00
Kristofer Koishigawa 3df65c30cd fix(common): Fix for loopProtect undefined error (#16263)
Edited the file so that the loopProtect code, which is in the head of
the iframe on www.freecodecamp.org, is in the same script tag as the
base challenge content that get's rendered to the page. While the
loopProtect code is not rendered to the page like the rest of the
challenge code, it's within the same scope and seems to function
normally.

BREAKING CHANGE: None that I know of, but will keep checking.

Closes #16260
2017-12-22 14:51:21 -05:00
Angel Eduardo 8ee27fa6ed fix: missing space in quiz score (#16241) 2017-12-21 16:04:20 -06:00
mrugesh mohapatra 8f6deff199 fix: Update text for GitHub and Settings (#16253)
This commit adds back changes from the
commit 9142aec8ad

Just updates the labels of some of the buttons
2017-12-21 15:35:21 -06:00
Shane Farrar 002e7d38c7 fix(UX): corrected overflow of instruction content (#16236) 2017-12-21 00:24:59 -06:00
Stuart Taylor 3d86eaecbc fix(style): Update search bar and apply styles (#16218)
* fix(style): Update search bar and apply styles

* chore(pkg): Bump react-freecodecamp-search version so there is no autocomplete
2017-12-20 10:48:17 -06:00
Berkeley Martinez e412ce7d0a Fix: storage files use challenge files as source (#16215)
* fix(files): CreateFiles shouldn't preserve previous state

* fix(Challenges): Use fileSpec when pulling from storage
2017-12-19 11:41:09 -06:00
Stuart Taylor b16993b915 fix(backend): Unable to submit backend project 2017-12-19 00:07:53 +00:00
Berkeley Martinez b2b1426e22 Feat: react redux migration (#16200)
* feat: crudely enables test to run solution code against React challenge (and passes!)

* feat: Updates comment

* feat: Adds React 2 and 3, validates challenges in app

* feat: Adds React 4, validates tests

* feat: Adds Peter's migrated challenge seed files for all challenges

* feat: Adds redux, react-redux imports, adds tests for React 7,

* feat: Adds tests for React 08

* fix(challenges): wrap reserved words in <code> and add tests

* feat: complete first two tests for React 9

* feat: modifies tests in React 09

* feat: Adds working tests for React 37, including async setState tests

* feat: Escape hatch to avoid async tests in automated test suite

* feat: Updates React 15 with working tests

* feat: build passes, yay

* feat: Provisions original code string in challenges and adds tests for React Redux 01

* fix(tests): add self-closing tags challenge, other small fixes

* fix(challenge): add react_10, some other stuff

* fix(challenges): update react 22, add react 23

* fix(challenges): react 5 and react 8

* feat: removes dependencies that will break in browser, will replace later

* feat: fix build

* feat: add redux 1

* fix(challenge): add react 24 tests

* feat: partial implemented Redux 2

* feat: migrate redux 3

* feat: Adds React-Redux 04 with working tests under npm test

* feat: Updates automated test runner, just provide all the dependencies. Adds Redux-Thunk.

* feat: Adds working tests for React Redux 07

* feat: redux challenge 4

* feat: migrate redux 5

* feat: redux 6

* feat: migrate Redux test 7

* fix(challenge): add react 25 tests

* feat: Adds tests for React 48, npm test does not pass...

* feat: Migrate Redux test 8

* fix(challenges): skip 26, add react 27 tests

* fix(challenges): add react 28 tests, replace function w/ => throughout, fix linter warnings

* feat: fixes (patches) hard to understand problem with automated test suite

* feat: updates async tests patch

* feat: adds converted tests for React 47

* feat: adds converted tests for React 46

* feat: Partially adds tests for React 43

* docs: adds TO-DO tests for React 43

* feat: migrates tests for React 42

* feat: migrates tests for React 41

* feat: migrates tests for React 39

* feat: Migrates tests for React 38, automated test script fails again!

* feat: migrates tests for React 32

* feat: QAs more React Redux challenge in FCC UI

* feat: Updates tests for React 7

* feat: Migrates React-Redux 3 tests and hardcodes deep-freeze dependency

* feat: migrates React Redux 05 tests

* feat: migrates React Redux 06 tests

* feat: Migrates React Redux 10

* feat: Migrates tests for React 16

* feat: Migrates React 17 tests

* feat: Migrates React 18 tests

* feat: Migrates React 19 tests

* feat: Migrates React 19 tests

* feat: fixing usage of code, replace with editor.getOriginalCode

* feat: Migrates React 21 tests

* feat: Finishes migration of React 09

* fix(challenges): add react 45 tests 💀

* feat: Adds React 11 tests

* feat: Migrates React 50 tests

* feat: Re-enables original code in FCC editor, QAs challenges blocked by original code

* feat: hacks head tail code in editor test environment

* feat: updates React 20 head code

* feat: QAs React Redux 07 in UI

* fix(challenges): add React 29 tests

* fix(challenges): add React 30 tests

* feat: updates async tests

* feat: Migrates React 12, gets ReactDOM challenges working and QAs them

* feat: Migrates React 13 tests

* feat: Migrates tests for React 14 and updates challenge description formatting

* feat: Refactors 2nd test for Redux 02

* feat: Migrates React 33

* feat: Removes React 26 and 43

* feat: Adds React 34 from Kevin

* fix(challenges): add React 31 & 35 tests (thanks Kevin)

* feat: Migrate Redux challenge 10 - pass both UI QA and terminal test

* fix(challenge): add react 40 tests

* feat: Migrates React Redux 02 tests

* feat: Migrates React Redux 08 and fixes async syntax in React challenge

* fix(challenge): add react 49 tests with caveat

* feat: fixes React 49 tests and adds first tests for React Redux 09

* feat: Migrate Redux 11 - pass both terminal test and UI test

* feat: Migrate Redux 12 - passing both UI test and terminal test

* feat: Migrate Redux 13 - passing both terminal and UI tests

* feat: Adding in code tags for previous redux challenges - terminal and UI tests pass

* feat: Migrates React Redux 09 and React 44 (thanks Kevin)

* feat: fix code tag issues - passed UI and terminal tests

* feat: Migrates Redux 14 tests

* feat: Migrates Redux 14

* feat: Migrates Redux 15

* feat: Migrates Redux 17

* feat: Final migration and QA of Redux, except for Redux 9

* feat: migrates React 36 and QAs

* feat: Rewrites Redux 09 and migrates

* feat: refactors pull request and cleans up code

* style(challenges): QA React challenges

* style(challenges): QA react challenges

* fix(challenges): fix react 41 and 45 tests

* style(challenges): QA redux challenges

* style(challenges): QA react and redux challenges

* fix(seed/react): Move head/tail to files

* fix(seed/redux): Move head/tail to file level

* chore(packages): Move jsdom to dev deps

* fix(seed/react/redux): Async funcs

make async func defined

* fix(seed): %s/editor.getUserCode/getUserInput/gc

* fix(Challenges/build): Make sure head/tail is bundled and transformed

* feat(Challenges.react): Add tail to render component

* chore(seed): Disable modern challenge testing for now

We will put these on beta while we update the auto testing framework
2017-12-18 15:04:03 -06:00
Berkeley Martinez 49133ab3d6
Merge pull request #16211 from Bouncey/fix/scroll-position
fix(Instructions): Scroll to top on update
2017-12-18 11:49:40 -08:00
Stuart Taylor b4542a5aa3 feat(search): Add react-freecodecamp-search to Nav (#16209) 2017-12-18 10:48:21 -06:00
Stuart Taylor e0f620ad59 fix(Instructions): Scroll to top on update 2017-12-18 12:43:48 +00:00
Quincy Larson 3c077561fa fix(linting): Fix linting issue 2017-12-16 20:11:03 +05:30
Quincy Larson cda82d68fe feat(navigation): Fix vertical bar in navbar and change "side panel" 2017-12-16 20:11:03 +05:30
Quincy Larson 7a110aaf55 fix(navbar): Fix a mistake I left in the CSS 2017-12-16 20:11:03 +05:30
Quincy Larson 59dc80a621 feat(navbar): Adds vertical line between normal navigation and p 2017-12-16 20:11:03 +05:30
Berkeley Martinez b1e9a172a2 Feat: anon navbar (#16189)
* chore(React): %s/react-pure-render/React.PureComponent/gc

* fix(Settings): Should redirect to signup when unauthen

* feat(Development): Use SES for mail if defined

* feat(Nav): Show anon navbar when logged in

* fix(server/datasources): Make sure mailhog works if no ses keys are found

LB will use both mail settings if using both local and dev

* fix(Nav): Use text instead of icons

* fix(Nav): Make donate page open in new tab
2017-12-15 15:53:32 -06:00
Mrugesh Mohapatra 6852814e11 fix(rechallenge): Use includes instead 2017-12-15 12:17:30 +05:30
Berkeley Martinez d3bbf27dab Fix(Challenges): get user code (#16187)
* fix(Challenges.): Prevent source from being overwritten

* fix(Challenges): Tests should use name

* fix(seed/react): Namespace tests for now
2017-12-13 17:24:36 -06:00
Berkeley Martinez 375442d365 fix(Modern): Editor should update not create (#16183) 2017-12-13 17:15:57 -06:00
Anh Tran 127fae59f4 fix(UX): Change the Available/Unavailable to Yes/No label o (#16176) 2017-12-11 09:45:58 +05:30
Berkeley Martinez 2e410330f1 Feat(Challenges): no js preview (#16149)
* fix(files): Decouple files from challenges

* feat(server/react): Remove action logger

use redux remote devtools instead!

* feat(Challenges): Disable js on edit, enable on execute

* feat(Challenge/Preview): Show message when js is disabled

* refactor(frameEpic): Reduce code by using lodash

* feat(frameEpic): Disable js in preview by state

* feat(frameEpic): Colocate epic in Challenges/redux

* refactor(ExecuteChallengeEpic): CoLocated with Challenges

* refactor(executeChallengesEpic): Separate tests from main logic

* feat(Challenge/Preview): Update main on edit

* feat(frameEpuc): Replace frame on edit/execute

This allows for sandbox to work properly

* fix(Challenges/Utils): Require utisl

* revert(frameEpic): Hoist function to mount code in frame

* fix(frameEpic): Ensure new frame is given classname

* feat(executeChallenge): Update main on code unlocked

* fix(frameEpic): Filter out empty test message

* fix(Challenge/Preview): Remove unnessary quote in classname

* feat(codeStorageEpic): Separate localstorage from solutions loading

* fix(fetchUser): Merge user actions into one

prefer many effects from one action over one action to one effect

* fix(themes): Centralize theme utils and defs

* fix(entities.user): Fix user reducer namespacing

* feat(frame): Refactor frameEpic to util

* feat(Challenges.redux): Should not attempt to update main from storage

* fix(loadPreviousChallengeEpic): Refactor for RFR

* fix(Challenges.Modern): Show preview plane
2017-12-07 18:13:19 -06:00
Mrugesh Mohapatra 885d5916c0 fix: Update email action should hit API 2017-12-07 00:00:02 +05:30
Berkeley Martinez 7b6f774e9b fix(Settings): Actually change state when nav to update email 2017-12-04 13:50:49 -08:00
Berkeley Martinez bf706e9bf2 fix(Router): Link should use reselect 2017-12-03 13:38:52 -08:00
Berkeley Martinez 63875316d9 fix(Router): Add lang to payload if payload doesn't exist
closes #16134
2017-12-03 13:21:47 -08:00
Berkeley Martinez dced96da8e feat: react challenges (#16099)
* chore(packages): Update redux utils

* feat(Panes): Invert control of panes map creation

* feat(Modern): Add view

* feat(Panes): Decouple panes from Challenges

* fix(Challenges): Decouple challenge views from panes map

* fix(Challenge/views): PanesMap => mapStateToPanesMap

This clarifies what these functions are doing

* fix(Challenges): Add view type

* fix(Panes): Remove unneeded panes container

* feat(Panes): Invert control of pane content render

This decouples the Panes from the content they render, allowing for
greater flexibility.

* feat(Modern): Add side panel

This is common between modern and classic

* feat(seed): Array to string file content

* fix(files): Modern files should be polyvinyls

* feat(Modern): Create editors per file

* fix(seed/React): Incorrect keyfile name

* feat(Modern): Highligh jsx correctly

This adds highlighting for jsx. Unfortunately, this disables linting for
non-javascript files as jshint will only work for those

* feat(rechallenge): Add jsx ext to babel transformer

* feat(seed): Normalize challenge files head/tail/content

* refactor(rechallenge/build): Rename function

* fix(code-storage): Pull in files from localStorage

* feat(Modern/React): Add Enzyme to test runner

This enables testing of React challenges

* feat(Modern): Add submission type

* refactor(Panes): Rename panes map update action
2017-11-29 17:44:51 -06:00
Quincy Larson 52c99823b8 feat(UI): Add new congratulations messages and remove confus (#16110) 2017-11-26 01:18:58 +05:30
Berkeley Martinez dbecdc5618 feat: prep for modern challenges (#15781)
* feat(seed): Add modern challenge

* chore(react): Use prop-types package

* feat: Initial refactor to redux-first-router

BREAKING CHANGE: Everything is different!

* feat: First rendering

* feat(routes): Challenges view render but failing

* fix(Challenges): Remove contain HOC

* fix(RFR): Add params selector

* fix(RFR): :en should be :lang

* fix: Update berks utils for redux

* fix(Map): Challenge link to arg

* fix(Map): Add trailing slash to map page

* fix(RFR): Use FCC Link

Use fcc Link to get around issue of lang being undefined

* fix(Router): Link to is required

* fix(app): Rely on RFR state for app lang

* chore(RFR): Remove unused RFR Link

* fix(RFR): Hydrate initial challenge using RFR and RO

* fix: Casing issue

* fix(RFR): Undefined links

* fix(RFR): Use onRoute<name> convention for route types

* feat(server/react): Add helpful redux logging/throwing

* fix(server/react): Strip out nonjson from state

This prevents thunks in routesMap from breaking serialization

* fix(RFR/Link): Should accept any renderable

* fix(RFR): Get redirects working

* fix(RFR): Redirects and not found's

* fix(Map): Move challenge onClick handler

* fix(Map): Allow Router.link to handle clicks after onClick

* fix(routes): Remove react-router-redux

* feat(Router): Add lang to all route actions by default

* fix(entities): Only fetch challenge if not already loaded

* fix(Files): Move files to own feature

* chore(Challenges): Remove vestigial hints logic

* fix(RFR): Update challenges on route challenges

* fix(code-storage): Should use events instead of commands

* fix(Map): ClickOnMap should not hold on to event

* chore(lint): Use eslint-config-freecodecamp

Closes #15938

* feat(Panes): Update panes on route instead of render

* fix(Panes): Store panesmap and update on fetchchallenges

* fix(Panes): Normalize panesmaps

* fix(Panes): Remove filter from createpanemap

* fix(Panes): Middleware on location meta object

* feat(Panes): Filter preview on nonhtml challenges

* build(babel): Add lodash babel plugin

* chore(lint): Lint js files

* fix(server/user-stats): Remove use of lodash chain

this interferes with babel-plugin-lodash

* feat(dev): Add remote redux devtools for ssr

* fix(Panes): Dispatch mount action

this is needed to trigger window/divider epics

* fix(Panes): Getpane to use new panesmap format

* fix(Panes): Always update panes after state

this lets the panes logic be affected by changes in state
2017-11-09 19:10:30 -06:00
Berkeley Martinez 1ca383a5ff
Merge pull request #15803 from vivek28111992/fix/text-change
fix(challenges): Change of text in Introduction to the basic node a
2017-11-02 15:21:12 -07:00
JustusFT 4ba3e64786 fix(nav): Navbar breaks at 768px to 786px 2017-11-03 01:04:38 +05:30
mrugesh mohapatra 326e10feff Merge pull request #16003 from aaronang/fix/shift-tab
fix(editor): Unindent line when nothing is selected
2017-10-24 01:22:43 +05:30
Aaron Ang 50d1b8aae8 fix(editor): Unindent line when nothing is selected
Pressing SHIFT + TAB while no text is selected would indent the text
which is uncommon behavior. This change will always unindent the code
regardless of whether text is selected or not.
2017-10-21 14:12:33 +02:00
Marc Rendl Ignacio ed68463738 fix: remove random compliment without gender-neutral alternative 2017-10-21 08:18:58 +08:00
Peter Weinberg f868862c0f fix(editor): restore syntax highlighting for light theme 2017-10-13 20:26:51 -04:00
Berkeley Martinez 509613f5d7 Merge pull request #15889 from ltegman/fix/navbar-props
fix(Navbar): stop using removed onClose prop of react-bootstraop Navbar
2017-09-25 21:15:59 -07:00
Logan Tegman e0c4e53be3 fix(Navbar): stop using removed onClose prop of react-bootstraop Navbar 2017-09-16 19:12:30 -07:00
dhcodes 63a147257b fix(main): static page links and constantStrings 2017-09-16 17:16:48 -05:00
Quincy Larson 564e76b2bf fix(merge): Fix merge conflicts 2017-09-11 17:43:18 -05:00
Markus Englund 3206d8c549 fix(map): Change styling of map in night mode (#15780)
Previously the map had white background color and white color, making it
impossible to see the text. I changed the colors to the standard
night-mode color variables. I also deleted a css class that was not
doing anything.

Closes #15702
2017-09-11 09:53:16 +02:00
Berkeley Martinez 3be6775245 Merge pull request #15758 from xnt/fix/testResults-a11y
fix(challenges): Provide accessible test description and status
2017-09-04 14:22:05 -07:00
Darth Skywalker 64806f2a3b fix: submit button is not clickable on challenge completion modal 2017-09-02 12:13:07 +05:30
Stuart Taylor 1126bf7004 Protect the global name space from the code editor 2017-09-01 20:24:51 -07:00
Berkeley Martinez e50fbc05ca fix(redux.utils): Fix test plan 2017-09-01 20:01:57 -07:00
systimotic 01291162ef Fix isBeta challenges displaying without title when they should be hidden 2017-09-01 20:01:57 -07:00
Berkeley Martinez 7dd9d31e54 Merge pull request #15760 from xnt/fix/main-landmark
fix(accessibility): Add main and complementary landmarks
2017-09-01 18:31:23 -07:00
Dylan 900617613f fix(challenges): Added bug modal to classic ch (#15828)
Closes #15740
2017-09-01 11:16:19 -07:00
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Vivek ad20c9724d fix(challenges): Change of text in Introduction to the basic node a
Text was not getting changed going from step 1 to step 2 because ul
cannot be child node of p tag so I changed p tag to div in Introduction
to the basic node and express challenges. For ref.
https://stackoverflow.com/questions/10601345/ul-element-can-never-be-a-child-of-p-element

BREAKING CHANGE: Changed p tag to div tag in Step.jsx

Closes #15796
2017-08-25 16:42:24 +05:30
Zachary Kearns a5c330de4d fix(settings): Improve email settings buttons
Closes #15772
2017-08-23 23:36:44 -04:00
Vicente Plata cd9af163f6 fix(challenges): Provide accessible test description and status
Closes #13013

fix(challenges): Fix undefined initial variable status
2017-08-22 22:08:20 -07:00
Vicente Plata d449c3cdd0 fix(accessibility): Add main and complimentary landmarks
Screen readers and other assistive technologies use it for navigation

Closes #15658
2017-08-12 22:02:01 -07:00
Berkeley Martinez 0d70db5d98 Merge pull request #15022 from no-stack-dub-sack/feat/challenge-desc
feat(views): create global challenge-description component
2017-08-08 18:22:10 -07:00
Marius Espejo 34d512ffeb fix: don't render challange if isBeta (#15741) 2017-08-08 14:44:59 -05:00
Cody Seibert 9f875e1d11 feat(quiz): initial quiz view which can be used for multiple choice (#15743)
quizes
2017-08-08 14:31:26 -05:00
Dylan f9e925b03e Merge pull request #15734 from anawebdev/fix/hours-display
Correct misalignment between challenge names and hour estimates
2017-08-05 21:17:14 -05:00
Ana 9adbd5fb56 fix: hours-display 2017-08-05 11:06:03 +03:00
Berkeley Martinez c547c26bba Fix: map should redirect to current challenge (#15723)
* fix(routes): /map redirects to current challenge

* fix(map): Normalize server map building

Localize all server code dealing with the map

* refactor(server): Remove unused services

* feat(Nav): Show Map button when no panes

This gives user the ability to quickly return to their challenge using a
known feature

* fix(server.map): Add caching to nameIdMap

Add caching to nameIdMap on the server

* fix(services.map): Fix map service

Move map building utils to map util. Fix bad import. Normalize challenge
lookup
2017-08-03 22:45:36 -05:00
Berkeley Martinez 42bfa2e64d feat(app): new layout (#14707)
* feat(app): Restructure app to be more flexible and redux idiomatic

BREAKING CHANGE: Lots of breaking changes

* refactor(challenges): Redux to started file structure

* fix(app): lint issues due to refactor

* fix(settings): Refactor settings to use folder structure

* refactor(challenges): Move step redux stuff into step folder

* fix(challenges): Remove fetchchallenges actions

* refactor(challenges): Move project redux logic into project view subdirectory

* refactor(app): %s/sagas/epics/g

* refactor(redux): Use new redux-epic with combineEpic and ofType

* refactor(app): Move challenge selector to app level

* fix(app): Move loading challenge info into challenge route

This moves a lot of the logic needed to load challenge info into the challenge app. This decouples
the main app from the challenge route

* refactor(map): Map is now decoupled from challenges

* refactor(challenges): Use selectors everywhere instead of guessing state shape

* refactor(client): refactor client epics to use selectors

* refactor(app): Refactor userSelector to return user object instead of object.user

* refactor(entities): Move entities logic into it's own file

* fix(redux): combineTypes should be combineActions

* fix(app): reducer namespacing and import

* fix(Map): Fix undefined type and update redux-action

* fix(redux): Refactor fetchUser to be more declarative

Use rxjs methods instead of imperative if/else. Also prevent non-actions from being emitted

* fix(redux): toString multi phase action types

* fix(redux): typecast multiphase type, fix typo in reducer

toString multiphase types in fetch challenge epic. Add epic to epics lists. Fix type in fetch
challenge complete handler

* fix(redux): updateCurrentChallengelogic should be centerlized

Move route changes to one location.

* fix(Nav): Prevent event object from hanging around

closeDropDown/openDropDown where handing on to the event object. This was causing issues with react
since event objects are recycled in React.

* fix(Map.Challenge): decouple map selector

* fix(Map): Decouple panel selectors from props

Panel Selectors no longer need to know the shape of a components props. Refactored component
selectors to decouple them entities state shape

* fix(Map.redux): Add select challenge epic and connect map epics

* fix(redux.analytics): Fix meta creator and nav/map events

* fix(redux): Update current challenge ajax

* fix(challenges): ssr fetch challenge should update challenge ui

Was using an epic to update challenge ui on fetch complete, but this was not working on ssr due to
the way ssr disables epics to wait for completion. This commit fixes this by causing the complete to
directly update state in the challenge ui

* fix(challenges): wrong import of types, refactor epic name

* fix(redux): Prevent fetch challenge epic from emitting null to dispatch

* fix(redux): prevent executechallenge from emitting null

* fix(challenges.redux): testsSelector returns just tests

* fix(challenges.redux): Prevent completion challenge from emitting null

* refactor(Challenges.Step): Refactor step challenge to release event object

* fix(redux): wrap reducers in factories
reducers exported from features need to be factories
this helps avoid cyclic requires messing up reducer creation
We end up with exports from files being undefined as node tries
to resolve cyclic dependencies.
This prevents that by wrapping the `handleActions` call so that the ref
to types imported from parent features are closures and can be resolved
by node before we need them.

* fix(Map): createUi not working correctly

map utils should receive just map ui state, createMapUi needs to add title to challenge

* feat(Challenges): Adds Panes and panes backend challenge

* fix: Create child container to wrap children

Create a ChildContainer comp' to wrap all children that represent the view for the current route.
This let's the child route define if they want a full width view or if they want the standard
max-width view.

* feat(Panes): panes now render dividers

* feat(Panes): Get divider to move currectly

* fix(Nav): Add top margin to contained childs

Move margin-bottom from nav to child container as margin top. This let's the jsbin style views fit
snug with navbar

* fix(Panes): Should be contained within their borders

* feat(Panes): Update navbar height of pane on app mount

* feat(Panes): Toggle map on map nav btn click

* fix(gulpfile): Ensure nodemon exits on restart

On process exit, wait for nodemon to shutdown before process.exit

* feat(Panes): Make Panes redux first

* fix(Panes): Fix divider positioning

* fix(Panes): Update divider moved handler

dividerMoved action now uses new panesByName structure

* feat(Panes): Pane nav button will hide panes

* chore(package-lock): Update package lock

* feat(Panes.redux): Recaculate dividers on pane toggle

* fix(Challenges): Update challenge on dashedName change

This fixes backwards navigation not updating the redux state current
challenge

* feat(Panes.redux): Clear panes on unmount

Clearing panes on unmount will clear bin buttons in nav

* refactor(Map): Colocate styles

* feat(Map): New map layout

* fix(Map): No longer has it's own page

* fix: FetchChallenges on appMounted

* feat: Normalize fetchChallenge(s) results

This allows superblocks to be sent with both fetchChallenge and
fetchChallenges so the map is always populated on first load

* feat(Map): Show blocks on first load

* fix(less): Remove old css

* feat(Nav): Reduce nav height

* fix(Nav): Render nav after content

Render nav after content and use css to reverse again on screen. We do
this so the panes can render first and update redux panes state which
will then update the nav ui state before nav has a chance to render

* fix(Panes): Add container

This adds a Panes Container that will allow it to udpate redux state so
Panes Component will have redux state ready to actually render panes

* feat(Challenges.Classic): Add panes

* fix(Challenge.Classic): Editor onchange should not need to know about file

* fix(Panes): Index on panes hide should account for hidden pane

* fix(Challanges.Classic): Fix panes types

* fix(Challenges): Add completion modal to all challenges

Change classic modal to completion modal

* fix(Panes): Dividers live on top of planes

* fix(Challenges): Remove codemirror theme

Remove codemirror theme and remove borders from preview frame

* fix(Challenges.Classic): Remove old component

* feat(Challenges.Step): Add panes to step challenge

* feat(Challenges.Project): Add panes to projects

* fix(Challenges.Projects): Remove row

* fix(Modals): Move modal text color to challenge less

This text color is dependent on the actual header color

* fix(Map): Use Superblock title for ui

* fix(Map): Reduce panel header height

* fix(app): Capitalize Toasts folder

Feature folders should be campitalized

* chore(Map): Remove unused epic file

* fix(Step): Fix tests

* test(Map): Update createMapUi tests input
2017-07-31 22:04:01 -05:00
Mrugesh Mohapatra 91105bdf12 fix(frontend-projects): replace video with image thumbnail 2017-07-13 21:50:47 +05:30
Dylan 6608f82d5a reset to top on new challenge (#15607) 2017-07-09 12:58:25 -05:00
Luke Bousfield 121f53a20b Replaced 'startsWith' with `RegExp.test()` 2017-07-02 15:15:23 +01:00
Peter Weinberg 5501542e10 feat(views): create global challenge-description component 2017-06-29 00:39:55 -04:00
Berkeley Martinez 36c61b1c52 Merge pull request #14979 from padulam/feature/bug-modal-issue-link
Updates create issue button in bug modal to direct user to forum
2017-06-21 15:43:40 -07:00
padulam ec020ad471 Add available for hire button 2017-06-18 09:13:48 -04:00
Dylan e1a2fecd13 add donate links and mousetrap 2017-06-05 16:46:04 +01:00
padulam ea951052a3 Point bug modal to forum 2017-05-30 10:17:21 +05:30
Berkeley Martinez 70f2b797d9 Fixs classic modal styling not rendering
Move classic modal less files co-locating them in the app file structure
2017-05-19 05:46:35 +01:00
Stuart Taylor 2ed64dc1e5 Add a settings skeleton 2017-05-03 00:21:42 +01:00
Berkeley Martinez ee8ac7b453 feat(rechallenge): Retool challenge framework (#13666)
* feat(rechallenge): Retool challenge framework

* fix(code-storage): should use setContent not updateContent

* fix(rechallenge): fix context issue and temporal zone of death

* fix(rechallenge): Fix frame sources for user code

* fix(polyvinyl): Set should ignore source and transform should keep track of source

* fix(rechallenge): Missing return statement causing issues
2017-04-28 20:30:23 -05:00
Berkeley Martinez 8dd66b5084 fix(classic-challenge): should not show scroll bar if not needed (#13981) 2017-03-22 00:06:58 -05:00
Berkeley Martinez 53001012d1 feat(Map): Map now is closed by default (#13980) 2017-03-18 02:38:11 -05:00
Berkeley Martinez f4443e16dd feat(nav): make navbar static (#13673)
* feat(nav): make navbar static

make the navbar in react layout and the static layout stick to the top of the screen

* feat(challenges): Make classic view flex

Classic view now uses flex to control it's height. This was necessary to control view and allow
navbar to be static on other pages.

This breaks mobile view and other non-classic challenge views

* feat(app): Add logic to make screen expand on tablet

* fix(app): let routes define their content structure

* fix(less): use American spelling of gray

* fix(classic-preview): make preview smaller to prevent scroll

* feat(classic-frame): Make frame border less distinct

* fix(challenges): scope test suite less to challenges

* feat(challenges): make generic ChallengeTitle component
2017-03-13 18:17:07 -05:00
Eric Leung f046a7d5c3 Add space in challenge step counter within parens 2017-03-09 01:42:09 -08:00
Berkeley Martinez b9c54fb859 Merge pull request #13164 from no-stack-dub-sack/fix/backend-challenge-wrapper
fix(challenges): add class to backend challenge wrapper, fix basic no…
2017-02-28 13:43:54 -08:00
Berkeley Martinez 4d4516a2bc Merge pull request #12497 from Bouncey/fix/update-eslint-plugin-react
Enable react/sort-prop-types rule
2017-02-27 14:00:38 -08:00
quentin de707c185e indexOf() instead of includes() 2017-02-20 15:42:50 -05:00
Peter Weinberg 9ec760fa54 fix(challenges): add class to backend challenge wrapper, fix basic node formatting 2017-02-17 20:20:23 -05:00
Stuart Taylor c96ce25598 Enable react/sort-prop-types rule 2017-02-05 13:13:36 +00:00
Peter Weinberg 0b60d7de3a chore(seed): freeCodeCampify remaining sections of codebase 2017-02-02 18:29:59 -05:00
Dylan 2d836f0237 Merge pull request #12917 from systimotic/feature/editor-focus-hotkeys
Add editor focus and unfocus hotkeys
2017-01-29 21:44:24 -06:00
Samuel Plumppu 3ebfb05171 Merge pull request #12856 from systimotic/fix/bug-reporting-indentation
Fix closing backticks indentation on bug report
2017-01-29 22:20:57 +01:00
systimotic c57f577fe0 Add editor focus and unfocus hotkeys 2017-01-27 16:42:05 +01:00
systimotic 01d10c5316 Fix closing backticks indentation on bug report 2017-01-27 09:24:21 +01:00
Berkeley Martinez f1d936198e feat(challenges): add backend challenge infrastructure (#11058)
* Feat: Initial backend view

* Feat: Refactor frame runner

* Feat: backend challenge submit runs tests

* Feat: Backend challenge request

* Feat: Whitelist hyperdev in csp

* Fix: Use app tests instead of challenge tests

* Feat: Allow hyperdev subdomains

* Fix(csp): allow hypderdev.space subdomains

* feat(challenge): submit backend

* feat: Add timeout to test runner (5 sec)

* chore(seed): Add more to test backend

* fix(csp): s/hyperdev/gomix/g

* fix(app): fix code mirror skeleton filepath

* fix(app): remove Gitter saga import

* fix(app): codemirrorskeleton does not need it's own folder
fix(app): cmk needs to work with Null types

* fix: No longer restart the browser when challenges change

* fix(app): Update jquery for challenges

* fix(seed): Remove to promise jquery call

* fix(lint): Undo merge error
undefined is no allowed

* fix(app): linting errors due to bad merge

* fix(seed): Remove old seed file
2017-01-26 23:07:22 -06:00
Samuel Plumppu 1196093ca2 Merge pull request #12833 from systimotic/fix/es6-linting
Fix ES6 linting
2017-01-25 17:16:17 +01:00
systimotic 9d457c4cac Fix ES6 linting 2017-01-25 15:29:52 +01:00
Mrugesh Mohapatra f262bfd960 fix(night-mode): Update indenting and change border color 2017-01-24 22:23:20 +05:30
Markus Török e1261526d8 fix(night-mode): Add css classes to unsubscribe button
Add class btn-toggle and remove bg-color from inactive buttons in night mode
2017-01-24 22:17:45 +05:30
systimotic 6e653c65bd Center images in introduction challenges 2017-01-21 21:58:34 +01:00
dhcodes d45dd23adf update blockNameify preformattedBlocks for beta 2017-01-19 21:16:48 -06:00
Peter Weinberg 3ed485b14a chore(common): updated common to freeCodeCamp 2017-01-14 19:49:01 -05:00
Quincy Larson ed91c4bf09 Merge pull request #12438 from BerkeleyTrue/fix/open-toggle-warning
fix(nav): add noop for onToggle to remove warning
2017-01-09 23:28:38 -06:00
Berkeley Martinez 0cd2e9b390 fix(settings): Lang attribute warnings 2017-01-08 20:33:00 -08:00
Berkeley Martinez f25d850c92 fix(nav): add noop for onToggle to remove warning 2017-01-08 19:58:45 -08:00
Stuart Taylor a9059eb2c6 Make translated challenge titles searchable 2017-01-07 22:36:45 +00:00
Stuart Taylor b9c7532efd Next step unlocked persistence 2017-01-05 21:33:52 +00:00
Berkeley Martinez 8bb85c9f8d Merge pull request #11784 from Bouncey/fix/entitiesReducerRefactor
Fix: Entities reducer refactor to enable update of redux-actions
2017-01-04 16:16:53 -08:00
Stuart Taylor bba4ecc13c Refactor entities reducer for redux-actions update 2017-01-05 00:09:47 +00:00
Berkeley Martinez dd5425eb21 Merge pull request #12306 from Bouncey/feature/codemirrorSkeleton
Render CodeMirror skeleton for SSR
2017-01-04 15:42:57 -08:00
Berkeley Martinez 568091785f Merge pull request #12322 from systimotic/fix/improve-log-output
Improve console.log output
2017-01-04 15:39:01 -08:00
Quincy Larson 19facd3781 add new nav dropdown options 2017-01-04 22:55:46 +00:00
systimotic 27713a9d21 Improve console.log output 2017-01-04 18:25:54 +01:00
Stuart Taylor 075476f15f Render CodeMirror skeleton for SSR 2017-01-03 21:25:14 +00:00
Berkeley Martinez 3d93e70a73 Show dropdown on hover 2017-01-03 07:04:07 +00:00
Berkeley Martinez 3a4e62da44 feat(nav): Add dropdown menu 2016-12-30 16:08:15 -08:00
Berkeley Martinez 1892654dab feat(nav): remove sidecar 2016-12-29 22:04:05 -08:00
Dylan 7d2ca7c8a3 fix wording and css of Bug Modal 2016-12-28 19:11:27 -06:00
Stuart Taylor 0ac02647e2 Add blockName to titles 2016-12-13 21:30:36 +00:00
Stuart Taylor 60d46e069b Add reactified challenge success modal 2016-12-05 22:54:38 +00:00
Stuart Taylor 9d46ebfc29 Added note about language degradation 2016-11-29 22:52:05 +00:00
Dylan d53a92bf59 Merge pull request #11479 from Bouncey/fix/lastVideoRedirect
Fix Final Video Challenge Completion
2016-11-22 10:59:55 -06:00
Stuart Taylor 16863d9641 Remove stampit in favour of a factory function 2016-11-17 19:15:23 +00:00
Ashley Perpetual 2faadffc3d Fixed typo in utils.js filterComingSoonBetaChallenge 2016-11-09 11:14:56 +08:00
Quincy Larson 00063a909c Merge pull request #11439 from BerkeleyTrue/feat/shadow-settings
feat(app): render spinner on `/settings`
2016-11-08 16:59:16 -08:00
Berkeley Martinez 5edfb77dbf Merge pull request #11219 from atjonathan/fix/hikes-styling
Fixed styling issues with Hikes
2016-11-04 08:26:42 -07:00
theflametrooper 6777823607 Fixed styling issues with Hikes
⚙ Fixed tabs/spaces issue
📱 Added responsiveness to YouTube embed
2016-11-04 13:18:35 +00:00
Stuart Taylor 74cfed9826 Fix Final Video Challenge Completion 2016-11-01 20:56:11 +00:00
Berkeley Martinez 2400ea04c5 feat(app): render spinner on /settings 2016-11-01 13:35:55 -07:00
Stuart Taylor d3d98a8c73 Revert "Added note about language degradation" 2016-10-31 22:39:45 +00:00
Stuart Taylor ede58df494 Added note about language degradation 2016-10-30 20:37:16 +00:00
vinhhv 9e2f1ebf01 Fix jsx typo in map header 2016-10-29 12:44:48 +01:00
Berkeley Martinez 675438b075 fix(jsx): prevent bootstrap from injecting props to react primitive 2016-10-28 00:32:13 +01:00
Berkeley Martinez e3f94236e6 Merge pull request #10957 from ivantedja/feature/unlink-social-account
add ability to unlink social accounts (twitter, linkedin)
2016-10-27 08:03:28 -07:00
Ivan Sebastian c9e2171c11 add ability to unlink social accounts (twitter, linkedin) 2016-10-27 18:41:26 +07:00
Jonathan 387899859c Merge pull request #10824 from dhcodes/feature/add-progress-reset-option-in-settings
Add reset progress option to user settings
2016-10-26 16:09:15 +01:00
Timo e8713dcae0 Add keyboard shortcut for commenting code 2016-10-24 09:56:48 +01:00
Logan Tegman 2762238c8d Fix sitemap, remove jobs remnants 2016-10-06 22:10:26 -07:00
Logan Tegman 9581beb05e Merge pull request #11080 from dhcodes/fix/typo-language-settings
fixed some typos langauge -> language
2016-10-06 18:17:22 -07:00
Dylan 982ffd5228 fix map header and scrolling (#11054)
Checked across browsers and platforms. Crossing fingers now :D haha
2016-10-06 16:06:18 -04:00
dhcodes 96b68c29b9 fixed some typos langauge -> language 2016-10-06 13:12:22 -05:00
Justin Richardsson 7ae36e3dd4 Merge pull request #10935 from dhcodes/fix/map-drawer-issues
Fix map drawer issues
2016-09-30 17:53:26 -04:00
Quincy Larson ae0f0e0f90 Merge pull request #10982 from BerkeleyTrue/fix/code-storage-fresh-head-tail
Fix(code-storage): Make sure head/tail is always fresh
2016-09-30 12:45:26 -07:00
Berkeley Martinez 88c2763dc1 Fix(code-storage): Make sure head/tail is always fresh 2016-09-29 12:44:19 -07:00
Berkeley Martinez ad73222926 Fix(tests): Typo in object tests 2016-09-29 11:58:31 -07:00
Quincy Larson dc803b1b46 Merge pull request #10949 from BerkeleyTrue/fix/remove-slide-animation
Fix(step): remove slide animation
2016-09-28 23:06:32 -07:00
dhcodes 42c9103e41 fix map drawer issues 2016-09-28 11:55:41 -05:00
Berkeley Martinez b3268c497a Fix(react): use className not class 2016-09-27 20:04:11 -07:00
Berkeley Martinez ec8c0d1f39 Fix(step): remove step animation 2016-09-27 19:56:03 -07:00
Quincy Larson 4e893aaf08 Merge pull request #10886 from BerkeleyTrue/feat/test-object
Feat(challenges): Let tests be objects
2016-09-26 11:03:22 -07:00
dhcodes e543693d18 Add reset progress option to user settings 2016-09-26 10:54:58 -05:00
Adegbuyi Ademola 5cbe98c3eb (Feat): Menu should show username on sm screens
(Feat): Menu should show username on sm screens

(Feat): Menu should show username on sm screens

(Feat): Menu should show username on sm screens
2016-09-24 20:24:36 +01:00
Adegbuyi Ademola f1a1166173 fix(Nav): Avatar should light up brownie #10581 2016-09-24 18:07:13 +01:00
Berkeley Martinez 2e08981603 Feat(challenges): Let tests be objects 2016-09-23 10:01:48 -07:00
Dylan 5cc34aa273 Merge pull request #10661 from ltegman/fix/challenge-bug-cancel
Fix(challenges): Bug cancel not working
2016-09-16 21:45:53 -05:00
Quincy Larson 0d571642d3 Merge pull request #10757 from craigstroman/fix/update-profile-from-GitHub
Updating profile from GitHub should show a notification and redirect …
2016-09-16 00:33:41 -07:00
craigstroman b00aaeb99b Updating profile from GitHub should show a notification and redirect to FCC profile 2016-09-15 22:08:05 -04:00
Logan Tegman 90833d4aac Fix(challenges): Bug cancel not working 2016-09-09 21:53:11 -07:00
Berkeley Martinez 26875725db Fix(challenges): Only show beta on map in dev 2016-09-09 14:52:34 -07:00
Berkeley Martinez efc76f7f71 fix(challenges): update nextChallenge logic to ignore beta 2016-09-09 13:53:09 -07:00
Berkeley Martinez 69f5f579cc Fix: harden challenge files reducer 2016-09-09 01:19:21 -07:00
Berkeley Martinez 76c49b3a4a Fix(challenge): Harden reducer against bad data fetch 2016-09-09 00:08:59 -07:00
Berkeley Martinez f47d82de6a Fix(challenges): Change challenge toasts copy 2016-09-08 22:31:42 -07:00
Berkeley Martinez 38a30a69c8 Fix(toasts): increase default timeout 2016-09-08 22:24:34 -07:00
Berkeley Martinez 5426944175 Fix(challenges): Change challenge fail message copy 2016-09-08 22:22:45 -07:00
Berkeley Martinez 8db46eed26 Fix(nav): Change sign in to sign up 2016-09-08 21:56:46 -07:00
Quincy Larson 5f3911ec7a Merge pull request #10432 from BerkeleyTrue/fix/add-delete-page
Fix(settings): Add separate delete page
2016-09-03 18:04:42 -07:00
Berkeley Martinez a3836bcd8a Chore(lint): fix missing prop validations 2016-09-02 22:12:45 -07:00
Quincy Larson 653ec7effd Merge pull request #10417 from BerkeleyTrue/refactor/move-step-logic
Refactor(challenges): Move step movement logic into epic
2016-09-01 16:58:50 -07:00
Berkeley Martinez b17d6c37f2 Fix(settings): Add separate delete page 2016-09-01 15:33:46 -07:00
Berkeley Martinez 98673fc316 Refactor(challenges): Move step movement logic into epic 2016-08-31 14:06:03 -07:00
Berkeley Martinez 0e8c0b8470 Feature(code-storage): clear code storage on challenge completion 2016-08-18 19:33:24 -07:00
Berkeley Martinez 9f7c9a89cd Feature(code-uri): Add tooltip warning about untrusted code 2016-08-18 09:44:40 -07:00
Berkeley Martinez f9cf212fe7 Feature(code-uri): Lock untrusted code from playing on first load 2016-08-18 09:44:40 -07:00
Berkeley Martinez c919ce5dc8 Feature(code-uri): Load and remove code uri on loadCode 2016-08-18 09:44:40 -07:00