Commit Graph

231 Commits (19af4f6bc6ce97965f15aa29b08a7d75b4d8f85d)

Author SHA1 Message Date
Chloe Collier 5f65f04ba4 fix(style): changed colors for dark-mode (#16404) 2018-01-04 12:09:19 +05:30
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
Quincy Larson 8848673b90 fix: landing icons and verify email template (#16178) 2017-12-11 10:42:50 +05:30
Onel Harrison 3653c3d385 fix(nav): Apply correct classes and style to nav profile (#16170) 2017-12-10 22:53:03 +05:30
Dylan ba084876d8 fix(styles): Add z-index to lint markers in code-mirror (#16024) 2017-10-24 22:56:32 +05:30
Quincy Larson 564e76b2bf fix(merge): Fix merge conflicts 2017-09-11 17:43:18 -05:00
Dylan 220960bdfd Merge pull request #15787 from AbdelghaniTassi/fix/font-consistency
Fix/font consistency
2017-09-03 17:38:20 -05:00
Mrugesh Mohapatra 239313cb0b Remove sign up page and update button styles 2017-09-01 17:15:26 -07:00
Zachary Kearns a5c330de4d fix(settings): Improve email settings buttons
Closes #15772
2017-08-23 23:36:44 -04:00
Abdelghani TAssi 9030df2d8b fix: uniformize text font size to 15px
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
2017-08-23 23:35:55 +02:00
dhcodes 6caf034e70 fix(frame): Fix fcc-test-frame on firefox
I used an alternative to display: none; to allow Firefox to properly run
challenge tests

Closes #10749
2017-08-21 09:15:50 -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
dhcodes bc46368750 fix(styles): Change modal title color
Closes #15588
2017-07-25 09:07:03 -05:00
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
slyty7 e8a7e31618 Update Modals.less 2017-04-01 00:56:33 -07:00
Venkateshwaran 9eb80b6220 CSS fix for issue - Night Mode Poor Contrast #13959 (#14037) 2017-03-22 00:17:58 -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
Ethan Arrowood 1491bf905f Initial state test icon color changed 2017-03-04 22:21:34 +00:00
Samuel Plumppu 3889f87cc3 Merge pull request #13651 from Ethan-Arrowood/fix/challenge-icon-color
Set default icon color to darkgreen
2017-03-01 11:06:16 +01:00
Ethan Arrowood c1ad7d56a2 Set default icon color to darkgreen 2017-02-28 13:49:35 -05:00
Berkeley Martinez 81d720da5b Merge pull request #11474 from petrgazarov/chore/remove-bower
Remove bower and port dependencies over to npm
2017-02-27 15:03:59 -08:00
Nawazish Ali e2e0fd7ccf Fixed iPhone frame doesn't disappear on narrow widths
Removed all unnecessary formatting.

I have removed all unnecessary formatting as requested. Sorry for inconvenience .

Squashed the second commit into first.
2017-02-22 23:43:00 +05:00
Petr Gazarov f159027025 Remove bower and port dependencies over to npm 2017-02-09 00:09:39 -05:00
Quincy Larson 3e3fa12b52 Merge pull request #12048 from raisedadead/feature/reporting-profiles
feat(user): Report profiles
2017-01-26 14:16:16 -06: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
Peter Weinberg e5c5a6ee63 amended nightmode styles: modals, dropdown, menu-toggle 2017-01-16 19:37:04 -05:00
Peter Weinberg 54c4f99066 added LESS rule for <dfn> tag in nightmode 2017-01-14 19:14:30 -05:00
Mrugesh Mohapatra 1f67c72fc6 feat(user): Report profiles
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.
2017-01-13 00:14:29 +05:30
Stuart Taylor 075476f15f Render CodeMirror skeleton for SSR 2017-01-03 21:25:14 +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
hudsontaylor 80eae43257 Center Testimonial Text
This gets rid of the odd white spaces in the testimonials section by just centering the text instead of justifying it.
2016-12-13 23:43:44 +05:30
Stuart Taylor 60d46e069b Add reactified challenge success modal 2016-12-05 22:54:38 +00:00
johnnyqbui baf225ad3a Remove reset progress animations, changed color and increase size of delete account buttons 2016-12-01 13:56:10 -06:00
Stuart Taylor 9d46ebfc29 Added note about language degradation 2016-11-29 22:52:05 +00:00
Mrugesh Mohapatra 2386a07cd4 Merge pull request #11705 from chiptus/fix/text-break-test-output
added word-wrap less rule to .test-output
2016-11-22 20:53:28 +05:30
Jonathan 8834bd1c19 Merge pull request #11562 from marhyorh/odd-menu-behaviors
Fixed odd menu behaviors on mobile
2016-11-19 17:42:20 +00:00
Chaim Lando 78a1f9f036 added word-wrap less rule to .test-output 2016-11-18 20:05:14 +05:30
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
Adegbuyi Ademola 7653f55fb7 Fixed odd menu behaviors on mobile 2016-11-07 10:03:39 +01: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
Berkeley Martinez 2400ea04c5 feat(app): render spinner on /settings 2016-11-01 13:35:55 -07:00
Stuart Taylor 52053de593 Remove FontAwesome from 'client/less/lib/' 2016-10-30 20:09:37 +00:00
Jonathan 1c951a2fe5 Merge pull request #9907 from craigstroman/fix/text-editor-overflow-ipad
Text-editor overflow hidden on iPad
2016-10-15 14:11:04 +01:00
Logan Tegman 2762238c8d Fix sitemap, remove jobs remnants 2016-10-06 22:10:26 -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
Hallaathrad f08ac78d99 Better visibility for `<code>` in night mode 2016-10-02 16:49:07 -04:00