Skip to content

#171784041 Build the UI for User Role Settings #8

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
"@babel/plugin-transform-runtime",
"transform-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
"transform-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
]
}
8 changes: 8 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '2' # required to adjust maintainability checks
checks:
method-complexity:
config:
threshold: 30 # updated (default is 5)
method-lines:
enabled: false
# Ref: https://docs.codeclimate.com/docs/advanced-configuration
2 changes: 1 addition & 1 deletion .hound.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
eslint:
enabled: true
config_file: .eslintrc.json
config_file: .eslintrc

fail_on_violations: true
3 changes: 2 additions & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"testRegex": "((\\.|/*.)(spec|test))\\.js?$",
"setupFilesAfterEnv": ["<rootDir>/src/tests/enzyme.config.js"],
"snapshotSerializers": ["enzyme-to-json/serializer"],
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.{js,jsx,ts,tsx}"],
"coverageReporters": ["text", "lcov", "json", "html"],
"automock": false,
"snapshotSerializers": ["enzyme-to-json/serializer"],
"modulePathIgnorePatterns": ["index.js"],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "jest-transform-stub",
Expand Down
137 changes: 102 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"react-toastify": "^6.0.5",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.4",
"redux-promise-middleware": "^6.1.2",
"redux-thunk": "^2.3.0",
"sass-loader": "^8.0.2",
Expand All @@ -78,13 +77,16 @@
"@babel/plugin-transform-runtime": "^7.10.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"check-prop-types": "^1.1.2",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"fetch-mock": "^9.10.1",
"file-loader": "^6.0.0",
"jest": "^26.0.1",
"jest-fetch-mock": "^3.0.3",
"jest-transform-stub": "^2.0.0",
"node-fetch": "^2.6.0",
"node-sass": "^4.14.1",
"react-facebook-login": "^4.1.1",
Expand Down
Binary file added public/images/coronavirus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icon-facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icon-google-plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icon-instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icon-snapchat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/logo-avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@

<body>
<noscript>You must enable JavaScript to run this app.</noscript>

<div id="root">

</div>
</body>

</html>
Loading