fix ns logic + update axios + forms error handling

This commit is contained in:
typescreep
2025-10-07 19:10:44 +03:00
parent 96dcdcfdc8
commit a535aea35a
3 changed files with 18 additions and 18 deletions

29
package-lock.json generated
View File

@@ -11,7 +11,7 @@
"@ant-design/icons": "5.6.0",
"@monaco-editor/react": "4.6.0",
"@originjs/vite-plugin-federation": "1.3.6",
"@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.128",
"@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.129",
"@readme/openapi-parser": "4.0.0",
"@reduxjs/toolkit": "2.2.5",
"@tanstack/react-query": "5.62.2",
@@ -20,7 +20,7 @@
"@xterm/addon-fit": "0.10.0",
"@xterm/xterm": "5.5.0",
"antd": "5.26.4",
"axios": "1.4.0",
"axios": "1.12.2",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"express": "4.19.2",
@@ -2804,9 +2804,9 @@
}
},
"node_modules/@prorobotech/openapi-k8s-toolkit": {
"version": "0.0.1-alpha.128",
"resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.128.tgz",
"integrity": "sha512-joFNG95IbEL/HmbqEHsYCz2jszkfLL9dhXcEjRL883qmSVrJnuBdmcdpZqUfKKUHw67bmlTUo4Olb5J50ZP11A==",
"version": "0.0.1-alpha.129",
"resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.129.tgz",
"integrity": "sha512-V5hrvOfbx7ZXCHu3sDYfvVKJPEbiymMk7Zb/1cQNfkyzjqvBB2JVRVEGVR9c6uyuWOHchBAMkiw2S5c5pm+yfQ==",
"license": "MIT",
"dependencies": {
"@monaco-editor/react": "4.6.0",
@@ -2814,7 +2814,7 @@
"@xterm/addon-attach": "0.11.0",
"@xterm/addon-fit": "0.10.0",
"@xterm/xterm": "5.5.0",
"axios": "1.4.0",
"axios": "1.12.2",
"cross-env": "7.0.3",
"dotenv": "16.4.7",
"jsonpath": "1.1.1",
@@ -4898,13 +4898,13 @@
}
},
"node_modules/axios": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
"integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
"version": "1.12.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz",
"integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
"follow-redirects": "^1.15.6",
"form-data": "^4.0.4",
"proxy-from-env": "^1.1.0"
}
},
@@ -7643,14 +7643,15 @@
}
},
"node_modules/form-data": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz",
"integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==",
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
"integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
"license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"es-set-tostringtag": "^2.1.0",
"hasown": "^2.0.2",
"mime-types": "^2.1.12"
},
"engines": {

View File

@@ -20,7 +20,7 @@
"@ant-design/icons": "5.6.0",
"@monaco-editor/react": "4.6.0",
"@originjs/vite-plugin-federation": "1.3.6",
"@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.128",
"@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.129",
"@readme/openapi-parser": "4.0.0",
"@reduxjs/toolkit": "2.2.5",
"@tanstack/react-query": "5.62.2",
@@ -29,7 +29,7 @@
"@xterm/addon-fit": "0.10.0",
"@xterm/xterm": "5.5.0",
"antd": "5.26.4",
"axios": "1.4.0",
"axios": "1.12.2",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"express": "4.19.2",

View File

@@ -271,7 +271,7 @@ export const TableApiBuiltin: FC<TTableApiBuiltinProps> = ({
},
}}
tableProps={{ ...TABLE_PROPS, disablePagination: !searchMount }}
namespaceScopedWithoutNamespace={isNamespaced && !!namespace}
namespaceScopedWithoutNamespace={isNamespaced && !namespace}
// maxHeight={height - 65}
/>
)}
@@ -290,7 +290,6 @@ export const TableApiBuiltin: FC<TTableApiBuiltinProps> = ({
</MarginTopContainer>
)} */}
</OverflowContainer>
{searchMount ? <Spacer $space={12} $samespace /> : <FlexGrow />}
<PaddingContainer $padding="4px">
<Flex justify="space-between">