Skip to content

Commit 8e0cb8a

Browse files
committed
feature(roles): setup front-end UI for User Role Settings
- added config file for Code Climate - setup dashboard page-layout structure - added sample landing page for dashboard - added page for user Roles and Permissions - setup routes for existing dashboard pages - setup dashboard Header design - load dashboard UI styles - setup dashboard Footer design - load dashboard font styles - setup dashboard Sidebar design - added main content for Roles page - implemented CRUD functionality for Roles API - setup unit/integration tests Don't confuse 'Sidebar' and 'Sidenav'. - Sidebar is for desktop view. - Sidenav is for mobile view.
1 parent a1b3202 commit 8e0cb8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1466
-9310
lines changed

.babelrc

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"presets": ["@babel/preset-env", "@babel/preset-react"],
3-
"plugins": [
4-
"@babel/plugin-transform-runtime",
5-
"transform-class-properties",
6-
"@babel/plugin-proposal-object-rest-spread",
7-
]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"plugins": [
4+
"transform-class-properties",
5+
"@babel/plugin-proposal-object-rest-spread",
6+
"@babel/plugin-transform-runtime"
7+
]
88
}

.codeclimate.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: '2' # required to adjust maintainability checks
2+
checks:
3+
method-complexity:
4+
config:
5+
threshold: 10 # updated (default is 5)
6+
7+
# Ref: https://docs.codeclimate.com/docs/advanced-configuration

.hound.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
eslint:
22
enabled: true
3-
config_file: .eslintrc.json
3+
config_file: .eslintrc
44

55
fail_on_violations: true

package-lock.json

+47-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"react-test-renderer": "^16.13.1",
9090
"redux-mock-store": "^1.5.4",
9191
"sass-loader": "^8.0.2",
92-
"style-loader": "^1.2.1"
92+
"style-loader": "^1.2.1",
93+
"jest-transform-stub": "^2.0.0"
9394
}
9495
}

public/images/coronavirus.png

30.2 KB
Loading

public/images/logo-avatar.png

8.44 KB
Loading

public/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212

1313
<body>
1414
<noscript>You must enable JavaScript to run this app.</noscript>
15-
15+
1616
<div id="root">
1717

1818
</div>
1919
</body>
20+
2021
</html>

0 commit comments

Comments
 (0)