Skip to content

Commit 503ac38

Browse files
committed
added filter pane functionality
2 parents 8b73b83 + efcff0d commit 503ac38

File tree

197 files changed

+29616
-4466
lines changed

Some content is hidden

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

197 files changed

+29616
-4466
lines changed

client/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/.gitignore

Lines changed: 64 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,72 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
27

3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.js
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
713

8-
# testing
9-
/coverage
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
1016

11-
# production
12-
/build
13-
.vercel
17+
# Coverage directory used by tools like istanbul
18+
coverage
1419

15-
.package.lock.
20+
# nyc test coverage
21+
.nyc_output
1622

17-
# misc
18-
.DS_Store
19-
.env.local
20-
.env.development.local
21-
.env.test.local
22-
.env.production.local
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
2325

24-
npm-debug.log*
25-
yarn-debug.log*
26-
yarn-error.log*
26+
# Bower dependency directory (https://bower.io/)
27+
bower_components
28+
29+
# node-waf configuration
30+
.lock-wscript
31+
32+
# Compiled binary addons (https://nodejs.org/api/addons.html)
33+
build/Release
2734

28-
.yarn
35+
# Dependency directories
36+
node_modules/
37+
jspm_packages/
2938

30-
# Local Netlify folder
31-
.netlify
39+
# TypeScript v1 declaration files
40+
typings/
41+
42+
# Optional npm cache directory
43+
.npm
44+
45+
# Optional eslint cache
46+
.eslintcache
47+
48+
# Optional REPL history
49+
.node_repl_history
50+
51+
# Output of 'npm pack'
52+
*.tgz
53+
54+
# Yarn Integrity file
55+
.yarn-integrity
56+
57+
# dotenv environment variables file
58+
.env
59+
60+
# next.js build output
61+
.next
62+
dist
63+
64+
# Editor directories and files
65+
.idea
66+
.vscode
67+
*.suo
68+
*.ntvs*
69+
*.njsproj
70+
*.sln
71+
*.sw?
72+
.DS_Store

client/.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn exec pretty-quick --staged && yarn exec concurrently yarn:test yarn:lint

client/.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.gitignore
2+
.prettierignore
3+
yarn.lock
4+
yarn-error.log
5+
package-lock.json
6+
dist
7+
coverage
8+
pnpm-lock.yaml

client/babel.config.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
[
5+
"@babel/preset-react",
6+
{
7+
"runtime": "automatic"
8+
}
9+
],
10+
],
11+
"plugins": [
12+
[
13+
"@babel/plugin-transform-runtime",
14+
{
15+
"useESModules": true,
16+
"regenerator": false
17+
}
18+
]
19+
],
20+
"env": {
21+
"test": {
22+
"presets": [
23+
["@babel/preset-env", {
24+
"targets": "current node"
25+
}]
26+
]
27+
}
28+
}
29+
}

client/craco.config.js

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,32 @@
1-
// craco.config.js
1+
singleSpaApplicationPlugin = require("craco-plugin-single-spa-application");
2+
23
module.exports = {
34
style: {
45
postcss: {
56
plugins: [require("tailwindcss"), require("autoprefixer")],
67
},
78
},
9+
devServer: {
10+
headers: {
11+
"Access-Control-Allow-Origin": "*",
12+
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
13+
"Access-Control-Allow-Headers":
14+
"X-Requested-With, content-type, Authorization",
15+
},
16+
},
17+
plugins: [
18+
{
19+
plugin: singleSpaApplicationPlugin,
20+
options: {
21+
orgName: "zuri",
22+
projectName: "zuri-plugin-tools",
23+
// entry: "src/index.js", //defaults to src/index.js,
24+
entry: "src/zuri-zuri-plugin-tools.js", //defaults to src/index.js,
25+
orgPackagesAsExternal: false, // defaults to false. marks packages that has @my-org prefix as external so they are not included in the bundle
26+
reactPackagesAsExternal: true, // defaults to true. marks react and react-dom as external so they are not included in the bundle
27+
externals: [], // defaults to []. marks the specified modules as external so they are not included in the bundle
28+
minimize: false, // defaults to false, sets optimization.minimize value
29+
},
30+
},
31+
],
832
};

client/jest.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
rootDir: "src",
3+
testEnvironment: "jsdom",
4+
transform: {
5+
"^.+\\.(j|t)sx?$": "babel-jest",
6+
},
7+
moduleNameMapper: {
8+
"\\.(css)$": "identity-obj-proxy",
9+
"single-spa-react/parcel": "single-spa-react/lib/cjs/parcel.cjs",
10+
},
11+
setupFilesAfterEnv: ["@testing-library/jest-dom"],
12+
};

0 commit comments

Comments
 (0)