Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug-fix for materialize modals #43

Merged
merged 2 commits into from
Dec 18, 2017

Conversation

benfluleck
Copy link
Owner

Description

The current iteration of materialize css has an issue with overlay from modals causing breakings errors. To overcome this problem I have installed react 16 as advised by a github forum.

https://github.com/react-materialize/react-materialize/issues/433

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • New chore (expected functionality to be implemented)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Benny Ogidan added 2 commits December 17, 2017 18:00
@@ -3,7 +3,7 @@ import 'redux-notifications/lib/styles.css';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import Root from './components/Root.jsx';
import LandingPage from './components/container/LandingPage.jsx';
import Login from './components/presentation/authentication/SignInPage.jsx';
import SignInPage from './components/presentation/authentication/SignInPage.jsx';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 6 exceeds the maximum line length of 80 max-len
Unexpected use of file extension "jsx" for "./components/presentation/authentication/SignInPage.jsx" import/extensions

border: 1px solid transparent;
font-size: 16px;
font-weight: bold;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains trailing whitespace

border-radius: 2px;
border: 1px solid transparent;
font-size: 16px;
font-weight: bold;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

padding-bottom: 10px;
border-radius: 2px;
border: 1px solid transparent;
font-size: 16px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

color: rgb(255, 255, 255);
padding-bottom: 10px;
border-radius: 2px;
border: 1px solid transparent;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

@@ -330,10 +330,23 @@ i.medium {
.loan-button {
margin-right: 14px !important;
}
.btn-google {
background-color: #dd4b39;
.btn-google, .google-btn{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each selector in a comma sequence should be on its own single line
Opening curly brace { should be preceded by one space

import { changeUserLevelAction } from
'../../../../actions/admin/changeUserLevel';
import { getUserLevelListAction } from '../../../../actions/admin/getUserLevelList';
import { changeUserLevelAction } from '../../../../actions/admin/changeUserLevel';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 6 exceeds the maximum line length of 80 max-len
Missing file extension for "../../../../actions/admin/changeUserLevel" import/extensions

from '../../../../actions/admin/getUserLevelList';
import { changeUserLevelAction } from
'../../../../actions/admin/changeUserLevel';
import { getUserLevelListAction } from '../../../../actions/admin/getUserLevelList';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 5 exceeds the maximum line length of 80 max-len
Missing file extension for "../../../../actions/admin/getUserLevelList" import/extensions

@@ -162,19 +169,18 @@ class SignInPage extends Component {
<a className="btn btn-social btn-google">
<span className="fa fa-google" />
<GoogleLogin
className="google-btn"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 24 space characters but found 23 react/jsx-indent-props

return this.props.history.push('/admin');
.then((response) => {
if (response.success && response.isAdmin) {
return (this.props.history.push('/admin'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'history' is missing in props validation react/prop-types
'history.push' is missing in props validation react/prop-types

@@ -3,7 +3,7 @@ import 'redux-notifications/lib/styles.css';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import Root from './components/Root.jsx';
import LandingPage from './components/container/LandingPage.jsx';
import Login from './components/presentation/authentication/SignInPage.jsx';
import SignInPage from './components/presentation/authentication/SignInPage.jsx';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 6 exceeds the maximum line length of 80 max-len
Unexpected use of file extension "jsx" for "./components/presentation/authentication/SignInPage.jsx" import/extensions

border: 1px solid transparent;
font-size: 16px;
font-weight: bold;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains trailing whitespace

border-radius: 2px;
border: 1px solid transparent;
font-size: 16px;
font-weight: bold;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

padding-bottom: 10px;
border-radius: 2px;
border: 1px solid transparent;
font-size: 16px;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

color: rgb(255, 255, 255);
padding-bottom: 10px;
border-radius: 2px;
border: 1px solid transparent;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line should be indented with spaces, not tabs

@@ -330,10 +330,23 @@ i.medium {
.loan-button {
margin-right: 14px !important;
}
.btn-google {
background-color: #dd4b39;
.btn-google, .google-btn{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each selector in a comma sequence should be on its own single line
Opening curly brace { should be preceded by one space

import { changeUserLevelAction } from
'../../../../actions/admin/changeUserLevel';
import { getUserLevelListAction } from '../../../../actions/admin/getUserLevelList';
import { changeUserLevelAction } from '../../../../actions/admin/changeUserLevel';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 6 exceeds the maximum line length of 80 max-len
Missing file extension for "../../../../actions/admin/changeUserLevel" import/extensions

from '../../../../actions/admin/getUserLevelList';
import { changeUserLevelAction } from
'../../../../actions/admin/changeUserLevel';
import { getUserLevelListAction } from '../../../../actions/admin/getUserLevelList';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 5 exceeds the maximum line length of 80 max-len
Missing file extension for "../../../../actions/admin/getUserLevelList" import/extensions

@@ -162,19 +169,18 @@ class SignInPage extends Component {
<a className="btn btn-social btn-google">
<span className="fa fa-google" />
<GoogleLogin
className="google-btn"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 24 space characters but found 23 react/jsx-indent-props

return this.props.history.push('/admin');
.then((response) => {
if (response.success && response.isAdmin) {
return (this.props.history.push('/admin'));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'history' is missing in props validation react/prop-types
'history.push' is missing in props validation react/prop-types

@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.444% when pulling 9d79b93 on chore/153665644/implement-client-side-testing into 93642cd on development.

@benfluleck benfluleck merged commit f74ec92 into development Dec 18, 2017
@benfluleck benfluleck temporarily deployed to staging-hellobooks December 18, 2017 03:45 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants