-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-Skin Existing Application with new design using React components #76…
… (#104) * new design * changes to support the new design * some more cleanup to align with react app * dependency updates * package cleanup * convert to using electron-webpack * get HMR working with render and main processes * remove static sidebar entries * get react-router working * switch over to hashrouter * setup a watcher that runs every sec watching for ddev list changes * 1st draft error/alert handler * update build steps to include yarn compile * makefile updates to simplify build steps * update readme to better reflect existing state * linting fixes * install jest and cypress New App Components: * Alert * Alerts * App * AppTitle * CreateProjectWizard * CreateProjectWizard/CMSSettings * CreateProjectWizard/ContainerSettings * CreateProjectWizard/ProjectSettings * CreateProjectWizard/Steps * Dashboard * Footer * Header * ProjectCount * ProjectDetail * ProjectHeader * ProjectInfo * ProjectList * ProjectNavItem * ProjectStatusIcon * ProjectTab * ProjectTabItem * ProjectTypeIcon * RouterStatus * Sidebar * Status * ViewRouter
- Loading branch information
Showing
119 changed files
with
9,152 additions
and
5,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
{ | ||
"presets" : ["es2015", "react"] | ||
} | ||
"plugins": [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-object-rest-spread", | ||
"babel-plugin-root-import" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,119 @@ | ||
{ | ||
"extends": ["airbnb", "prettier", "prettier/react"], | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 8, | ||
"ecmaFeatures": { | ||
"experimentalObjectRestSpread": true, | ||
"impliedStrict": true, | ||
"classes": true | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
"node": true, | ||
"jquery": true, | ||
"jest": true | ||
}, | ||
"rules": { | ||
"no-debugger": 0, | ||
"no-alert": 0, | ||
"no-unused-vars": [ | ||
1, | ||
{ | ||
"argsIgnorePattern": "res|next|^err" | ||
} | ||
], | ||
"prefer-const": [ | ||
"error", | ||
{ | ||
"destructuring": "all" | ||
} | ||
], | ||
"arrow-body-style": [2, "as-needed"], | ||
"no-unused-expressions": [ | ||
2, | ||
{ | ||
"allowTaggedTemplates": true | ||
} | ||
], | ||
"no-param-reassign": [ | ||
2, | ||
{ | ||
"props": false | ||
} | ||
], | ||
"no-console": 0, | ||
"import/prefer-default-export": 0, | ||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }], | ||
"import": 0, | ||
"func-names": 0, | ||
"space-before-function-paren": 0, | ||
"comma-dangle": 0, | ||
"max-len": 0, | ||
"import/extensions": 0, | ||
"no-underscore-dangle": 0, | ||
"consistent-return": 0, | ||
"react/display-name": 1, | ||
"react/no-array-index-key": 0, | ||
"react/react-in-jsx-scope": 0, | ||
"react/prefer-stateless-function": 0, | ||
"react/forbid-prop-types": 0, | ||
"react/prop-types": 0, | ||
"react/destructuring-assignment": 0, | ||
"react/no-unescaped-entities": 0, | ||
"react/no-did-update-set-state": 0, | ||
"jsx-a11y/accessible-emoji": 0, | ||
"react/jsx-filename-extension": [ | ||
1, | ||
{ | ||
"extensions": [".js", ".jsx"] | ||
} | ||
], | ||
"radix": 0, | ||
"no-shadow": [ | ||
2, | ||
{ | ||
"hoist": "all", | ||
"allow": ["resolve", "reject", "done", "next", "err", "error"] | ||
} | ||
], | ||
"quotes": [ | ||
2, | ||
"single", | ||
{ | ||
"avoidEscape": true, | ||
"allowTemplateLiterals": true | ||
} | ||
], | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
} | ||
], | ||
"jsx-a11y/href-no-hash": "off", | ||
"jsx-a11y/anchor-is-valid": [ | ||
"warn", | ||
{ | ||
"aspects": ["invalidHref"] | ||
} | ||
], | ||
"jsx-a11y/label-has-for": [ | ||
2, | ||
{ | ||
"components": [], | ||
"required": { | ||
"every": ["nesting", "id"] | ||
}, | ||
"allowChildren": true | ||
} | ||
] | ||
}, | ||
"extends": "airbnb" | ||
} | ||
"plugins": [ | ||
// "html", | ||
"prettier" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
node_modules/ | ||
.DS_Store | ||
dist/ | ||
.idea/ | ||
|
||
|
||
# Temporary build-tools artifacts to be ignored | ||
/.go/ | ||
/.gotmp/ | ||
/bin/ | ||
/.container* | ||
/.push* | ||
/linux | ||
/darwin | ||
/windows | ||
/.dockerfile | ||
/VERSION.txt | ||
/.docker_image | ||
node_modules | ||
out | ||
.eslintcache | ||
.DS_Store | ||
dist/ | ||
.idea/ | ||
|
||
# Temporary build-tools artifacts to be ignored | ||
/.go/ | ||
/.gotmp/ | ||
/bin/ | ||
/.container* | ||
/.push* | ||
/linux | ||
/darwin | ||
/windows | ||
/.dockerfile | ||
/VERSION.txt | ||
/.docker_image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# test directories | ||
__tests__ | ||
node_modules/*/test | ||
node_modules/*/tests | ||
powered-test | ||
|
||
# asset directories | ||
docs | ||
doc | ||
website | ||
images | ||
|
||
# examples | ||
example | ||
examples | ||
|
||
# code coverage directories | ||
coverage | ||
.nyc_output | ||
|
||
# build scripts | ||
Makefile | ||
Gulpfile.js | ||
Gruntfile.js | ||
|
||
# configs | ||
.tern-project | ||
.gitattributes | ||
.editorconfig | ||
.*ignore | ||
.eslintrc | ||
.jshintrc | ||
.flowconfig | ||
.documentup.json | ||
.yarn-metadata.json | ||
|
||
# misc | ||
*.gz | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.