Commit Graph

52 Commits (55adc282fa70c2a418a4f5f63fc0a12edea93ebb)

Author SHA1 Message Date
Berkeley Martinez 2108d45ccc
Merge pull request #16217 from no-stack-dub-sack/fix/react-redux-finishing-touches
fix(challenges): put finishing touches on react & redux challenges
2017-12-21 09:22:23 -08:00
Peter Weinberg 277898afd3 fix(challenges): put finishing touches on react & redux challenges 2017-12-21 00:03:42 -05:00
Jonathan Grah 674ce83ab0 feat(cert): Certificates (#16185)
* feat(cert): finished layout and design of legacy certificates

* feat(cert): added new certs

* feat(cert): added logic for new certs

* feat(cert): updated claiming challenges

* feat(cert): fixed various small issues

* feat(cert): completed suggested changes
2017-12-20 19:15:23 -06: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 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
Mandi Hamza c609356b44 refactor(Challenges): Added Integrity and crossorigin attributes
Closes #16163
2017-12-12 00:37:39 +05:30
Mandi Hamza dc52813cf1 refactor(challenges): Added Integrity and crossorigin attributes
best practice

BREAKING CHANGE: N/A
2017-12-12 00:33:46 +05:30
Vanco Stojkov 383a0d0f5f fix(seed): Differentiation between sass and scss 2017-12-10 11:55:23 +05:30
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
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
André Ferreira 9a6e97731a fix: Peer review suggestions accepted 2017-10-26 21:24:04 -02:00
André Ferreira 037d9c4e2d feat(pt-br-translation): claim-your-front-end-libraries-certificate 2017-10-26 02:09:53 -02:00
Julien 19ebed94a5 feat(seed): Add introduction to jQuery challenge section
Additions
2017-10-17 19:21:58 +02:00
Timo dcfe18d5d5 refactor: Replace .com with .org 2017-08-26 00:07:44 +02:00
Manish Giri addb6c4e69 fix(challenges): Remove double quote requirement in jQuery selectors 2017-08-21 04:06:14 -04:00
Mrugesh Mohapatra 91105bdf12 fix(frontend-projects): replace video with image thumbnail 2017-07-13 21:50:47 +05:30
Dylan 8269ea5f2c add redux intro (#15605) 2017-07-09 16:15:54 -05:00
Eric Leung 0c6d5bcd4c Merge pull request #15157 from charlesBak/fix/code-formatting-sass-challenge
fix(test) add space formatting
2017-06-27 05:42:38 -07:00
Jools aa3800c902 replace a test with correct code and change 'function' to 'selector' in description (#14578) 2017-06-27 05:33:37 -07:00
Eric Leung 35a6cebeb5 Merge pull request #14549 from JoolsMcFly/fix/change-challenge-description
change challenge description and update tests
2017-06-27 05:10:24 -07:00
benomatis 6c8252b884 Add explicit text to instruction to keep the word 'Like' in the button next to the icon 2017-06-20 00:11:26 +02:00
Charles Bakar cb89e4633c fix(test) add space formatting 2017-06-01 14:43:28 +02:00
Justin Stone a7565a932b Change the text of a jQuery challenge (#14799)
The text was changed to be more accurate.
It incorrectly talked about ancestors/descendants as parents/children.
Text about property inheritance was also removed to
keep the focus of the challenge on targeting children.

Change "Instructions" to <hr> in jQuery challenge
This seems to align with the style guide more
2017-05-30 23:59:27 +05:30
Jake 85fc96e934 Removed - Don't worry about JavaScript itself - we will cover it soon. 2017-05-20 20:09:36 -04:00
Jason E Rush 590ca42c67 Allow spaces in @mixins challenge (#14113)
Allow space(s) between parenthesis and argument(s) in SASS function calls on the sass/create-reusable-css-with-mixins level.
2017-04-24 21:20:14 +05:30
jools a12e614535 change challenge description and update tests 2017-04-23 08:34:03 +02:00
MANISH-GIRI 182d4f9fdc Edit test for right span content 2017-04-10 22:16:10 -04:00
cch5ng 1bee5ba2a4 fix: #14051; update instructions text 2017-03-31 10:42:45 -07:00
techstonia 56bc714dcc Assert the number of bouncing elements 2017-03-28 22:49:28 +03:00
MANISH-GIRI 3d22f09567 Minor improvement in responsively style challenges instructions 2017-03-17 18:48:27 -04:00
Austin Thiel 1a2ef05569 Fix poor wording for first test check 2017-03-09 23:44:16 -08:00
MANISH-GIRI 054630a4c9 Improve instructions in responsive design with bootstrap 2017-03-03 19:58:47 -05:00
Donnie Reese efa5f88e46 Fixed a minor formatting issue in the React challenges. 2017-02-27 15:46:03 -06:00
dhcodes 325fa6d3a5 Fix challenge title formatting misc 2017-02-27 08:47:23 -06:00
Samuel Plumppu c445fadb4e Merge pull request #13570 from AngShiYa/fix/add-note-in-bootstrap-json
Add note and edit link in challenge description
2017-02-24 18:40:01 +01:00
Ang Shi Ya 0b3a3ea9d1 Add note and edit link in description 2017-02-25 00:37:04 +08:00
Dylan 2123427e6a Merge pull request #13080 from ajain17/fix/jquery_delete_function
Allow closing brackets on the same line
2017-02-24 10:26:18 -06:00
Pauric Holleran 6428a9fd96 CSS Selectors added in code example
The code example in Sass: Nesting CSS with Sass was missing CSS element selectors. These have been added.
2017-02-20 22:18:05 +00:00
Sing Liu f5129f0ba6 Update test message in Target the Children of an Element Using jQuery (#13374) 2017-02-19 00:58:49 +05:30
Quincy Larson 6bc82a7d11 add releasedOn dates to all new challenges (#13417) 2017-02-19 00:00:12 +05:30
Ayushi Jain 3249f20626 Allow closing brackets on the same line 2017-02-11 09:16:07 +05:30
Peter Weinberg 0b60d7de3a chore(seed): freeCodeCampify remaining sections of codebase 2017-02-02 18:29:59 -05:00
Samuel Plumppu 4116d30b42 Merge pull request #13035 from ajain17/fix/em_italicizing_jquery
Allow empty spaces in text between tags
2017-02-01 19:18:02 +01:00
Ayushi Jain 88653883be Allow empty spaces in text between tags 2017-02-01 13:01:25 -05:00
envy7 56a2bdbed4 removed all empty translations present in the challenges in the seed files 2017-02-01 15:14:37 +05:30
Ayushi Jain 932e8a950e Fix spacing issue in jquery challenge 2017-01-31 15:17:01 -05:00
Samuel Plumppu bd88e03a03 Merge pull request #12945 from HKuz/fix/bootstrapIntro
Add introduction for Bootstrap section
2017-01-29 17:41:09 +01:00
Heather Kusmierz 259fc6b689 Add introduction for Bootstrap section 2017-01-28 19:34:28 -05:00
Peter Weinberg 8ddfefb92f update links and formatting, project landing pages 2017-01-28 13:12:04 +05:30
Leon Feng 3a4257fd12 Fix the project pages layout issue 2017-01-27 14:12:11 +04:00