Commit Graph

133 Commits

Author SHA1 Message Date
Brian Lee
b1b8074733 fix(commit): Fix certificate text overflow (#16494)
Layout certificate buttons vertically
2018-01-18 12:23:14 +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
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
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
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
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
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
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
Berkeley Martinez
2400ea04c5 feat(app): render spinner on /settings 2016-11-01 13:35:55 -07: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
Hallaathrad
f08ac78d99 Better visibility for <code> in night mode 2016-10-02 16:49:07 -04:00
Adegbuyi Ademola
f1a1166173 fix(Nav): Avatar should light up brownie #10581 2016-09-24 18:07:13 +01:00
Mrugesh Mohapatra
3d8ec49520 Fix(css): react-layout and editor area 2016-08-02 10:38:01 +05:30
Berkeley Martinez
ff13fc4835 Fix(layout): use specific body css tag for react 2016-07-28 23:41:23 -07:00
Berkeley Martinez
627c92c72f Fix(challenges): make challenge height auto
closes #9347
2016-07-28 23:40:01 -07:00
Berkeley Martinez
91dc3625d9 Remove step pointer events block
unminify animate.css
2016-07-28 23:39:17 -07:00
Berkeley Martinez
8169e9e785 Add map drawer
This commit break map css. Will need to refactor how the map renders
2016-07-28 23:39:17 -07:00
Berkeley Martinez
09ea99e561 Add react challenge view with editor 2016-07-28 23:39:17 -07:00
Quincy Larson
fbfff58f6b update views and CSS to reflect feedback from @berkeleytrue and @raisedadead 2016-07-28 12:10:31 -07:00
Quincy Larson
f28e4a95f7 add route to nonprofit resources list 2016-07-28 00:12:32 -07:00
craigstroman
18e1b2e478 Text-editor overflow hidden on iPad. 2016-07-27 08:27:45 -04:00
craigstroman
b594f4ccdf Text-editor overflow hidden on iPad. 2016-07-27 07:54:52 -04:00
dhcodes
70769d56a5 remove Wiki sidebar HTML, LESS, JS
remove Wiki sidebar
2016-07-21 09:59:32 -05:00
Berkeley Martinez
3c1e08f894 Revert "Feature/Popover Definitions" 2016-07-16 21:35:28 -07:00
That Guy
ece31687fa Merge pull request #8917 from Bouncey/Feature/Popover-Def-HTML-CSS
Feature/Popover Definitions
2016-07-17 01:29:42 +01:00
trion129
e392b37add Rebased the branch 2016-07-02 10:57:37 +05:30
Jonathan
ecd1f628e2 Added Bio from GitHub to freecodecamp portfolios
- Removed unneeded code
2016-06-18 19:07:57 +01:00
Berkeley Martinez
e6f29ecc9c Feature/Popover Definitions 2016-06-17 23:53:44 +01:00
Thanakom Sangnetra
9fe18ba4e1 update client/less/main.less
- add btn-default hover background color
2016-05-28 16:26:48 +07:00
Quincy Larson
e1f2d619fb Merge pull request #8690 from theflametrooper/fix/campernews
Removed Camper News completely
2016-05-18 22:59:53 -07:00
Jonathan
62946689dc Removed Camper News completely 2016-05-17 18:31:40 +01:00
Berkeley Martinez
e72ad8c513 fix(ui): Fix flash shown to user on page refresh
Store user theme preference on user object.
Must be logged in to use themes
2016-05-12 18:52:03 -07:00