* Grammar and spelling corrections
plus additional links and DDR4 info. First pull request! #Hacktoberfest
* replaced html links with markdown
plus re-ordered "more info" links for readability
There were two sections for **More Information**, so I have merged the two.
I've also added clarity to the link text for each MDN color links (one is for color values and one is for the color property, which was not clear before).
* Updated index.md for Linear Regression
I am adding little more information and in easy terms to better understand the concept of Linear regression.
* corrected contributor's link syntax
* [Guide]: add article for completing the square
Add article with step by step guide on solving quadratic equations using the completing the square method
* removed stub information
* Add hints to the front-end-libraries certification projects
- Add hints to the front-end-libraries - build a markdown-previewer project
- Add hints to the front-end-libraries - build a drum machine
- Add hints to the front-end-libraries - build a pomodoro clock
* Update index.md
* Reformat a11y resources guide and add a resource
I added a resource to an accessible color palette builder, as well as did some reformatting.
Color tools are under their own heading for easy perusable. General section could be broken down as well, I believe, but for now I think it should be ok as-is.
Since the order of these resources is not important, I turned the lists into `ul`s, which makes more sense as well as making this guide easier to maintain. Now if someone wants to change the order around or add or remove something, there is no need to go and change all of the list item numbers.
* Update index.md
Added a space after a dot "." after the sentence "for a particular programming language" and inserted a blank line after "to debug effectively." to make some breathing space.
* add warning about dividing with zero to article.
text : "When dividing always check that the divisor ( in this example "b" ) is not equal to 0 ,dividing with 0 will cause your program to crash."
* Update index.md
* added local & relative import definition
added description & example for local import and their ability to import using relative paths
* Update index.md
* User Flow: Information, Articles, Youtube update
Explanation on what is User Flow with youtube videos and articles for reference and/or resource.
* Update of UX Design article
Update the article with more information and more links to articles and books.
* Product Design: Info, Articles, Youtube update
Explanation on what is Product Design with youtube videos and articles for reference and/or resource.
* Update description of Retina Display
As reported in issue #18129, there is a lack of explanation on what a retina display is and some users find it difficult to understand what they are doing exactly, so I added a short explanation on what a High-Resolution Display is and what a Retina Display is.
Included info about the colon being required and no closing statement, and indentation everything that is properly indented following the definition is within the scope of the function
-added note on mobile motherboards
-fix non-existent link to motherboard img. copied from index.md of computer-hardware parent folder
-fix broken anchor tag
Added a reference to a very good playlist of videos on binary search which belongs to MyCodeSchool. This playlist would be very helpful fro beginners to understand Binary Search.
* Add first content on redux middleware
Add a description of what redux middleware is, some examples of what it can be used for, and how to add it to your app.
* fix: formatting
* Correct "Run Code Link"
Currently when the user hits "Run Code" they are brought to a repl that shows a function for `reverseString`. I just copied the code from the explanation into a new repl and linked that so when users click "Run code" they are taken to the correct code.
* Adds an intermediate solution
Since submitting my last PR on this page I have verified that my intermediate solution works, it eliminates the need for the `for` loop.
* fix: formatting
added flex wrap to many of the flexed items targeted at mobile with
media queries so they would properly collapse. Also off set the -15px
horizontal margins added by react bootstrap which made much of the text
touch the side of the screen.
BREAKING CHANGE: none
Update Font Awesome from 4.7 to 5. Update existing Font Awesome icon
references to match version 5 syntax. Replace all Ionicon references
with Font Awesome icons and remove all files relating to Ionicon.
Closes#13798
* fix(alerts): Fix page not found alert & UI adjustments
- Added adequate margins to flash alerts.
- Page not found alert link fix & UI adjustments.
Closes#16857Closes#16860
* fix(404): Changed the UX of 404 page
- This makes the 404 page UX consistent.
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.
* 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
* 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
* 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
* 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
fix: change code area text font size to 15px
fix: undo modification that have been accidentally commited
fix: undo modification that have been accidentally commited
fix: change tests font size to 15px
* 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
* 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
* 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
Removed all unnecessary formatting.
I have removed all unnecessary formatting as requested. Sorry for inconvenience .
Squashed the second commit into first.
This adds a simple email-based mechanism to report profiles for
abuse. An email with text from the report is sent to Free Code
Camp's support account with the reporter's account in copy. This
also adds the reporter's details to the report for follow ups.