You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/12/18 21:29:27 UTC
(incubator-devlake) branch refactor-6307 created (now 37f9fb001)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a change to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at 37f9fb001 feat(config-ui): unify the react type version
This branch includes the following new commits:
new 8a7fe18f0 fix(config-ui): lint error
new 7445ee38e refactor(config-ui): remove blueprintjs
new c1bcd90b8 feat(config-ui): upgrade basic dependencies version
new f734ee32a feat(config-ui): upgrade styled-components
new 37f9fb001 feat(config-ui): unify the react type version
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 03/05: feat(config-ui): upgrade basic dependencies version
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit c1bcd90b8c794317af9df1d934e02937959d64dd
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Dec 19 09:56:55 2023 +1300
feat(config-ui): upgrade basic dependencies version
---
config-ui/package.json | 8 +--
config-ui/yarn.lock | 189 +++++++++++++++++++++++++++----------------------
2 files changed, 108 insertions(+), 89 deletions(-)
diff --git a/config-ui/package.json b/config-ui/package.json
index 41ab5a81b..10262118a 100644
--- a/config-ui/package.json
+++ b/config-ui/package.json
@@ -54,16 +54,16 @@
"@types/react-transition-group": "^4.4.6",
"@types/styled-components": "^5.1.26",
"@vitejs/plugin-react": "^3.1.0",
- "eslint": "^8.30.0",
- "eslint-config-prettier": "^8.5.0",
+ "eslint": "^8.56.0",
+ "eslint-config-prettier": "^8.10.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"lint-staged": "^13.1.0",
"prettier": "^2.7.1",
- "typescript": "^4.9.4",
- "vite": "^4.2.3",
+ "typescript": "^4.9.5",
+ "vite": "^4.5.1",
"vite-plugin-svgr": "^4.2.0"
}
}
diff --git a/config-ui/yarn.lock b/config-ui/yarn.lock
index 21bbb1d76..9f721e9c7 100644
--- a/config-ui/yarn.lock
+++ b/config-ui/yarn.lock
@@ -5,6 +5,13 @@ __metadata:
version: 6
cacheKey: 8
+"@aashutoshrathi/word-wrap@npm:^1.2.3":
+ version: 1.2.6
+ resolution: "@aashutoshrathi/word-wrap@npm:1.2.6"
+ checksum: ada901b9e7c680d190f1d012c84217ce0063d8f5c5a7725bb91ec3c5ed99bb7572680eb2d2938a531ccbaec39a95422fcd8a6b4a13110c7d98dd75402f66a0cd
+ languageName: node
+ linkType: hard
+
"@ahooksjs/use-url-state@npm:^3.5.1":
version: 3.5.1
resolution: "@ahooksjs/use-url-state@npm:3.5.1"
@@ -2016,27 +2023,34 @@ __metadata:
languageName: node
linkType: hard
-"@eslint/eslintrc@npm:^2.0.1":
- version: 2.0.1
- resolution: "@eslint/eslintrc@npm:2.0.1"
+"@eslint-community/regexpp@npm:^4.6.1":
+ version: 4.10.0
+ resolution: "@eslint-community/regexpp@npm:4.10.0"
+ checksum: 2a6e345429ea8382aaaf3a61f865cae16ed44d31ca917910033c02dc00d505d939f10b81e079fa14d43b51499c640138e153b7e40743c4c094d9df97d4e56f7b
+ languageName: node
+ linkType: hard
+
+"@eslint/eslintrc@npm:^2.1.4":
+ version: 2.1.4
+ resolution: "@eslint/eslintrc@npm:2.1.4"
dependencies:
ajv: ^6.12.4
debug: ^4.3.2
- espree: ^9.5.0
+ espree: ^9.6.0
globals: ^13.19.0
ignore: ^5.2.0
import-fresh: ^3.2.1
js-yaml: ^4.1.0
minimatch: ^3.1.2
strip-json-comments: ^3.1.1
- checksum: 56b9192a687a450db53a7b883daf9f0f447c43b3510189cf88808a7a2467c2a302a42a50f184cc6d5a9faf3d1df890a2ef0fd0d60b751f32a3e9dfea717c6b48
+ checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127
languageName: node
linkType: hard
-"@eslint/js@npm:8.36.0":
- version: 8.36.0
- resolution: "@eslint/js@npm:8.36.0"
- checksum: b7d6b84b823c8c7784be390741196617565527b1f7c0977fde9455bfb57fd88f81c074a03dd878757d2c33fa29f24291e9ecbc1425710f067917324b55e1bf3a
+"@eslint/js@npm:8.56.0":
+ version: 8.56.0
+ resolution: "@eslint/js@npm:8.56.0"
+ checksum: 5804130574ef810207bdf321c265437814e7a26f4e6fac9b496de3206afd52f533e09ec002a3be06cd9adcc9da63e727f1883938e663c4e4751c007d5b58e539
languageName: node
linkType: hard
@@ -2047,14 +2061,14 @@ __metadata:
languageName: node
linkType: hard
-"@humanwhocodes/config-array@npm:^0.11.8":
- version: 0.11.8
- resolution: "@humanwhocodes/config-array@npm:0.11.8"
+"@humanwhocodes/config-array@npm:^0.11.13":
+ version: 0.11.13
+ resolution: "@humanwhocodes/config-array@npm:0.11.13"
dependencies:
- "@humanwhocodes/object-schema": ^1.2.1
+ "@humanwhocodes/object-schema": ^2.0.1
debug: ^4.1.1
minimatch: ^3.0.5
- checksum: 0fd6b3c54f1674ce0a224df09b9c2f9846d20b9e54fabae1281ecfc04f2e6ad69bf19e1d6af6a28f88e8aa3990168b6cb9e1ef755868c3256a630605ec2cb1d3
+ checksum: f8ea57b0d7ed7f2d64cd3944654976829d9da91c04d9c860e18804729a33f7681f78166ef4c761850b8c324d362f7d53f14c5c44907a6b38b32c703ff85e4805
languageName: node
linkType: hard
@@ -2065,10 +2079,10 @@ __metadata:
languageName: node
linkType: hard
-"@humanwhocodes/object-schema@npm:^1.2.1":
- version: 1.2.1
- resolution: "@humanwhocodes/object-schema@npm:1.2.1"
- checksum: a824a1ec31591231e4bad5787641f59e9633827d0a2eaae131a288d33c9ef0290bd16fda8da6f7c0fcb014147865d12118df10db57f27f41e20da92369fcb3f1
+"@humanwhocodes/object-schema@npm:^2.0.1":
+ version: 2.0.1
+ resolution: "@humanwhocodes/object-schema@npm:2.0.1"
+ checksum: 24929487b1ed48795d2f08346a0116cc5ee4634848bce64161fb947109352c562310fd159fc64dda0e8b853307f5794605191a9547f7341158559ca3c8262a45
languageName: node
linkType: hard
@@ -2775,6 +2789,13 @@ __metadata:
languageName: node
linkType: hard
+"@ungap/structured-clone@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "@ungap/structured-clone@npm:1.2.0"
+ checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524
+ languageName: node
+ linkType: hard
+
"@vitejs/plugin-react@npm:^3.1.0":
version: 3.1.0
resolution: "@vitejs/plugin-react@npm:3.1.0"
@@ -2806,12 +2827,12 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^8.8.0":
- version: 8.8.2
- resolution: "acorn@npm:8.8.2"
+"acorn@npm:^8.9.0":
+ version: 8.11.2
+ resolution: "acorn@npm:8.11.2"
bin:
acorn: bin/acorn
- checksum: f790b99a1bf63ef160c967e23c46feea7787e531292bb827126334612c234ed489a0dc2c7ba33156416f0ffa8d25bf2b0fdb7f35c2ba60eb3e960572bece4001
+ checksum: 818450408684da89423e3daae24e4dc9b68692db8ab49ea4569c7c5abb7a3f23669438bf129cc81dfdada95e1c9b944ee1bfca2c57a05a4dc73834a612fbf6a7
languageName: node
linkType: hard
@@ -2872,7 +2893,7 @@ __metadata:
languageName: node
linkType: hard
-"ajv@npm:^6.10.0, ajv@npm:^6.12.4":
+"ajv@npm:^6.12.4":
version: 6.12.6
resolution: "ajv@npm:6.12.6"
dependencies:
@@ -3555,8 +3576,8 @@ __metadata:
cron-parser: ^4.3.0
cron-validate: ^1.4.3
dayjs: ^1.10.7
- eslint: ^8.30.0
- eslint-config-prettier: ^8.5.0
+ eslint: ^8.56.0
+ eslint-config-prettier: ^8.10.0
eslint-config-react-app: ^7.0.1
eslint-plugin-header: ^3.1.1
eslint-plugin-prettier: ^4.2.1
@@ -3574,8 +3595,8 @@ __metadata:
react-transition-group: ^4.4.5
redux: ^4.2.1
styled-components: ^5.3.6
- typescript: ^4.9.4
- vite: ^4.2.3
+ typescript: ^4.9.5
+ vite: ^4.5.1
vite-plugin-svgr: ^4.2.0
languageName: unknown
linkType: soft
@@ -4138,14 +4159,14 @@ __metadata:
languageName: node
linkType: hard
-"eslint-config-prettier@npm:^8.5.0":
- version: 8.7.0
- resolution: "eslint-config-prettier@npm:8.7.0"
+"eslint-config-prettier@npm:^8.10.0":
+ version: 8.10.0
+ resolution: "eslint-config-prettier@npm:8.10.0"
peerDependencies:
eslint: ">=7.0.0"
bin:
eslint-config-prettier: bin/cli.js
- checksum: b05bc7f2296ce3e0925c14147849706544870e0382d38af2352d709a6cf8521bdaff2bd8e5021f1780e570775a8ffa1d2bac28b8065d90d43a3f1f98fd26ce52
+ checksum: 153266badd477e49b0759816246b2132f1dbdb6c7f313ca60a9af5822fd1071c2bc5684a3720d78b725452bbac04bb130878b2513aea5e72b1b792de5a69fec8
languageName: node
linkType: hard
@@ -4357,13 +4378,13 @@ __metadata:
languageName: node
linkType: hard
-"eslint-scope@npm:^7.1.1":
- version: 7.1.1
- resolution: "eslint-scope@npm:7.1.1"
+"eslint-scope@npm:^7.2.2":
+ version: 7.2.2
+ resolution: "eslint-scope@npm:7.2.2"
dependencies:
esrecurse: ^4.3.0
estraverse: ^5.2.0
- checksum: 9f6e974ab2db641ca8ab13508c405b7b859e72afe9f254e8131ff154d2f40c99ad4545ce326fd9fde3212ff29707102562a4834f1c48617b35d98c71a97fbf3e
+ checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e
languageName: node
linkType: hard
@@ -4381,26 +4402,34 @@ __metadata:
languageName: node
linkType: hard
-"eslint@npm:^8.30.0":
- version: 8.36.0
- resolution: "eslint@npm:8.36.0"
+"eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3":
+ version: 3.4.3
+ resolution: "eslint-visitor-keys@npm:3.4.3"
+ checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60
+ languageName: node
+ linkType: hard
+
+"eslint@npm:^8.56.0":
+ version: 8.56.0
+ resolution: "eslint@npm:8.56.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
- "@eslint-community/regexpp": ^4.4.0
- "@eslint/eslintrc": ^2.0.1
- "@eslint/js": 8.36.0
- "@humanwhocodes/config-array": ^0.11.8
+ "@eslint-community/regexpp": ^4.6.1
+ "@eslint/eslintrc": ^2.1.4
+ "@eslint/js": 8.56.0
+ "@humanwhocodes/config-array": ^0.11.13
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
- ajv: ^6.10.0
+ "@ungap/structured-clone": ^1.2.0
+ ajv: ^6.12.4
chalk: ^4.0.0
cross-spawn: ^7.0.2
debug: ^4.3.2
doctrine: ^3.0.0
escape-string-regexp: ^4.0.0
- eslint-scope: ^7.1.1
- eslint-visitor-keys: ^3.3.0
- espree: ^9.5.0
+ eslint-scope: ^7.2.2
+ eslint-visitor-keys: ^3.4.3
+ espree: ^9.6.1
esquery: ^1.4.2
esutils: ^2.0.2
fast-deep-equal: ^3.1.3
@@ -4408,37 +4437,34 @@ __metadata:
find-up: ^5.0.0
glob-parent: ^6.0.2
globals: ^13.19.0
- grapheme-splitter: ^1.0.4
+ graphemer: ^1.4.0
ignore: ^5.2.0
- import-fresh: ^3.0.0
imurmurhash: ^0.1.4
is-glob: ^4.0.0
is-path-inside: ^3.0.3
- js-sdsl: ^4.1.4
js-yaml: ^4.1.0
json-stable-stringify-without-jsonify: ^1.0.1
levn: ^0.4.1
lodash.merge: ^4.6.2
minimatch: ^3.1.2
natural-compare: ^1.4.0
- optionator: ^0.9.1
+ optionator: ^0.9.3
strip-ansi: ^6.0.1
- strip-json-comments: ^3.1.0
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
- checksum: e9a961fc3b3de5cff5a1cb2c92eeffaa7e155a715489e30b3e1e76f186bd1255e0481e09564f2094733c0b1dbd3453499fb72ae7c043c83156e11e6d965b2304
+ checksum: 883436d1e809b4a25d9eb03d42f584b84c408dbac28b0019f6ea07b5177940bf3cca86208f749a6a1e0039b63e085ee47aca1236c30721e91f0deef5cc5a5136
languageName: node
linkType: hard
-"espree@npm:^9.5.0":
- version: 9.5.0
- resolution: "espree@npm:9.5.0"
+"espree@npm:^9.6.0, espree@npm:^9.6.1":
+ version: 9.6.1
+ resolution: "espree@npm:9.6.1"
dependencies:
- acorn: ^8.8.0
+ acorn: ^8.9.0
acorn-jsx: ^5.3.2
- eslint-visitor-keys: ^3.3.0
- checksum: a7f110aefb6407e0d3237aa635ab3cea87106ae63748dd23c67031afccc640d04c4209fca2daf16e2233c82efb505faead0fb84097478fd9cc6e8f8dd80bf99d
+ eslint-visitor-keys: ^3.4.1
+ checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9
languageName: node
linkType: hard
@@ -4852,6 +4878,13 @@ __metadata:
languageName: node
linkType: hard
+"graphemer@npm:^1.4.0":
+ version: 1.4.0
+ resolution: "graphemer@npm:1.4.0"
+ checksum: bab8f0be9b568857c7bec9fda95a89f87b783546d02951c40c33f84d05bb7da3fd10f863a9beb901463669b6583173a8c8cc6d6b306ea2b9b9d5d3d943c3a673
+ languageName: node
+ linkType: hard
+
"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2":
version: 1.0.2
resolution: "has-bigints@npm:1.0.2"
@@ -5006,7 +5039,7 @@ __metadata:
languageName: node
linkType: hard
-"import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0":
+"import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0":
version: 3.3.0
resolution: "import-fresh@npm:3.3.0"
dependencies:
@@ -5336,13 +5369,6 @@ __metadata:
languageName: node
linkType: hard
-"js-sdsl@npm:^4.1.4":
- version: 4.3.0
- resolution: "js-sdsl@npm:4.3.0"
- checksum: ce908257cf6909e213af580af3a691a736f5ee8b16315454768f917a682a4ea0c11bde1b241bbfaecedc0eb67b72101b2c2df2ffaed32aed5d539fca816f054e
- languageName: node
- linkType: hard
-
"js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
@@ -6067,17 +6093,17 @@ __metadata:
languageName: node
linkType: hard
-"optionator@npm:^0.9.1":
- version: 0.9.1
- resolution: "optionator@npm:0.9.1"
+"optionator@npm:^0.9.3":
+ version: 0.9.3
+ resolution: "optionator@npm:0.9.3"
dependencies:
+ "@aashutoshrathi/word-wrap": ^1.2.3
deep-is: ^0.1.3
fast-levenshtein: ^2.0.6
levn: ^0.4.1
prelude-ls: ^1.2.1
type-check: ^0.4.0
- word-wrap: ^1.2.3
- checksum: dbc6fa065604b24ea57d734261914e697bd73b69eff7f18e967e8912aa2a40a19a9f599a507fa805be6c13c24c4eae8c71306c239d517d42d4c041c942f508a0
+ checksum: 09281999441f2fe9c33a5eeab76700795365a061563d66b098923eb719251a42bdbe432790d35064d0816ead9296dbeb1ad51a733edf4167c96bd5d0882e428a
languageName: node
linkType: hard
@@ -7605,7 +7631,7 @@ __metadata:
languageName: node
linkType: hard
-"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1":
+"strip-json-comments@npm:^3.1.1":
version: 3.1.1
resolution: "strip-json-comments@npm:3.1.1"
checksum: 492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443
@@ -7823,7 +7849,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:^4.9.4":
+"typescript@npm:^4.9.5":
version: 4.9.5
resolution: "typescript@npm:4.9.5"
bin:
@@ -7833,7 +7859,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@patch:typescript@^4.9.4#~builtin<compat/typescript>":
+"typescript@patch:typescript@^4.9.5#~builtin<compat/typescript>":
version: 4.9.5
resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=23ec76"
bin:
@@ -7970,9 +7996,9 @@ __metadata:
languageName: node
linkType: hard
-"vite@npm:^4.2.3":
- version: 4.5.0
- resolution: "vite@npm:4.5.0"
+"vite@npm:^4.5.1":
+ version: 4.5.1
+ resolution: "vite@npm:4.5.1"
dependencies:
esbuild: ^0.18.10
fsevents: ~2.3.2
@@ -8006,7 +8032,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
- checksum: 06f1a4c858e4dc4c04a10466f4ccacea30c5a9f8574e5ba3deb9d03fa20e80ca6797f02dad97a988da7cdef96238dbc69c3b6a538156585c74722d996223619e
+ checksum: 72b3584b3d3b8d14e8a37f0248e47fb8b4d02ab35de5b5a8e5ca8ae55c3be2aab73760dc36edac4fa722de182f78cc492eb44888fcb4a9a0712c4605dad644f9
languageName: node
linkType: hard
@@ -8069,13 +8095,6 @@ __metadata:
languageName: node
linkType: hard
-"word-wrap@npm:^1.2.3":
- version: 1.2.3
- resolution: "word-wrap@npm:1.2.3"
- checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f
- languageName: node
- linkType: hard
-
"wrap-ansi@npm:^6.2.0":
version: 6.2.0
resolution: "wrap-ansi@npm:6.2.0"
(incubator-devlake) 05/05: feat(config-ui): unify the react type version
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 37f9fb001a7cde3be2634e1a49b2590da36731df
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Dec 19 10:29:12 2023 +1300
feat(config-ui): unify the react type version
---
config-ui/package.json | 4 ++--
.../src/components/action/copy-text/index.tsx | 2 +-
config-ui/src/components/message/index.tsx | 2 +-
config-ui/src/components/page-header/index.tsx | 2 +-
.../src/components/tooltip/help-tooltip/index.tsx | 2 +-
.../pages/blueprint/connection-detail/index.tsx | 6 ++---
.../detail/components/advanced-editor/index.tsx | 8 ++-----
.../detail/components/sync-policy/index.tsx | 1 +
.../pages/blueprint/detail/configuration-panel.tsx | 8 +++----
.../src/pages/blueprint/detail/status-panel.tsx | 4 ++--
config-ui/src/pages/blueprint/home/index.tsx | 4 ++--
.../src/pages/project/detail/settings-panel.tsx | 2 +-
.../src/pages/project/detail/webhooks-panel.tsx | 2 +-
config-ui/src/pages/project/home/index.tsx | 4 ++--
.../plugins/components/connection-list/index.tsx | 10 +++-----
.../plugins/components/connection-status/index.tsx | 6 +----
.../components/data-scope-remote/search-local.tsx | 4 ++--
.../components/data-scope-remote/search-remote.tsx | 2 +-
.../plugins/components/data-scope-select/index.tsx | 4 ++--
.../components/scope-config-select/index.tsx | 6 ++---
.../register/github/connection-fields/token.tsx | 10 ++++----
.../jira/transformation-fields/remote-link.tsx | 9 ++------
.../src/plugins/register/jira/transformation.tsx | 2 +-
.../src/plugins/register/tapd/transformation.tsx | 2 +-
.../register/webhook/components/create-dialog.tsx | 2 +-
.../src/plugins/register/webhook/connection.tsx | 20 ++++------------
config-ui/src/routes/api-keys/api-keys.tsx | 2 +-
config-ui/src/routes/connection/connection.tsx | 20 +++++-----------
.../routes/error/components/exception/index.tsx | 2 +-
.../error/components/needs-db-migrate/index.tsx | 2 +-
.../src/routes/error/components/offline/index.tsx | 15 +++---------
config-ui/src/routes/layout/config.tsx | 18 +++++++--------
config-ui/src/routes/layout/layout.tsx | 2 +-
config-ui/src/routes/pipeline/components/info.tsx | 6 ++---
config-ui/src/routes/pipeline/components/table.tsx | 6 ++---
config-ui/src/routes/pipeline/components/task.tsx | 4 +---
config-ui/src/routes/pipeline/components/tasks.tsx | 8 +++----
config-ui/src/routes/pipeline/constant.tsx | 18 +++++++--------
config-ui/yarn.lock | 27 +++++++++++++++-------
39 files changed, 109 insertions(+), 149 deletions(-)
diff --git a/config-ui/package.json b/config-ui/package.json
index 8d2afbdcf..7db81de4a 100644
--- a/config-ui/package.json
+++ b/config-ui/package.json
@@ -47,9 +47,9 @@
"devDependencies": {
"@types/file-saver": "^2.0.5",
"@types/node": "^18.15.1",
- "@types/react": "^18.0.24",
+ "@types/react": "^17.0.73",
"@types/react-copy-to-clipboard": "^5.0.4",
- "@types/react-dom": "^18.0.10",
+ "@types/react-dom": "^17.0.25",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.6",
"@types/styled-components": "^5.1.34",
diff --git a/config-ui/src/components/action/copy-text/index.tsx b/config-ui/src/components/action/copy-text/index.tsx
index 1a4b2e88e..36734f7c2 100644
--- a/config-ui/src/components/action/copy-text/index.tsx
+++ b/config-ui/src/components/action/copy-text/index.tsx
@@ -42,7 +42,7 @@ export const CopyText = ({ content }: Props) => {
{content}
</TextTooltip>
<CopyToClipboard text={content} onCopy={() => message.success('Copy successfully.')}>
- <Button icon={<CopyOutlined rev={undefined} />} />
+ <Button icon={<CopyOutlined />} />
</CopyToClipboard>
</Wrapper>
);
diff --git a/config-ui/src/components/message/index.tsx b/config-ui/src/components/message/index.tsx
index c2f644c6b..04e7c5b50 100644
--- a/config-ui/src/components/message/index.tsx
+++ b/config-ui/src/components/message/index.tsx
@@ -33,7 +33,7 @@ interface Props {
export const Message = ({ style, size = 20, content }: Props) => {
return (
<Wrapper style={style}>
- <WarningOutlined rev={undefined} size={size} color="#f4be55" />
+ <WarningOutlined size={size} color="#f4be55" />
<span>{content}</span>
</Wrapper>
);
diff --git a/config-ui/src/components/page-header/index.tsx b/config-ui/src/components/page-header/index.tsx
index 2fc1fe81e..9bec52cf7 100644
--- a/config-ui/src/components/page-header/index.tsx
+++ b/config-ui/src/components/page-header/index.tsx
@@ -40,7 +40,7 @@ export const PageHeader = ({ breadcrumbs, extra, children }: Props) => {
{breadcrumbs.length !== i + 1 ? (
<Link to={path}>
{name}
- <RightOutlined rev={undefined} />
+ <RightOutlined />
</Link>
) : (
<span>{name}</span>
diff --git a/config-ui/src/components/tooltip/help-tooltip/index.tsx b/config-ui/src/components/tooltip/help-tooltip/index.tsx
index ed0e0ddd9..804e5acfc 100644
--- a/config-ui/src/components/tooltip/help-tooltip/index.tsx
+++ b/config-ui/src/components/tooltip/help-tooltip/index.tsx
@@ -34,7 +34,7 @@ export const HelpTooltip = ({ content, style }: Props) => {
return (
<Wrapper style={style}>
<Tooltip title={content} placement="top">
- <QuestionCircleOutlined rev={undefined} />
+ <QuestionCircleOutlined />
</Tooltip>
</Wrapper>
);
diff --git a/config-ui/src/pages/blueprint/connection-detail/index.tsx b/config-ui/src/pages/blueprint/connection-detail/index.tsx
index 7d275e319..d9dd0ffc4 100644
--- a/config-ui/src/pages/blueprint/connection-detail/index.tsx
+++ b/config-ui/src/pages/blueprint/connection-detail/index.tsx
@@ -198,19 +198,19 @@ export const BlueprintConnectionDetailPage = () => {
okText="Confirm"
onConfirm={handleRemoveConnection}
>
- <Button type="primary" danger icon={<DeleteOutlined rev={undefined} />}>
+ <Button type="primary" danger icon={<DeleteOutlined />}>
Remove this Connection
</Button>
</Popconfirm>
</S.Top>
<Flex vertical gap="middle">
<Flex>
- <Button type="primary" icon={<FormOutlined rev={undefined} />} onClick={handleShowDataScope}>
+ <Button type="primary" icon={<FormOutlined />} onClick={handleShowDataScope}>
Manage Data Scope
</Button>
{pluginConfig.scopeConfig && (
<ExternalLink style={{ marginLeft: 8 }} link={`/connections/${connection.plugin}/${connection.id}`}>
- <Button type="primary" icon={<FormOutlined rev={undefined} />}>
+ <Button type="primary" icon={<FormOutlined />}>
Edit Scope Config
</Button>
</ExternalLink>
diff --git a/config-ui/src/pages/blueprint/detail/components/advanced-editor/index.tsx b/config-ui/src/pages/blueprint/detail/components/advanced-editor/index.tsx
index be1329f9b..2b005acae 100644
--- a/config-ui/src/pages/blueprint/detail/components/advanced-editor/index.tsx
+++ b/config-ui/src/pages/blueprint/detail/components/advanced-editor/index.tsx
@@ -67,11 +67,7 @@ export const AdvancedEditor = ({ value, onChange }: Props) => {
</p>
<Input.TextArea rows={6} value={value} onChange={(e) => onChange(e.target.value)} />
<Space>
- <Button
- size="small"
- icon={<ClearOutlined rev={undefined} />}
- onClick={() => onChange(JSON.stringify([[]], null, ' '))}
- >
+ <Button size="small" icon={<ClearOutlined />} onClick={() => onChange(JSON.stringify([[]], null, ' '))}>
Reset
</Button>
<Dropdown
@@ -88,7 +84,7 @@ export const AdvancedEditor = ({ value, onChange }: Props) => {
},
}}
>
- <Button size="small" icon={<CaretDownOutlined rev={undefined} />}>
+ <Button size="small" icon={<CaretDownOutlined />}>
Load Templates
</Button>
</Dropdown>
diff --git a/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx b/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
index 6a62ce4d7..b0cf77f6d 100644
--- a/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
+++ b/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
@@ -117,6 +117,7 @@ export const SyncPolicy = ({
</div>
<div className="time-selection">
+ {/* @ts-ignore */}
<DatePicker
value={timeAfter ? dayjs(timeAfter) : null}
placeholder="Select start from"
diff --git a/config-ui/src/pages/blueprint/detail/configuration-panel.tsx b/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
index a67592927..a8360de1f 100644
--- a/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
+++ b/config-ui/src/pages/blueprint/detail/configuration-panel.tsx
@@ -126,14 +126,14 @@ export const ConfigurationPanel = ({ from, blueprint, onRefresh, onChangeTab }:
<h3>Blueprint Name</h3>
<Space>
<span>{blueprint.name}</span>
- <Button type="primary" icon={<FormOutlined rev={undefined} />} onClick={handleShowNameDialog} />
+ <Button type="primary" icon={<FormOutlined />} onClick={handleShowNameDialog} />
</Space>
</div>
<div className="block">
<h3>
<Space>
<span>Sync Policy</span>
- <Button type="primary" icon={<FormOutlined rev={undefined} />} onClick={handleShowPolicyDialog} />
+ <Button type="primary" icon={<FormOutlined />} onClick={handleShowPolicyDialog} />
</Space>
</h3>
<Table
@@ -188,7 +188,7 @@ export const ConfigurationPanel = ({ from, blueprint, onRefresh, onChangeTab }:
</>
}
action={
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowAddConnectionDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowAddConnectionDialog}>
Add a Connection
</Button>
}
@@ -196,7 +196,7 @@ export const ConfigurationPanel = ({ from, blueprint, onRefresh, onChangeTab }:
) : (
<Flex vertical gap="middle">
<Flex>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowAddConnectionDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowAddConnectionDialog}>
Add a Connection
</Button>
</Flex>
diff --git a/config-ui/src/pages/blueprint/detail/status-panel.tsx b/config-ui/src/pages/blueprint/detail/status-panel.tsx
index a58dedd9e..d59ca1dd7 100644
--- a/config-ui/src/pages/blueprint/detail/status-panel.tsx
+++ b/config-ui/src/pages/blueprint/detail/status-panel.tsx
@@ -158,7 +158,7 @@ export const StatusPanel = ({ from, blueprint, pipelineId, onRefresh }: Props) =
},
}}
>
- <Button icon={<MoreOutlined rev={undefined} />} />
+ <Button icon={<MoreOutlined />} />
</Dropdown>
</S.ProjectACtion>
)}
@@ -178,7 +178,7 @@ export const StatusPanel = ({ from, blueprint, pipelineId, onRefresh }: Props) =
type="primary"
loading={operating}
disabled={!!blueprint.projectName}
- icon={<DeleteOutlined rev={undefined} />}
+ icon={<DeleteOutlined />}
onClick={() => setType('delete')}
/>
</Tooltip>
diff --git a/config-ui/src/pages/blueprint/home/index.tsx b/config-ui/src/pages/blueprint/home/index.tsx
index 83c0b4cf9..bde9dff43 100644
--- a/config-ui/src/pages/blueprint/home/index.tsx
+++ b/config-ui/src/pages/blueprint/home/index.tsx
@@ -108,7 +108,7 @@ export const BlueprintHomePage = () => {
</Radio>
))}
</Radio.Group>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowDialog}>
New Blueprint
</Button>
</Flex>
@@ -193,7 +193,7 @@ export const BlueprintHomePage = () => {
align: 'center',
render: (val) => (
<Link to={`/advanced/blueprints/${val}?tab=configuration`}>
- <Button type="primary" icon={<SettingOutlined rev={undefined} />} />
+ <Button type="primary" icon={<SettingOutlined />} />
</Link>
),
},
diff --git a/config-ui/src/pages/project/detail/settings-panel.tsx b/config-ui/src/pages/project/detail/settings-panel.tsx
index 564b822ae..c49e8e21f 100644
--- a/config-ui/src/pages/project/detail/settings-panel.tsx
+++ b/config-ui/src/pages/project/detail/settings-panel.tsx
@@ -134,7 +134,7 @@ export const SettingsPanel = ({ project, onRefresh }: Props) => {
onOk={handleDelete}
>
<S.DialogBody>
- <WarningOutlined rev={undefined} />
+ <WarningOutlined />
<span>
This operation cannot be undone. Deleting a Data Connection will delete all data that have been collected in
this Connection.
diff --git a/config-ui/src/pages/project/detail/webhooks-panel.tsx b/config-ui/src/pages/project/detail/webhooks-panel.tsx
index f21dd2011..aefbbb7f2 100644
--- a/config-ui/src/pages/project/detail/webhooks-panel.tsx
+++ b/config-ui/src/pages/project/detail/webhooks-panel.tsx
@@ -135,7 +135,7 @@ export const WebhooksPanel = ({ project, onRefresh }: Props) => {
text="Push `incidents` or `deployments` from your tools by incoming webhooks."
action={
<>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={() => setType('create')}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={() => setType('create')}>
Add a Webhook
</Button>
<div style={{ margin: '8px 0' }}>or</div>
diff --git a/config-ui/src/pages/project/home/index.tsx b/config-ui/src/pages/project/home/index.tsx
index fd4fd041c..5b1b3e439 100644
--- a/config-ui/src/pages/project/home/index.tsx
+++ b/config-ui/src/pages/project/home/index.tsx
@@ -121,7 +121,7 @@ export const ProjectHomePage = () => {
<PageHeader
breadcrumbs={[{ name: 'Projects', path: '/projects' }]}
extra={
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowDialog}>
New Project
</Button>
}
@@ -193,7 +193,7 @@ export const ProjectHomePage = () => {
render: (name: any) => (
<Button
type="primary"
- icon={<SettingOutlined rev={undefined} />}
+ icon={<SettingOutlined />}
onClick={() => navigate(`/projects/${encodeName(name)}?tab=configuration`)}
/>
),
diff --git a/config-ui/src/plugins/components/connection-list/index.tsx b/config-ui/src/plugins/components/connection-list/index.tsx
index c1d1ecfd5..25aa80ebb 100644
--- a/config-ui/src/plugins/components/connection-list/index.tsx
+++ b/config-ui/src/plugins/components/connection-list/index.tsx
@@ -99,14 +99,10 @@ export const ConnectionList = ({ plugin, onCreate }: Props) => {
width: 200,
render: (_, { plugin, id }) => (
<>
- <Button
- type="link"
- icon={<EyeOutlined rev={undefined} />}
- onClick={() => navigate(`/connections/${plugin}/${id}`)}
- >
+ <Button type="link" icon={<EyeOutlined />} onClick={() => navigate(`/connections/${plugin}/${id}`)}>
Details
</Button>
- <Button type="link" icon={<EditOutlined rev={undefined} />} onClick={() => handleShowForm(id)}>
+ <Button type="link" icon={<EditOutlined />} onClick={() => handleShowForm(id)}>
Edit
</Button>
</>
@@ -116,7 +112,7 @@ export const ConnectionList = ({ plugin, onCreate }: Props) => {
dataSource={connections}
pagination={false}
/>
- <Button style={{ marginTop: 16 }} type="primary" icon={<PlusOutlined rev={undefined} />} onClick={onCreate}>
+ <Button style={{ marginTop: 16 }} type="primary" icon={<PlusOutlined />} onClick={onCreate}>
Create a New Connection
</Button>
<Modal
diff --git a/config-ui/src/plugins/components/connection-status/index.tsx b/config-ui/src/plugins/components/connection-status/index.tsx
index e64397e1b..9430de712 100644
--- a/config-ui/src/plugins/components/connection-status/index.tsx
+++ b/config-ui/src/plugins/components/connection-status/index.tsx
@@ -60,11 +60,7 @@ export const ConnectionStatus = ({ connection }: Props) => {
<Wrapper>
<span className={status}>{STATUS_MAP[status]}</span>
{status !== IConnectionStatus.ONLINE && (
- <Button
- loading={status === IConnectionStatus.TESTING}
- icon={<RedoOutlined rev={undefined} />}
- onClick={handleTest}
- />
+ <Button loading={status === IConnectionStatus.TESTING} icon={<RedoOutlined />} onClick={handleTest} />
)}
</Wrapper>
);
diff --git a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
index f3df2c8f2..cb5e39a67 100644
--- a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
+++ b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
@@ -217,7 +217,7 @@ export const SearchLocal = ({ plugin, connectionId, config, disabledScope, selec
{status === 'loaded' && (
<S.JobLoad>
- <CheckCircleFilled style={{ color: '#4DB764' }} rev={undefined} />
+ <CheckCircleFilled style={{ color: '#4DB764' }} />
<span className="count">{miller.items.length}</span> scopes found
</S.JobLoad>
)}
@@ -232,7 +232,7 @@ export const SearchLocal = ({ plugin, connectionId, config, disabledScope, selec
</Form.Item>
<Form.Item>
{status === 'loaded' && (
- <Input prefix={<SearchOutlined rev={undefined} />} value={query} onChange={(e) => setQuery(e.target.value)} />
+ <Input prefix={<SearchOutlined />} value={query} onChange={(e) => setQuery(e.target.value)} />
)}
<MillerColumnsSelect
items={scopes}
diff --git a/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx b/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
index 0d8d92f74..9593e68ca 100644
--- a/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
+++ b/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
@@ -170,7 +170,7 @@ export const SearchRemote = ({ plugin, connectionId, config, disabledScope, sele
</Form.Item>
<Form.Item>
<Input
- prefix={<SearchOutlined rev={undefined} />}
+ prefix={<SearchOutlined />}
placeholder={config.searchPlaceholder ?? 'Search'}
value={search.query}
onChange={(e) => setSearch({ ...search, query: e.target.value })}
diff --git a/config-ui/src/plugins/components/data-scope-select/index.tsx b/config-ui/src/plugins/components/data-scope-select/index.tsx
index 9d2084c63..fff01e773 100644
--- a/config-ui/src/plugins/components/data-scope-select/index.tsx
+++ b/config-ui/src/plugins/components/data-scope-select/index.tsx
@@ -130,7 +130,7 @@ export const DataScopeSelect = ({
/>
) : (
<Flex>
- <Button type="primary" icon={<RedoOutlined rev={undefined} />}>
+ <Button type="primary" icon={<RedoOutlined />}>
Refresh Data Scope
</Button>
</Flex>
@@ -164,7 +164,7 @@ export const DataScopeSelect = ({
) : (
<Flex>
<ExternalLink link={`/connections/${plugin}/${connectionId}`}>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />}>
+ <Button type="primary" icon={<PlusOutlined />}>
Add Data Scope
</Button>
</ExternalLink>
diff --git a/config-ui/src/plugins/components/scope-config-select/index.tsx b/config-ui/src/plugins/components/scope-config-select/index.tsx
index 1dc985bb5..93cb0950d 100644
--- a/config-ui/src/plugins/components/scope-config-select/index.tsx
+++ b/config-ui/src/plugins/components/scope-config-select/index.tsx
@@ -73,7 +73,7 @@ export const ScopeConfigSelect = ({ plugin, connectionId, scopeConfigId, onCance
return (
<Flex vertical gap="middle">
<Flex>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowDialog}>
Add New Scope Config
</Button>
</Flex>
@@ -89,9 +89,7 @@ export const ScopeConfigSelect = ({ plugin, connectionId, scopeConfigId, onCance
key: 'id',
width: 100,
render: (id) =>
- id !== 'None' ? (
- <Button type="link" icon={<EditOutlined rev={undefined} />} onClick={() => handleUpdate(id)} />
- ) : null,
+ id !== 'None' ? <Button type="link" icon={<EditOutlined />} onClick={() => handleUpdate(id)} /> : null,
},
]}
dataSource={dataSource}
diff --git a/config-ui/src/plugins/register/github/connection-fields/token.tsx b/config-ui/src/plugins/register/github/connection-fields/token.tsx
index 245cb9a1e..13e699645 100644
--- a/config-ui/src/plugins/register/github/connection-fields/token.tsx
+++ b/config-ui/src/plugins/register/github/connection-fields/token.tsx
@@ -161,7 +161,7 @@ export const Token = ({
onChange={(e) => handleChangeToken(i, e.target.value)}
onBlur={() => handleTestToken(i)}
/>
- <Button size="small" icon={<CloseOutlined rev={undefined} />} onClick={() => handleRemoveToken(i)} />
+ <Button size="small" icon={<CloseOutlined />} onClick={() => handleRemoveToken(i)} />
<div className="info">
{isValid === false && <span className="error">Invalid</span>}
{isValid === true && <span className="success">Valid From: {from}</span>}
@@ -170,9 +170,9 @@ export const Token = ({
{status && (
<S.Alert>
<h4>
- {status === 'success' && <CheckCircleOutlined rev={undefined} color="#4DB764" />}
- {status === 'warning' && <WarningOutlined rev={undefined} color="#F4BE55" />}
- {status === 'error' && <CloseCircleOutlined rev={undefined} color="#E34040" />}
+ {status === 'success' && <CheckCircleOutlined color="#4DB764" />}
+ {status === 'warning' && <WarningOutlined color="#F4BE55" />}
+ {status === 'error' && <CloseCircleOutlined color="#E34040" />}
<span style={{ marginLeft: 8 }}>Token Permissions</span>
</h4>
{status === 'success' && <p>All required fields are checked.</p>}
@@ -193,7 +193,7 @@ export const Token = ({
</S.Input>
))}
<div className="action">
- <Button type="primary" size="small" icon={<PlusOutlined rev={undefined} />} onClick={handleCreateToken}>
+ <Button type="primary" size="small" icon={<PlusOutlined />} onClick={handleCreateToken}>
Another Token
</Button>
</div>
diff --git a/config-ui/src/plugins/register/jira/transformation-fields/remote-link.tsx b/config-ui/src/plugins/register/jira/transformation-fields/remote-link.tsx
index 145cafffa..b12fcc046 100644
--- a/config-ui/src/plugins/register/jira/transformation-fields/remote-link.tsx
+++ b/config-ui/src/plugins/register/jira/transformation-fields/remote-link.tsx
@@ -101,7 +101,7 @@ export const RemoteLink = ({ transformation, setTransformation }: Props) => {
<Button
type="primary"
loading={generating}
- icon={<CloseOutlined rev={undefined} />}
+ icon={<CloseOutlined />}
onClick={() => handleDeleteLink(i)}
/>
)}
@@ -109,12 +109,7 @@ export const RemoteLink = ({ transformation, setTransformation }: Props) => {
{index === i && error && <div className="error">{error}</div>}
</div>
))}
- <Button
- type="primary"
- loading={generating}
- icon={<PlusOutlined rev={undefined} />}
- onClick={() => handleAddLink()}
- >
+ <Button type="primary" loading={generating} icon={<PlusOutlined />} onClick={() => handleAddLink()}>
Add a Pattern
</Button>
</S.RemoteLinkWrapper>
diff --git a/config-ui/src/plugins/register/jira/transformation.tsx b/config-ui/src/plugins/register/jira/transformation.tsx
index 90fd62037..2a2021200 100644
--- a/config-ui/src/plugins/register/jira/transformation.tsx
+++ b/config-ui/src/plugins/register/jira/transformation.tsx
@@ -127,7 +127,7 @@ export const JiraTransformation = ({ entities, connectionId, transformation, set
<Collapse
bordered={false}
defaultActiveKey={['TICKET', 'CROSS']}
- expandIcon={({ isActive }) => <CaretRightOutlined rotate={isActive ? 90 : 0} rev={undefined} />}
+ expandIcon={({ isActive }) => <CaretRightOutlined rotate={isActive ? 90 : 0} />}
style={{ background: token.colorBgContainer }}
size="large"
items={renderCollapseItems({
diff --git a/config-ui/src/plugins/register/tapd/transformation.tsx b/config-ui/src/plugins/register/tapd/transformation.tsx
index b010ed7de..b4782034d 100644
--- a/config-ui/src/plugins/register/tapd/transformation.tsx
+++ b/config-ui/src/plugins/register/tapd/transformation.tsx
@@ -142,7 +142,7 @@ export const TapdTransformation = ({ entities, connectionId, scopeId, transforma
<Collapse
bordered={false}
defaultActiveKey={['TICKET', 'CROSS']}
- expandIcon={({ isActive }) => <CaretRightOutlined rotate={isActive ? 90 : 0} rev={undefined} />}
+ expandIcon={({ isActive }) => <CaretRightOutlined rotate={isActive ? 90 : 0} />}
style={{ background: token.colorBgContainer }}
size="large"
items={renderCollapseItems({
diff --git a/config-ui/src/plugins/register/webhook/components/create-dialog.tsx b/config-ui/src/plugins/register/webhook/components/create-dialog.tsx
index 8e76c0a27..f065d8e5c 100644
--- a/config-ui/src/plugins/register/webhook/components/create-dialog.tsx
+++ b/config-ui/src/plugins/register/webhook/components/create-dialog.tsx
@@ -129,7 +129,7 @@ export const CreateDialog = ({ open, onCancel, onSubmitAfter }: Props) => {
{step === 2 && (
<S.Wrapper>
<h2>
- <CheckCircleOutlined rev={undefined} size={30} />
+ <CheckCircleOutlined size={30} />
<span>CURL commands generated. Please copy them now.</span>
</h2>
<p>
diff --git a/config-ui/src/plugins/register/webhook/connection.tsx b/config-ui/src/plugins/register/webhook/connection.tsx
index b5071916c..cf5e35d6f 100644
--- a/config-ui/src/plugins/register/webhook/connection.tsx
+++ b/config-ui/src/plugins/register/webhook/connection.tsx
@@ -74,21 +74,9 @@ export const WebHookConnection = ({ filterIds, onCreateAfter, onDeleteAfter }: P
align: 'center',
render: (_, row) => (
<Space>
- <Button
- type="primary"
- icon={<EyeOutlined rev={undefined} />}
- onClick={() => handleShowDialog('show', row)}
- />
- <Button
- type="primary"
- icon={<FormOutlined rev={undefined} />}
- onClick={() => handleShowDialog('edit', row)}
- />
- <Button
- type="primary"
- icon={<DeleteOutlined rev={undefined} />}
- onClick={() => handleShowDialog('delete', row)}
- />
+ <Button type="primary" icon={<EyeOutlined />} onClick={() => handleShowDialog('show', row)} />
+ <Button type="primary" icon={<FormOutlined />} onClick={() => handleShowDialog('edit', row)} />
+ <Button type="primary" icon={<DeleteOutlined />} onClick={() => handleShowDialog('delete', row)} />
</Space>
),
},
@@ -97,7 +85,7 @@ export const WebHookConnection = ({ filterIds, onCreateAfter, onDeleteAfter }: P
pagination={false}
/>
<Flex>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={() => handleShowDialog('add')}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={() => handleShowDialog('add')}>
Add a Webhook
</Button>
</Flex>
diff --git a/config-ui/src/routes/api-keys/api-keys.tsx b/config-ui/src/routes/api-keys/api-keys.tsx
index 86e802d7b..696bd7385 100644
--- a/config-ui/src/routes/api-keys/api-keys.tsx
+++ b/config-ui/src/routes/api-keys/api-keys.tsx
@@ -94,7 +94,7 @@ export const ApiKeys = () => {
<PageHeader
breadcrumbs={[{ name: 'API Keys', path: '/keys' }]}
extra={
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={() => setModal('create')}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={() => setModal('create')}>
New API Key
</Button>
}
diff --git a/config-ui/src/routes/connection/connection.tsx b/config-ui/src/routes/connection/connection.tsx
index 98636c576..922a1c2b7 100644
--- a/config-ui/src/routes/connection/connection.tsx
+++ b/config-ui/src/routes/connection/connection.tsx
@@ -234,7 +234,7 @@ export const Connection = () => {
{ name, path: '' },
]}
extra={
- <Button type="primary" danger icon={<DeleteOutlined rev={undefined} />} onClick={handleShowDeleteDialog}>
+ <Button type="primary" danger icon={<DeleteOutlined />} onClick={handleShowDeleteDialog}>
Delete Connection
</Button>
}
@@ -247,7 +247,7 @@ export const Connection = () => {
Please note: In order to view DORA metrics, you will need to add Scope Configs.
</div>
<div style={{ marginBottom: 36 }}>
- <Button type="primary" icon={<PlusOutlined rev={undefined} />} onClick={handleShowCreateDataScopeDialog}>
+ <Button type="primary" icon={<PlusOutlined />} onClick={handleShowCreateDataScopeDialog}>
Add Data Scope
</Button>
{plugin !== 'tapd' && pluginConfig.scopeConfig && (
@@ -255,7 +255,7 @@ export const Connection = () => {
style={{ marginLeft: 8 }}
type="primary"
disabled={!scopeIds.length}
- icon={<NodeIndexOutlined rev={undefined} />}
+ icon={<NodeIndexOutlined />}
onClick={() => handleShowScopeConfigSelectDialog(scopeIds)}
>
Associate Scope Config
@@ -302,7 +302,7 @@ export const Connection = () => {
{pluginConfig.scopeConfig && (
<Button
type="primary"
- icon={<LinkOutlined rev={undefined} />}
+ icon={<LinkOutlined />}
onClick={() => {
handleShowScopeConfigSelectDialog([id]);
setScopeConfigId(configId);
@@ -319,16 +319,8 @@ export const Connection = () => {
width: 100,
render: (id) => (
<>
- <Button
- type="primary"
- icon={<ClearOutlined rev={undefined} />}
- onClick={() => handleShowClearDataScopeDialog(id)}
- />
- <Button
- type="primary"
- icon={<DeleteOutlined rev={undefined} />}
- onClick={() => handleShowDeleteDataScopeDialog(id)}
- />
+ <Button type="primary" icon={<ClearOutlined />} onClick={() => handleShowClearDataScopeDialog(id)} />
+ <Button type="primary" icon={<DeleteOutlined />} onClick={() => handleShowDeleteDataScopeDialog(id)} />
</>
),
},
diff --git a/config-ui/src/routes/error/components/exception/index.tsx b/config-ui/src/routes/error/components/exception/index.tsx
index 787ce47b0..d829ab728 100644
--- a/config-ui/src/routes/error/components/exception/index.tsx
+++ b/config-ui/src/routes/error/components/exception/index.tsx
@@ -31,7 +31,7 @@ export const Exception = ({ error }: Props) => {
return (
<Card>
<h2>
- <CloseCircleOutlined rev={undefined} size={20} color="#f5222d" />
+ <CloseCircleOutlined size={20} color="#f5222d" />
<span>{error.toString() || 'Unknown Error'}</span>
</h2>
<p>
diff --git a/config-ui/src/routes/error/components/needs-db-migrate/index.tsx b/config-ui/src/routes/error/components/needs-db-migrate/index.tsx
index 9df814192..cebf2c441 100644
--- a/config-ui/src/routes/error/components/needs-db-migrate/index.tsx
+++ b/config-ui/src/routes/error/components/needs-db-migrate/index.tsx
@@ -42,7 +42,7 @@ export const NeedsDBMigrate = () => {
return (
<Card>
<h2>
- <ExclamationCircleOutlined rev={undefined} size={20} color="#fa541c" />
+ <ExclamationCircleOutlined size={20} color="#fa541c" />
<span>New Migration Scripts Detected</span>
</h2>
<p>
diff --git a/config-ui/src/routes/error/components/offline/index.tsx b/config-ui/src/routes/error/components/offline/index.tsx
index 09d3e5e43..b9574f304 100644
--- a/config-ui/src/routes/error/components/offline/index.tsx
+++ b/config-ui/src/routes/error/components/offline/index.tsx
@@ -57,11 +57,7 @@ export const Offline = () => {
return (
<Card>
<h2>
- {online ? (
- <CheckCircleOutlined rev={undefined} color="#a0d911" size={30} />
- ) : (
- <CloseCircleOutlined rev={undefined} color="#f5222d" size={30} />
- )}
+ {online ? <CheckCircleOutlined color="#a0d911" size={30} /> : <CloseCircleOutlined color="#f5222d" size={30} />}
<span>DevLake API</span>
<strong style={{ marginLeft: 4, color: online ? '#a0d911' : '#f5222d' }}>
{online ? 'Online' : 'Offline'}
@@ -77,12 +73,7 @@ export const Offline = () => {
<strong>Lake API</strong> to start before accessing the <strong>Configuration Interface</strong>.
</p>
<Flex justify="center">
- <Button
- type="primary"
- loading={loading}
- icon={<RedoOutlined rev={undefined} />}
- onClick={() => setVersion((v) => v + 1)}
- >
+ <Button type="primary" loading={loading} icon={<RedoOutlined />} onClick={() => setVersion((v) => v + 1)}>
Refresh
</Button>
</Flex>
@@ -95,7 +86,7 @@ export const Offline = () => {
Continue
</Button>
<Button
- icon={<QuestionCircleOutlined rev={undefined} />}
+ icon={<QuestionCircleOutlined />}
onClick={() =>
window.open(
'https://github.com/apache/incubator-devlake/blob/main/README.md',
diff --git a/config-ui/src/routes/layout/config.tsx b/config-ui/src/routes/layout/config.tsx
index b44d97bc0..fd9f557d1 100644
--- a/config-ui/src/routes/layout/config.tsx
+++ b/config-ui/src/routes/layout/config.tsx
@@ -41,17 +41,17 @@ export const menuItems: MenuItem[] = [
{
key: '/connections',
label: 'Connections',
- icon: <AppstoreOutlined rev={undefined} />,
+ icon: <AppstoreOutlined />,
},
{
key: '/projects',
label: 'Projects',
- icon: <ProjectOutlined rev={undefined} />,
+ icon: <ProjectOutlined />,
},
{
key: '/advanced',
label: 'Advanced',
- icon: <ExperimentOutlined rev={undefined} />,
+ icon: <ExperimentOutlined />,
children: [
{
key: '/advanced/blueprints',
@@ -66,7 +66,7 @@ export const menuItems: MenuItem[] = [
{
key: '/keys',
label: 'API Keys',
- icon: <KeyOutlined rev={undefined} />,
+ icon: <KeyOutlined />,
},
];
@@ -91,26 +91,26 @@ export const headerItems = [
{
link: import.meta.env.DEV ? `${window.location.protocol}//${window.location.hostname}:3002` : `/grafana`,
label: 'Dashboards',
- icon: <DashboardOutlined rev={undefined} />,
+ icon: <DashboardOutlined />,
},
{
link: DOC_URL.TUTORIAL,
label: 'Docs',
- icon: <FileSearchOutlined rev={undefined} />,
+ icon: <FileSearchOutlined />,
},
{
link: '/api/swagger/index.html',
label: 'API',
- icon: <ApiOutlined rev={undefined} />,
+ icon: <ApiOutlined />,
},
{
link: 'https://github.com/apache/incubator-devlake',
label: 'GitHub',
- icon: <GithubOutlined rev={undefined} />,
+ icon: <GithubOutlined />,
},
{
link: 'https://join.slack.com/t/devlake-io/shared_invite/zt-26ulybksw-IDrJYuqY1FrdjlMMJhs53Q',
label: 'Slack',
- icon: <SlackOutlined rev={undefined} />,
+ icon: <SlackOutlined />,
},
];
diff --git a/config-ui/src/routes/layout/layout.tsx b/config-ui/src/routes/layout/layout.tsx
index c8bb35f6b..92155d7e7 100644
--- a/config-ui/src/routes/layout/layout.tsx
+++ b/config-ui/src/routes/layout/layout.tsx
@@ -130,7 +130,7 @@ export const Layout = () => {
<CSSTransition in={!!tips} unmountOnExit timeout={300} nodeRef={tipsRef} classNames="tips">
<S.Tips ref={tipsRef}>
<div className="content">{tips}</div>
- <Button type="primary" icon={<CloseOutlined rev={undefined} />} onClick={() => setTips('')} />
+ <Button type="primary" icon={<CloseOutlined />} onClick={() => setTips('')} />
</S.Tips>
</CSSTransition>
</AntdLayout>
diff --git a/config-ui/src/routes/pipeline/components/info.tsx b/config-ui/src/routes/pipeline/components/info.tsx
index 970bad5e0..426f3a8c0 100644
--- a/config-ui/src/routes/pipeline/components/info.tsx
+++ b/config-ui/src/routes/pipeline/components/info.tsx
@@ -109,16 +109,14 @@ export const PipelineInfo = ({ id }: Props) => {
</li>
<li>
{[IPipelineStatus.ACTIVE, IPipelineStatus.RUNNING, IPipelineStatus.RERUN].includes(status) && (
- <Button loading={operating} icon={<StopOutlined rev={undefined} />} onClick={handleCancel} />
+ <Button loading={operating} icon={<StopOutlined />} onClick={handleCancel} />
)}
{[
IPipelineStatus.COMPLETED,
IPipelineStatus.PARTIAL,
IPipelineStatus.FAILED,
IPipelineStatus.CANCELLED,
- ].includes(status) && (
- <Button loading={operating} icon={<RedoOutlined rev={undefined} />} onClick={handleRerun} />
- )}
+ ].includes(status) && <Button loading={operating} icon={<RedoOutlined />} onClick={handleRerun} />}
</li>
</ul>
{IPipelineStatus.FAILED === status && <p className="'message'">{message}</p>}
diff --git a/config-ui/src/routes/pipeline/components/table.tsx b/config-ui/src/routes/pipeline/components/table.tsx
index e6dfb227c..c4c951251 100644
--- a/config-ui/src/routes/pipeline/components/table.tsx
+++ b/config-ui/src/routes/pipeline/components/table.tsx
@@ -112,9 +112,9 @@ export const PipelineTable = ({ dataSource, pagination, noData }: Props) => {
align: 'center',
render: (id: ID, row) => (
<Space>
- <Button icon={<CodeOutlined rev={undefined} />} onClick={() => handleShowJSON(row)} />
- <Button icon={<FileZipOutlined rev={undefined} />} onClick={() => handleDownloadLog(id)} />
- <Button icon={<RightOutlined rev={undefined} />} onClick={() => handleShowDetails(id)} />
+ <Button icon={<CodeOutlined />} onClick={() => handleShowJSON(row)} />
+ <Button icon={<FileZipOutlined />} onClick={() => handleDownloadLog(id)} />
+ <Button icon={<RightOutlined />} onClick={() => handleShowDetails(id)} />
</Space>
),
},
diff --git a/config-ui/src/routes/pipeline/components/task.tsx b/config-ui/src/routes/pipeline/components/task.tsx
index 8897e8285..c423f64ae 100644
--- a/config-ui/src/routes/pipeline/components/task.tsx
+++ b/config-ui/src/routes/pipeline/components/task.tsx
@@ -136,9 +136,7 @@ export const PipelineTask = ({ task }: Props) => {
IPipelineStatus.PARTIAL,
IPipelineStatus.FAILED,
IPipelineStatus.CANCELLED,
- ].includes(status) && (
- <Button loading={operating} icon={<RedoOutlined rev={undefined} />} onClick={handleRerun} />
- )}
+ ].includes(status) && <Button loading={operating} icon={<RedoOutlined />} onClick={handleRerun} />}
</div>
</S.Task>
);
diff --git a/config-ui/src/routes/pipeline/components/tasks.tsx b/config-ui/src/routes/pipeline/components/tasks.tsx
index 4c43d6837..d450a7b17 100644
--- a/config-ui/src/routes/pipeline/components/tasks.tsx
+++ b/config-ui/src/routes/pipeline/components/tasks.tsx
@@ -93,9 +93,9 @@ export const PipelineTasks = ({ id, style }: Props) => {
<li key={key} className={status}>
<strong>Stage {key}</strong>
{status === 'loading' && <Loading size={14} />}
- {status === 'success' && <CheckCircleOutlined rev={undefined} />}
- {status === 'error' && <CloseCircleOutlined rev={undefined} />}
- {status === 'cancel' && <StopOutlined rev={undefined} />}
+ {status === 'success' && <CheckCircleOutlined />}
+ {status === 'error' && <CloseCircleOutlined />}
+ {status === 'cancel' && <StopOutlined />}
</li>
);
})}
@@ -113,7 +113,7 @@ export const PipelineTasks = ({ id, style }: Props) => {
<Button
size="small"
className="collapse-control"
- icon={isOpen ? <DownOutlined rev={undefined} /> : <UpOutlined rev={undefined} />}
+ icon={isOpen ? <DownOutlined /> : <UpOutlined />}
onClick={handleToggleOpen}
/>
</S.Tasks>
diff --git a/config-ui/src/routes/pipeline/constant.tsx b/config-ui/src/routes/pipeline/constant.tsx
index 4a42adbc0..ff9bb85c2 100644
--- a/config-ui/src/routes/pipeline/constant.tsx
+++ b/config-ui/src/routes/pipeline/constant.tsx
@@ -27,15 +27,15 @@ import {
import { IPipelineStatus } from '@/types';
export const PipeLineStatusIcon = {
- [IPipelineStatus.CREATED]: <FieldTimeOutlined rev={undefined} />,
- [IPipelineStatus.PENDING]: <FieldTimeOutlined rev={undefined} />,
- [IPipelineStatus.ACTIVE]: <LoadingOutlined rev={undefined} />,
- [IPipelineStatus.RUNNING]: <LoadingOutlined rev={undefined} />,
- [IPipelineStatus.RERUN]: <LoadingOutlined rev={undefined} />,
- [IPipelineStatus.COMPLETED]: <CheckCircleOutlined rev={undefined} />,
- [IPipelineStatus.PARTIAL]: <CheckCircleOutlined rev={undefined} />,
- [IPipelineStatus.FAILED]: <CloseCircleOutlined rev={undefined} />,
- [IPipelineStatus.CANCELLED]: <UndoOutlined rev={undefined} />,
+ [IPipelineStatus.CREATED]: <FieldTimeOutlined />,
+ [IPipelineStatus.PENDING]: <FieldTimeOutlined />,
+ [IPipelineStatus.ACTIVE]: <LoadingOutlined />,
+ [IPipelineStatus.RUNNING]: <LoadingOutlined />,
+ [IPipelineStatus.RERUN]: <LoadingOutlined />,
+ [IPipelineStatus.COMPLETED]: <CheckCircleOutlined />,
+ [IPipelineStatus.PARTIAL]: <CheckCircleOutlined />,
+ [IPipelineStatus.FAILED]: <CloseCircleOutlined />,
+ [IPipelineStatus.CANCELLED]: <UndoOutlined />,
};
export const PipeLineStatusLabel = {
diff --git a/config-ui/yarn.lock b/config-ui/yarn.lock
index af61edd44..54fd64f66 100644
--- a/config-ui/yarn.lock
+++ b/config-ui/yarn.lock
@@ -2598,12 +2598,12 @@ __metadata:
languageName: node
linkType: hard
-"@types/react-dom@npm:^18.0.10":
- version: 18.0.11
- resolution: "@types/react-dom@npm:18.0.11"
+"@types/react-dom@npm:^17.0.25":
+ version: 17.0.25
+ resolution: "@types/react-dom@npm:17.0.25"
dependencies:
- "@types/react": "*"
- checksum: 579691e4d5ec09688087568037c35edf8cfb1ab3e07f6c60029280733ee7b5c06d66df6fcc90786702c93ac8cb13bc7ff16c79ddfc75d082938fbaa36e1cdbf4
+ "@types/react": ^17
+ checksum: d1e582682478e0848c8d54ea3e89d02047bac6d916266b85ce63731b06987575919653ea7159d98fda47ade3362b8c4d5796831549564b83088e7aa9ce8b60ed
languageName: node
linkType: hard
@@ -2637,7 +2637,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/react@npm:*, @types/react@npm:^18.0.24":
+"@types/react@npm:*":
version: 18.0.28
resolution: "@types/react@npm:18.0.28"
dependencies:
@@ -2648,6 +2648,17 @@ __metadata:
languageName: node
linkType: hard
+"@types/react@npm:^17, @types/react@npm:^17.0.73":
+ version: 17.0.73
+ resolution: "@types/react@npm:17.0.73"
+ dependencies:
+ "@types/prop-types": "*"
+ "@types/scheduler": "*"
+ csstype: ^3.0.2
+ checksum: 08107645acdd734c8ddb4d26f1b43dfa0d75f7a8d268eaacb897337e103eaa620fe8c3c6972dab9860aaa47bbee1da587cf06b11bb4e655588e38485daf48a6c
+ languageName: node
+ linkType: hard
+
"@types/scheduler@npm:*":
version: 0.16.2
resolution: "@types/scheduler@npm:0.16.2"
@@ -3592,9 +3603,9 @@ __metadata:
"@reduxjs/toolkit": ^1.9.7
"@types/file-saver": ^2.0.5
"@types/node": ^18.15.1
- "@types/react": ^18.0.24
+ "@types/react": ^17.0.73
"@types/react-copy-to-clipboard": ^5.0.4
- "@types/react-dom": ^18.0.10
+ "@types/react-dom": ^17.0.25
"@types/react-router-dom": ^5.3.3
"@types/react-transition-group": ^4.4.6
"@types/styled-components": ^5.1.34
(incubator-devlake) 04/05: feat(config-ui): upgrade styled-components
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit f734ee32a1d54d10a6c348d51ca030747c575ab8
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Dec 19 09:57:38 2023 +1300
feat(config-ui): upgrade styled-components
---
config-ui/package.json | 4 +-
config-ui/yarn.lock | 100 +++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 94 insertions(+), 10 deletions(-)
diff --git a/config-ui/package.json b/config-ui/package.json
index 10262118a..8d2afbdcf 100644
--- a/config-ui/package.json
+++ b/config-ui/package.json
@@ -42,7 +42,7 @@
"react-router-dom": "^6.14.1",
"react-transition-group": "^4.4.5",
"redux": "^4.2.1",
- "styled-components": "^5.3.6"
+ "styled-components": "^6.1.1"
},
"devDependencies": {
"@types/file-saver": "^2.0.5",
@@ -52,7 +52,7 @@
"@types/react-dom": "^18.0.10",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.6",
- "@types/styled-components": "^5.1.26",
+ "@types/styled-components": "^5.1.34",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
diff --git a/config-ui/yarn.lock b/config-ui/yarn.lock
index 9f721e9c7..af61edd44 100644
--- a/config-ui/yarn.lock
+++ b/config-ui/yarn.lock
@@ -1830,6 +1830,15 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/is-prop-valid@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "@emotion/is-prop-valid@npm:1.2.1"
+ dependencies:
+ "@emotion/memoize": ^0.8.1
+ checksum: 8f42dc573a3fad79b021479becb639b8fe3b60bdd1081a775d32388bca418ee53074c7602a4c845c5f75fa6831eb1cbdc4d208cc0299f57014ed3a02abcad16a
+ languageName: node
+ linkType: hard
+
"@emotion/memoize@npm:^0.8.0":
version: 0.8.0
resolution: "@emotion/memoize@npm:0.8.0"
@@ -1837,6 +1846,13 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/memoize@npm:^0.8.1":
+ version: 0.8.1
+ resolution: "@emotion/memoize@npm:0.8.1"
+ checksum: a19cc01a29fcc97514948eaab4dc34d8272e934466ed87c07f157887406bc318000c69ae6f813a9001c6a225364df04249842a50e692ef7a9873335fbcc141b0
+ languageName: node
+ linkType: hard
+
"@emotion/stylis@npm:^0.8.4":
version: 0.8.5
resolution: "@emotion/stylis@npm:0.8.5"
@@ -1851,6 +1867,13 @@ __metadata:
languageName: node
linkType: hard
+"@emotion/unitless@npm:^0.8.0":
+ version: 0.8.1
+ resolution: "@emotion/unitless@npm:0.8.1"
+ checksum: 385e21d184d27853bb350999471f00e1429fa4e83182f46cd2c164985999d9b46d558dc8b9cc89975cb337831ce50c31ac2f33b15502e85c299892e67e7b4a88
+ languageName: node
+ linkType: hard
+
"@esbuild/android-arm64@npm:0.18.20":
version: 0.18.20
resolution: "@esbuild/android-arm64@npm:0.18.20"
@@ -2639,14 +2662,21 @@ __metadata:
languageName: node
linkType: hard
-"@types/styled-components@npm:^5.1.26":
- version: 5.1.26
- resolution: "@types/styled-components@npm:5.1.26"
+"@types/styled-components@npm:^5.1.34":
+ version: 5.1.34
+ resolution: "@types/styled-components@npm:5.1.34"
dependencies:
"@types/hoist-non-react-statics": "*"
"@types/react": "*"
csstype: ^3.0.2
- checksum: 84f53b3101739b20d1731554fb7735bc2f3f5d050a8b392e9845403c8c8bbd729737d033978649f9195a97b557875b010d46e35a4538564a2d0dbcce661dbf76
+ checksum: 7868066a15afe42d8b353953fc196a7f11a9918b1c980f51d21bb9b49e309c7fe2d730be2d3dc48e92ab4de20f44a3c9dfe6cc98b6ea4dd02655e6f8128171b6
+ languageName: node
+ linkType: hard
+
+"@types/stylis@npm:^4.0.2":
+ version: 4.2.4
+ resolution: "@types/stylis@npm:4.2.4"
+ checksum: 0734b4136192f97f4c8792ea41f1293091dfda53434ede08281fa42689d31f16cd1ad0e058de88c11980c18aae29e62a87027b235b98ab0cb237641b6ec44bcb
languageName: node
linkType: hard
@@ -3567,7 +3597,7 @@ __metadata:
"@types/react-dom": ^18.0.10
"@types/react-router-dom": ^5.3.3
"@types/react-transition-group": ^4.4.6
- "@types/styled-components": ^5.1.26
+ "@types/styled-components": ^5.1.34
"@vitejs/plugin-react": ^3.1.0
ahooks: ^3.7.8
antd: ^5.11.1
@@ -3594,7 +3624,7 @@ __metadata:
react-router-dom: ^6.14.1
react-transition-group: ^4.4.5
redux: ^4.2.1
- styled-components: ^5.3.6
+ styled-components: ^6.1.1
typescript: ^4.9.5
vite: ^4.5.1
vite-plugin-svgr: ^4.2.0
@@ -3713,7 +3743,7 @@ __metadata:
languageName: node
linkType: hard
-"css-to-react-native@npm:^3.0.0":
+"css-to-react-native@npm:^3.0.0, css-to-react-native@npm:^3.2.0":
version: 3.2.0
resolution: "css-to-react-native@npm:3.2.0"
dependencies:
@@ -3738,6 +3768,13 @@ __metadata:
languageName: node
linkType: hard
+"csstype@npm:^3.1.2":
+ version: 3.1.3
+ resolution: "csstype@npm:3.1.3"
+ checksum: 8db785cc92d259102725b3c694ec0c823f5619a84741b5c7991b8ad135dfaa66093038a1cc63e03361a6cd28d122be48f2106ae72334e067dd619a51f49eddf7
+ languageName: node
+ linkType: hard
+
"damerau-levenshtein@npm:^1.0.8":
version: 1.0.8
resolution: "damerau-levenshtein@npm:1.0.8"
@@ -5876,6 +5913,15 @@ __metadata:
languageName: node
linkType: hard
+"nanoid@npm:^3.3.7":
+ version: 3.3.7
+ resolution: "nanoid@npm:3.3.7"
+ bin:
+ nanoid: bin/nanoid.cjs
+ checksum: d36c427e530713e4ac6567d488b489a36582ef89da1d6d4e3b87eded11eb10d7042a877958c6f104929809b2ab0bafa17652b076cdf84324aa75b30b722204f2
+ languageName: node
+ linkType: hard
+
"natural-compare-lite@npm:^1.4.0":
version: 1.4.0
resolution: "natural-compare-lite@npm:1.4.0"
@@ -6238,6 +6284,17 @@ __metadata:
languageName: node
linkType: hard
+"postcss@npm:^8.4.31":
+ version: 8.4.32
+ resolution: "postcss@npm:8.4.32"
+ dependencies:
+ nanoid: ^3.3.7
+ picocolors: ^1.0.0
+ source-map-js: ^1.0.2
+ checksum: 220d9d0bf5d65be7ed31006c523bfb11619461d296245c1231831f90150aeb4a31eab9983ac9c5c89759a3ca8b60b3e0d098574964e1691673c3ce5c494305ae
+ languageName: node
+ linkType: hard
+
"prelude-ls@npm:^1.2.1":
version: 1.2.1
resolution: "prelude-ls@npm:1.2.1"
@@ -7660,7 +7717,27 @@ __metadata:
languageName: node
linkType: hard
-"stylis@npm:^4.0.13":
+"styled-components@npm:^6.1.1":
+ version: 6.1.1
+ resolution: "styled-components@npm:6.1.1"
+ dependencies:
+ "@emotion/is-prop-valid": ^1.2.1
+ "@emotion/unitless": ^0.8.0
+ "@types/stylis": ^4.0.2
+ css-to-react-native: ^3.2.0
+ csstype: ^3.1.2
+ postcss: ^8.4.31
+ shallowequal: ^1.1.0
+ stylis: ^4.3.0
+ tslib: ^2.5.0
+ peerDependencies:
+ react: ">= 16.8.0"
+ react-dom: ">= 16.8.0"
+ checksum: d062ba473014a551ed76f4876feaccebc06aaa8dc2849c9d72f67420701dbc7d7c9af1dfa5207b2ad5df9b2e122ddf9e5fe6b6b69ba4d93c4c702abdff19435a
+ languageName: node
+ linkType: hard
+
+"stylis@npm:^4.0.13, stylis@npm:^4.3.0":
version: 4.3.0
resolution: "stylis@npm:4.3.0"
checksum: 6120de3f03eacf3b5adc8e7919c4cca991089156a6badc5248752a3088106afaaf74996211a6817a7760ebeadca09004048eea31875bd8d4df51386365c50025
@@ -7804,6 +7881,13 @@ __metadata:
languageName: node
linkType: hard
+"tslib@npm:^2.5.0":
+ version: 2.6.2
+ resolution: "tslib@npm:2.6.2"
+ checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad
+ languageName: node
+ linkType: hard
+
"tsutils@npm:^3.21.0":
version: 3.21.0
resolution: "tsutils@npm:3.21.0"
(incubator-devlake) 02/05: refactor(config-ui): remove blueprintjs
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 7445ee38ec51e656a6e6d8f16233a8d6ce97361c
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Dec 19 09:44:30 2023 +1300
refactor(config-ui): remove blueprintjs
---
config-ui/package.json | 4 -
config-ui/src/index.css | 7 -
config-ui/yarn.lock | 338 +-----------------------------------------------
3 files changed, 1 insertion(+), 348 deletions(-)
diff --git a/config-ui/package.json b/config-ui/package.json
index 83dd6b325..41ab5a81b 100644
--- a/config-ui/package.json
+++ b/config-ui/package.json
@@ -24,10 +24,6 @@
"dependencies": {
"@ahooksjs/use-url-state": "^3.5.1",
"@ant-design/icons": "^5.2.6",
- "@blueprintjs/core": "^5.3.0",
- "@blueprintjs/datetime2": "^1.0.10",
- "@blueprintjs/popover2": "^2.0.10",
- "@blueprintjs/select": "^5.0.10",
"@reduxjs/toolkit": "^1.9.7",
"ahooks": "^3.7.8",
"antd": "^5.11.1",
diff --git a/config-ui/src/index.css b/config-ui/src/index.css
index 772571c48..046bb278e 100644
--- a/config-ui/src/index.css
+++ b/config-ui/src/index.css
@@ -16,13 +16,6 @@
*
*/
-@import 'normalize.css';
-@import '@blueprintjs/core/lib/css/blueprint.css';
-@import '@blueprintjs/icons/lib/css/blueprint-icons.css';
-@import '@blueprintjs/select/lib/css/blueprint-select.css';
-@import '@blueprintjs/popover2/lib/css/blueprint-popover2.css';
-@import '@blueprintjs/datetime/lib/css/blueprint-datetime.css';
-
body {
color: #292b3f;
}
diff --git a/config-ui/yarn.lock b/config-ui/yarn.lock
index 8a9945b4d..21bbb1d76 100644
--- a/config-ui/yarn.lock
+++ b/config-ui/yarn.lock
@@ -1800,139 +1800,6 @@ __metadata:
languageName: node
linkType: hard
-"@blueprintjs/colors@npm:^5.0.2":
- version: 5.0.2
- resolution: "@blueprintjs/colors@npm:5.0.2"
- dependencies:
- tslib: ~2.5.0
- checksum: e9db67af8f81a5ee69c5cc21b01a6872daa92079655c643dadffedcd68966df62b3111bb168a8c85e187d2735bef137a0ef59ca9c9d2adf2f84642fe02999feb
- languageName: node
- linkType: hard
-
-"@blueprintjs/core@npm:^5.3.0":
- version: 5.3.0
- resolution: "@blueprintjs/core@npm:5.3.0"
- dependencies:
- "@blueprintjs/colors": ^5.0.2
- "@blueprintjs/icons": ^5.1.6
- "@popperjs/core": ^2.11.7
- classnames: ^2.3.1
- normalize.css: ^8.0.1
- react-popper: ^2.3.0
- react-transition-group: ^4.4.5
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17 || 18
- react: ^16.8 || 17 || 18
- react-dom: ^16.8 || 17 || 18
- peerDependenciesMeta:
- "@types/react":
- optional: true
- bin:
- upgrade-blueprint-2.0.0-rename: scripts/upgrade-blueprint-2.0.0-rename.sh
- upgrade-blueprint-3.0.0-rename: scripts/upgrade-blueprint-3.0.0-rename.sh
- checksum: d06d5f2f81a11cf839560b9b7f9a2584c3e321058bc053d5e1b44043dc0fb280eede077f942b805387f18ca947064a1a47964847d7d12e4982adf4cc78b33eb2
- languageName: node
- linkType: hard
-
-"@blueprintjs/datetime2@npm:^1.0.10":
- version: 1.0.10
- resolution: "@blueprintjs/datetime2@npm:1.0.10"
- dependencies:
- "@blueprintjs/core": ^5.3.0
- "@blueprintjs/datetime": ^5.0.10
- date-fns: ^2.28.0
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17
- react: ^16.8 || 17
- react-dom: ^16.8 || 17
- peerDependenciesMeta:
- "@types/react":
- optional: true
- checksum: b52ce7c233f01b0b574ce4418673ca9b3e02959903206001206db5da3699c2d3cd746fd6f40a474b5441ce257d590ef4797570f48a72e1f8a563769c28765c56
- languageName: node
- linkType: hard
-
-"@blueprintjs/datetime@npm:^5.0.10":
- version: 5.0.10
- resolution: "@blueprintjs/datetime@npm:5.0.10"
- dependencies:
- "@blueprintjs/core": ^5.3.0
- "@blueprintjs/icons": ^5.1.6
- "@blueprintjs/select": ^5.0.10
- classnames: ^2.3.1
- date-fns: ^2.28.0
- date-fns-tz: ^1.3.7
- lodash: ^4.17.21
- react-day-picker: 7.4.9
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17
- react: ^16.8 || 17
- react-dom: ^16.8 || 17
- peerDependenciesMeta:
- "@types/react":
- optional: true
- checksum: 24ca793ea2bf649cc4fbcf10051ffe91dd38d9029a0d1b13e3f8652b81f84644db80a566096283e12cb9f584049a850f1480a67526e428a1bb265ab1832a81ee
- languageName: node
- linkType: hard
-
-"@blueprintjs/icons@npm:^5.1.6":
- version: 5.1.6
- resolution: "@blueprintjs/icons@npm:5.1.6"
- dependencies:
- change-case: ^4.1.2
- classnames: ^2.3.1
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17 || 18
- react: ^16.8 || 17 || 18
- react-dom: ^16.8 || 17 || 18
- peerDependenciesMeta:
- "@types/react":
- optional: true
- checksum: bd1487cbd9cb6719441303b7e3c4902b066af2983664998cc50c7908b4d6de0f1b58a675decc1efdf4150719afe2853c7cad451de64a189b2950c655abb04b9e
- languageName: node
- linkType: hard
-
-"@blueprintjs/popover2@npm:^2.0.10":
- version: 2.0.10
- resolution: "@blueprintjs/popover2@npm:2.0.10"
- dependencies:
- "@blueprintjs/core": ^5.3.0
- classnames: ^2.3.1
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17 || 18
- react: ^16.8 || 17 || 18
- react-dom: ^16.8 || 17 || 18
- peerDependenciesMeta:
- "@types/react":
- optional: true
- checksum: 39515d56ce6b8a828e39d2301468bfea172fa1521fafe4baa40068443fdf53611ef8ada80b50500d793da129f610ece6dd1429aa3588e03d283f093c78dcde1c
- languageName: node
- linkType: hard
-
-"@blueprintjs/select@npm:^5.0.10":
- version: 5.0.10
- resolution: "@blueprintjs/select@npm:5.0.10"
- dependencies:
- "@blueprintjs/core": ^5.3.0
- "@blueprintjs/icons": ^5.1.6
- classnames: ^2.3.1
- tslib: ~2.5.0
- peerDependencies:
- "@types/react": ^16.14.32 || 17 || 18
- react: ^16.8 || 17 || 18
- react-dom: ^16.8 || 17 || 18
- peerDependenciesMeta:
- "@types/react":
- optional: true
- checksum: 6e6090de40e1eb74fcccc0746dda6bd2e75ada59ca39c64bd6877d132711feb0a474f364e42e03d8058f568b4ea35c4d654648ffbd4a5e09e73819c981cf5e35
- languageName: node
- linkType: hard
-
"@ctrl/tinycolor@npm:^3.4.0, @ctrl/tinycolor@npm:^3.6.0, @ctrl/tinycolor@npm:^3.6.1":
version: 3.6.1
resolution: "@ctrl/tinycolor@npm:3.6.1"
@@ -2313,13 +2180,6 @@ __metadata:
languageName: node
linkType: hard
-"@popperjs/core@npm:^2.11.7":
- version: 2.11.8
- resolution: "@popperjs/core@npm:2.11.8"
- checksum: e5c69fdebf52a4012f6a1f14817ca8e9599cb1be73dd1387e1785e2ed5e5f0862ff817f420a87c7fc532add1f88a12e25aeb010ffcbdc98eace3d55ce2139cf0
- languageName: node
- linkType: hard
-
"@rc-component/color-picker@npm:~1.4.1":
version: 1.4.1
resolution: "@rc-component/color-picker@npm:1.4.1"
@@ -3497,16 +3357,6 @@ __metadata:
languageName: node
linkType: hard
-"camel-case@npm:^4.1.2":
- version: 4.1.2
- resolution: "camel-case@npm:4.1.2"
- dependencies:
- pascal-case: ^3.1.2
- tslib: ^2.0.3
- checksum: bcbd25cd253b3cbc69be3f535750137dbf2beb70f093bdc575f73f800acc8443d34fd52ab8f0a2413c34f1e8203139ffc88428d8863e4dfe530cfb257a379ad6
- languageName: node
- linkType: hard
-
"camelcase@npm:^6.2.0":
version: 6.3.0
resolution: "camelcase@npm:6.3.0"
@@ -3535,17 +3385,6 @@ __metadata:
languageName: node
linkType: hard
-"capital-case@npm:^1.0.4":
- version: 1.0.4
- resolution: "capital-case@npm:1.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case-first: ^2.0.2
- checksum: 41fa8fa87f6d24d0835a2b4a9341a3eaecb64ac29cd7c5391f35d6175a0fa98ab044e7f2602e1ec3afc886231462ed71b5b80c590b8b41af903ec2c15e5c5931
- languageName: node
- linkType: hard
-
"chalk@npm:5.2.0":
version: 5.2.0
resolution: "chalk@npm:5.2.0"
@@ -3574,26 +3413,6 @@ __metadata:
languageName: node
linkType: hard
-"change-case@npm:^4.1.2":
- version: 4.1.2
- resolution: "change-case@npm:4.1.2"
- dependencies:
- camel-case: ^4.1.2
- capital-case: ^1.0.4
- constant-case: ^3.0.4
- dot-case: ^3.0.4
- header-case: ^2.0.4
- no-case: ^3.0.4
- param-case: ^3.0.4
- pascal-case: ^3.1.2
- path-case: ^3.0.4
- sentence-case: ^3.0.4
- snake-case: ^3.0.4
- tslib: ^2.0.3
- checksum: e4bc4a093a1f7cce8b33896665cf9e456e3bc3cc0def2ad7691b1994cfca99b3188d0a513b16855b01a6bd20692fcde12a7d4d87a5615c4c515bbbf0e651f116
- languageName: node
- linkType: hard
-
"chownr@npm:^2.0.0":
version: 2.0.0
resolution: "chownr@npm:2.0.0"
@@ -3719,10 +3538,6 @@ __metadata:
dependencies:
"@ahooksjs/use-url-state": ^3.5.1
"@ant-design/icons": ^5.2.6
- "@blueprintjs/core": ^5.3.0
- "@blueprintjs/datetime2": ^1.0.10
- "@blueprintjs/popover2": ^2.0.10
- "@blueprintjs/select": ^5.0.10
"@reduxjs/toolkit": ^1.9.7
"@types/file-saver": ^2.0.5
"@types/node": ^18.15.1
@@ -3779,17 +3594,6 @@ __metadata:
languageName: node
linkType: hard
-"constant-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "constant-case@npm:3.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case: ^2.0.2
- checksum: 6c3346d51afc28d9fae922e966c68eb77a19d94858dba230dd92d7b918b37d36db50f0311e9ecf6847e43e934b1c01406a0936973376ab17ec2c471fbcfb2cf3
- languageName: node
- linkType: hard
-
"convert-source-map@npm:^1.7.0":
version: 1.9.0
resolution: "convert-source-map@npm:1.9.0"
@@ -3920,22 +3724,6 @@ __metadata:
languageName: node
linkType: hard
-"date-fns-tz@npm:^1.3.7":
- version: 1.3.8
- resolution: "date-fns-tz@npm:1.3.8"
- peerDependencies:
- date-fns: ">=2.0.0"
- checksum: dbf17cb88de7c7b71a9f86b815ac62ebdbf725c030e78d2421309456b5001a85284a5b6763f4af0ba660183f12e876c165e725a0723f642edb7846407db03133
- languageName: node
- linkType: hard
-
-"date-fns@npm:^2.28.0":
- version: 2.29.3
- resolution: "date-fns@npm:2.29.3"
- checksum: e01cf5b62af04e05dfff921bb9c9933310ed0e1ae9a81eb8653452e64dc841acf7f6e01e1a5ae5644d0337e9a7f936175fd2cb6819dc122fdd9c5e86c56be484
- languageName: node
- linkType: hard
-
"dayjs@npm:^1.10.7":
version: 1.11.7
resolution: "dayjs@npm:1.11.7"
@@ -5133,16 +4921,6 @@ __metadata:
languageName: node
linkType: hard
-"header-case@npm:^2.0.4":
- version: 2.0.4
- resolution: "header-case@npm:2.0.4"
- dependencies:
- capital-case: ^1.0.4
- tslib: ^2.0.3
- checksum: 571c83eeb25e8130d172218712f807c0b96d62b020981400bccc1503a7cf14b09b8b10498a962d2739eccf231d950e3848ba7d420b58a6acd2f9283439546cd9
- languageName: node
- linkType: hard
-
"hoist-non-react-statics@npm:^3.0.0, hoist-non-react-statics@npm:^3.3.0, hoist-non-react-statics@npm:^3.3.2":
version: 3.3.2
resolution: "hoist-non-react-statics@npm:3.3.2"
@@ -5794,7 +5572,7 @@ __metadata:
languageName: node
linkType: hard
-"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
+"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
dependencies:
@@ -6155,13 +5933,6 @@ __metadata:
languageName: node
linkType: hard
-"normalize.css@npm:^8.0.1":
- version: 8.0.1
- resolution: "normalize.css@npm:8.0.1"
- checksum: 4698cae88ec35e3f3e82f9f9402e6ffb906c27ccd6373cad88e6b3f5634fc7a043cb38702472299e5edb73825cf8b18d5fd9283f58829eddda79ea97453049a2
- languageName: node
- linkType: hard
-
"npm-run-path@npm:^5.1.0":
version: 5.1.0
resolution: "npm-run-path@npm:5.1.0"
@@ -6337,16 +6108,6 @@ __metadata:
languageName: node
linkType: hard
-"param-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "param-case@npm:3.0.4"
- dependencies:
- dot-case: ^3.0.4
- tslib: ^2.0.3
- checksum: b34227fd0f794e078776eb3aa6247442056cb47761e9cd2c4c881c86d84c64205f6a56ef0d70b41ee7d77da02c3f4ed2f88e3896a8fefe08bdfb4deca037c687
- languageName: node
- linkType: hard
-
"parent-module@npm:^1.0.0":
version: 1.0.1
resolution: "parent-module@npm:1.0.1"
@@ -6368,26 +6129,6 @@ __metadata:
languageName: node
linkType: hard
-"pascal-case@npm:^3.1.2":
- version: 3.1.2
- resolution: "pascal-case@npm:3.1.2"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- checksum: ba98bfd595fc91ef3d30f4243b1aee2f6ec41c53b4546bfa3039487c367abaa182471dcfc830a1f9e1a0df00c14a370514fa2b3a1aacc68b15a460c31116873e
- languageName: node
- linkType: hard
-
-"path-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "path-case@npm:3.0.4"
- dependencies:
- dot-case: ^3.0.4
- tslib: ^2.0.3
- checksum: 61de0526222629f65038a66f63330dd22d5b54014ded6636283e1d15364da38b3cf29e4433aa3f9d8b0dba407ae2b059c23b0104a34ee789944b1bc1c5c7e06d
- languageName: node
- linkType: hard
-
"path-exists@npm:^4.0.0":
version: 4.0.0
resolution: "path-exists@npm:4.0.0"
@@ -7110,17 +6851,6 @@ __metadata:
languageName: node
linkType: hard
-"react-day-picker@npm:7.4.9":
- version: 7.4.9
- resolution: "react-day-picker@npm:7.4.9"
- dependencies:
- prop-types: ^15.6.2
- peerDependencies:
- react: ~0.13.x || ~0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0
- checksum: d86e459c0b87425bd39da9f9b81d4a417cc9539a9973ce42342c3b31b0f4d714bca9f0ac70d716cf365be98d423a0c837b93118115db0f3b0ad98f2633dd04be
- languageName: node
- linkType: hard
-
"react-dom@npm:17.0.2":
version: 17.0.2
resolution: "react-dom@npm:17.0.2"
@@ -7134,13 +6864,6 @@ __metadata:
languageName: node
linkType: hard
-"react-fast-compare@npm:^3.0.1":
- version: 3.2.0
- resolution: "react-fast-compare@npm:3.2.0"
- checksum: 8ef272c825ae329f61633ce4ce7f15aa5b84e5214d88bc0823880236e03e985a13195befa2c7a4eda7db3b017dc7985729152d88445823f652403cf36c2b86aa
- languageName: node
- linkType: hard
-
"react-infinite-scroll-component@npm:^6.1.0":
version: 6.1.0
resolution: "react-infinite-scroll-component@npm:6.1.0"
@@ -7166,20 +6889,6 @@ __metadata:
languageName: node
linkType: hard
-"react-popper@npm:^2.3.0":
- version: 2.3.0
- resolution: "react-popper@npm:2.3.0"
- dependencies:
- react-fast-compare: ^3.0.1
- warning: ^4.0.2
- peerDependencies:
- "@popperjs/core": ^2.0.0
- react: ^16.8.0 || ^17 || ^18
- react-dom: ^16.8.0 || ^17 || ^18
- checksum: 837111c98738011c69b3069a464ea5bdcbf487105b6148e8faf90cb7337e134edb1b98b8824322941c378756cca30a15c18c25f558e53b85ed5762fa0dc8e6b2
- languageName: node
- linkType: hard
-
"react-redux@npm:^8.1.3":
version: 8.1.3
resolution: "react-redux@npm:8.1.3"
@@ -7599,17 +7308,6 @@ __metadata:
languageName: node
linkType: hard
-"sentence-case@npm:^3.0.4":
- version: 3.0.4
- resolution: "sentence-case@npm:3.0.4"
- dependencies:
- no-case: ^3.0.4
- tslib: ^2.0.3
- upper-case-first: ^2.0.2
- checksum: 3cfe6c0143e649132365695706702d7f729f484fa7b25f43435876efe7af2478243eefb052bacbcce10babf9319fd6b5b6bc59b94c80a1c819bcbb40651465d5
- languageName: node
- linkType: hard
-
"set-blocking@npm:^2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
@@ -8080,13 +7778,6 @@ __metadata:
languageName: node
linkType: hard
-"tslib@npm:~2.5.0":
- version: 2.5.3
- resolution: "tslib@npm:2.5.3"
- checksum: 88902b309afaf83259131c1e13da1dceb0ad1682a213143a1346a649143924d78cf3760c448b84d796938fd76127183894f8d85cbb3bf9c4fddbfcc140c0003c
- languageName: node
- linkType: hard
-
"tsutils@npm:^3.21.0":
version: 3.21.0
resolution: "tsutils@npm:3.21.0"
@@ -8241,24 +7932,6 @@ __metadata:
languageName: node
linkType: hard
-"upper-case-first@npm:^2.0.2":
- version: 2.0.2
- resolution: "upper-case-first@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 4487db4701effe3b54ced4b3e4aa4d9ab06c548f97244d04aafb642eedf96a76d5a03cf5f38f10f415531d5792d1ac6e1b50f2a76984dc6964ad530f12876409
- languageName: node
- linkType: hard
-
-"upper-case@npm:^2.0.2":
- version: 2.0.2
- resolution: "upper-case@npm:2.0.2"
- dependencies:
- tslib: ^2.0.3
- checksum: 508723a2b03ab90cf1d6b7e0397513980fab821cbe79c87341d0e96cedefadf0d85f9d71eac24ab23f526a041d585a575cfca120a9f920e44eb4f8a7cf89121c
- languageName: node
- linkType: hard
-
"uri-js@npm:^4.2.2":
version: 4.4.1
resolution: "uri-js@npm:4.4.1"
@@ -8337,15 +8010,6 @@ __metadata:
languageName: node
linkType: hard
-"warning@npm:^4.0.2":
- version: 4.0.3
- resolution: "warning@npm:4.0.3"
- dependencies:
- loose-envify: ^1.0.0
- checksum: 4f2cb6a9575e4faf71ddad9ad1ae7a00d0a75d24521c193fa464f30e6b04027bd97aa5d9546b0e13d3a150ab402eda216d59c1d0f2d6ca60124d96cd40dfa35c
- languageName: node
- linkType: hard
-
"which-boxed-primitive@npm:^1.0.2":
version: 1.0.2
resolution: "which-boxed-primitive@npm:1.0.2"
(incubator-devlake) 01/05: fix(config-ui): lint error
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch refactor-6307
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 8a7fe18f0548de53cea9b9c3212a2f681fb8cc0b
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Dec 19 09:44:23 2023 +1300
fix(config-ui): lint error
---
.../src/plugins/register/jira/transformation-fields/cross-domain.tsx | 1 -
config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx | 1 -
2 files changed, 2 deletions(-)
diff --git a/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx b/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
index cd6e5dccf..0a3f15e77 100644
--- a/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
+++ b/config-ui/src/plugins/register/jira/transformation-fields/cross-domain.tsx
@@ -35,7 +35,6 @@ interface Props {
export const CrossDomain = ({ connectionId, transformation, setTransformation }: Props) => {
const [radio, setRadio] = useState<'remote-link' | 'dev-panel'>('remote-link');
- const [showTip, setShowTip] = useState(false);
const [open, setOpen] = useState(false);
useEffect(() => {
diff --git a/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx b/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
index 4260fce71..301dfdb97 100644
--- a/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
+++ b/config-ui/src/plugins/register/jira/transformation-fields/dev-panel.tsx
@@ -40,7 +40,6 @@ export const DevPanel = ({ connectionId, transformation, setTransformation, open
const [searching, setSearching] = useState(false);
const [applicationTypes, setApplicationTypes] = useState<string[]>([]);
const [applicationType, setApplicationType] = useState<string>();
- const [showTip, setShowTip] = useState(false);
const [operating, setOperating] = useState(false);
const [devPanelCommits, setDevPanelCommits] = useState<string[]>([]);
const [pattern, setPattern] = useState('');