Skip to content

Commit

Permalink
1) Updated chart.js to 4.4.7
Browse files Browse the repository at this point in the history
2) Fixed an issue where Default Workspace and Preferences button is disabled when
   selecting any node from object explorer.
  • Loading branch information
akshay-joshi committed Feb 19, 2025
1 parent a0ddfad commit 53077b6
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 85 deletions.
4 changes: 3 additions & 1 deletion docs/en_US/release_notes_9_1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ New features
Housekeeping
************

| `Issue #8068 <https://github.com/pgadmin-org/pgadmin4/issues/8068>`_ - Added support for Python 3.13
Bug fixes
*********
Expand All @@ -37,4 +38,5 @@ Bug fixes
| `Issue #8410 <https://github.com/pgadmin-org/pgadmin4/issues/8410>`_ - Fixed Docker image entrypoint.sh email validation.
| `Issue #8418 <https://github.com/pgadmin-org/pgadmin4/issues/8418>`_ - Fixed an issue where the User Management and Change Password dialogs were hidden when selecting a menu while a workspace other than 'Default' was active.
| `Issue #8430 <https://github.com/pgadmin-org/pgadmin4/issues/8430>`_ - Fixed an issue where the column order displayed was incorrect for exclusion constraints with multiple columns.
| `Issue #8435 <https://github.com/pgadmin-org/pgadmin4/issues/8435>`_ - Ensure the saved passwords are decrypted with the correct encryption key for external authentication in server mode.
| `Issue #8435 <https://github.com/pgadmin-org/pgadmin4/issues/8435>`_ - Ensure the saved passwords are decrypted with the correct encryption key for external authentication in server mode.
| `Issue #8460 <https://github.com/pgadmin-org/pgadmin4/issues/8460>`_ - Fixed an issue where deleting rows in the query tool would delete all rows in the table when 'Select All Remaining Rows' was used.
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@projectstorm/react-diagrams": "^7.0.4",
"@simonwep/pickr": "^1.5.1",
"@szhsin/react-menu": "^4.2.2",
"@tanstack/react-query": "5.66.4",
"@tanstack/react-query": "5.66.5",
"@tanstack/react-table": "^8.16.0",
"@tanstack/react-virtual": "^3.12.0",
"@types/classnames": "^2.3.4",
Expand All @@ -103,7 +103,7 @@
"bignumber.js": "^9.0.1",
"brace": "^0.11.1",
"browserfs": "^1.4.3",
"chart.js": "^3.0.0",
"chart.js": "^4.4.7",
"chartjs-plugin-zoom": "^2.0.1",
"codemirror": "^6.0.1",
"convert-units": "^2.3.4",
Expand Down
3 changes: 2 additions & 1 deletion web/pgadmin/misc/workspaces/static/js/WorkspaceProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,15 @@ export function WorkspaceProvider({children}) {

const hasOpenTabs = (forWs)=>{
const wsConfig = config.find((i)=>i.workspace == forWs);
// If enableOnNoTabs is set and it is true then no need to check for tabs.
if (wsConfig?.enableOnNoTabs) {
return true;
}

if(wsConfig) {
return Boolean(pgAdmin.Browser.docker[wsConfig.docker]?.layoutObj?.getLayout()?.dockbox?.children?.[0]?.tabs?.length);
}
return false;
return true;
};

const getLayoutObj = (forWs)=>{
Expand Down
171 changes: 90 additions & 81 deletions web/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1559,13 +1559,13 @@ __metadata:
linkType: hard

"@codemirror/view@npm:^6.0.0, @codemirror/view@npm:^6.17.0, @codemirror/view@npm:^6.23.0, @codemirror/view@npm:^6.27.0, @codemirror/view@npm:^6.35.0":
version: 6.36.2
resolution: "@codemirror/view@npm:6.36.2"
version: 6.36.3
resolution: "@codemirror/view@npm:6.36.3"
dependencies:
"@codemirror/state": ^6.5.0
style-mod: ^4.1.0
w3c-keyname: ^2.2.4
checksum: a58c64b623ddc65bb864917297f3b37f8e95280deec442024c43a9513b26352c829665c5d98e4dfcae104e8ecdfdb774d94a395a29da98a919c83482d2c14152
checksum: be7b31583dbc55c10c4cd05ee94a0348c5d681fa3cb50cae17e2e7fbeaf01f3624249b027c11f1eb157b07fca8d6b4ca77d84ed1da4960c095e0a59653f6719e
languageName: node
linkType: hard

Expand Down Expand Up @@ -2253,6 +2253,13 @@ __metadata:
languageName: node
linkType: hard

"@kurkle/color@npm:^0.3.0":
version: 0.3.4
resolution: "@kurkle/color@npm:0.3.4"
checksum: b95c6abe0241ba1745b3c84de3b464296b95ce577110b54f46e6c6dcc9a0966491533df43812bd6c66f92cf818e385d1390b280cd5851d4afb52fc37f8a6c0b9
languageName: node
linkType: hard

"@lezer/common@npm:^1.0.0, @lezer/common@npm:^1.1.0, @lezer/common@npm:^1.2.0":
version: 1.2.3
resolution: "@lezer/common@npm:1.2.3"
Expand Down Expand Up @@ -3050,14 +3057,14 @@ __metadata:
languageName: node
linkType: hard

"@tanstack/react-query@npm:5.66.4":
version: 5.66.4
resolution: "@tanstack/react-query@npm:5.66.4"
"@tanstack/react-query@npm:5.66.5":
version: 5.66.5
resolution: "@tanstack/react-query@npm:5.66.5"
dependencies:
"@tanstack/query-core": 5.66.4
peerDependencies:
react: ^18 || ^19
checksum: aba76168b4ff8da02c78057b8e046723b0f60648f5bb854943a99cf07c3e98ef445f30d9a9c9f56bc018cb002109b221f9d8a80055f3463f4de0af2a589f3e0b
checksum: 8a1a905fbb4286632b988aa5ca7ac520f9812d4af2f666019ed9b4338506428103b85225616fed242e606c3558d8f71a12481d123f76d19a192f34bba231999e
languageName: node
linkType: hard

Expand Down Expand Up @@ -3453,15 +3460,15 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/eslint-plugin@npm:8.24.0"
"@typescript-eslint/eslint-plugin@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/eslint-plugin@npm:8.24.1"
dependencies:
"@eslint-community/regexpp": ^4.10.0
"@typescript-eslint/scope-manager": 8.24.0
"@typescript-eslint/type-utils": 8.24.0
"@typescript-eslint/utils": 8.24.0
"@typescript-eslint/visitor-keys": 8.24.0
"@typescript-eslint/scope-manager": 8.24.1
"@typescript-eslint/type-utils": 8.24.1
"@typescript-eslint/utils": 8.24.1
"@typescript-eslint/visitor-keys": 8.24.1
graphemer: ^1.4.0
ignore: ^5.3.1
natural-compare: ^1.4.0
Expand All @@ -3470,64 +3477,64 @@ __metadata:
"@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 761440236a38d51825ac22ab84fc2d054b307a1f2b7ad308bd12da2420f6d5844fdc4f44c0cd9dd30087ca2c7ecfca90b75744f119a1049b2e66533598a51900
checksum: 9627eb794d5e1ab57c8b201d9e658d24ee9b1f09f39f3d62cc3048a6373b5c8b2fe98c3a15365c0c5ce359fe15ed988a307be171083f317492ee9892683e3495
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/parser@npm:8.24.0"
"@typescript-eslint/parser@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/parser@npm:8.24.1"
dependencies:
"@typescript-eslint/scope-manager": 8.24.0
"@typescript-eslint/types": 8.24.0
"@typescript-eslint/typescript-estree": 8.24.0
"@typescript-eslint/visitor-keys": 8.24.0
"@typescript-eslint/scope-manager": 8.24.1
"@typescript-eslint/types": 8.24.1
"@typescript-eslint/typescript-estree": 8.24.1
"@typescript-eslint/visitor-keys": 8.24.1
debug: ^4.3.4
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: e9f53b152baaae042df3ca6faa55279d8219e03234688b96516bbe617ecb6fa037f137fb5b37417a5e7e67e388fc7d89c0333767b493c5f591f8e99bce9039d6
checksum: 859b78630ae8424bc9ba820d2ad7efa25cb0b258b4cad15b21eb1bea69fef438d041c53f25355f164cdd02ccdb7537e9ef9007e689c83d4768eef50d61cd1f20
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/scope-manager@npm:8.24.0"
"@typescript-eslint/scope-manager@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/scope-manager@npm:8.24.1"
dependencies:
"@typescript-eslint/types": 8.24.0
"@typescript-eslint/visitor-keys": 8.24.0
checksum: 1b24d972847458dd4b031e66006c534ae176d60806d3265f0d2a5686bdc3dec9c0353ea94373a855eaf7e9306304eef939781eda1a9b826633c835bceb0fce10
"@typescript-eslint/types": 8.24.1
"@typescript-eslint/visitor-keys": 8.24.1
checksum: 193c072cd068285151239dab593876a49ee92290dee6a7f60a187eca062c38675c27c522a5c63847383b7103749f9bb72f602fb5c21081bf61b9d4ef6f72609d
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/type-utils@npm:8.24.0"
"@typescript-eslint/type-utils@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/type-utils@npm:8.24.1"
dependencies:
"@typescript-eslint/typescript-estree": 8.24.0
"@typescript-eslint/utils": 8.24.0
"@typescript-eslint/typescript-estree": 8.24.1
"@typescript-eslint/utils": 8.24.1
debug: ^4.3.4
ts-api-utils: ^2.0.1
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 81322b0ebc0c7ce1396732497403c3c0f18b8d5f74b697d9288becfd414ac3bf8f7886191f82ef32772ce60a382c793142870a17364f013f9344b1cf24fd6a65
checksum: 18a44318906445628a5743da74d97ffef6717225a9e691ab3e8bb9d1e3ac81605d419d18a73a249534f10acdf3c22fa996c46e0d96854684f368e44bb8ff1d9a
languageName: node
linkType: hard

"@typescript-eslint/types@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/types@npm:8.24.0"
checksum: 31548119787c7429107a0061f5c82a2ae2b29905fbb5e867f621cea0c00fbe35b3c5ee5961936127d11226461e2248b09c8467959c8c387caa72f15d21293814
"@typescript-eslint/types@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/types@npm:8.24.1"
checksum: 6304b153dee2ef23fd4e1ac82051a94d5024ca011c797c04b0ea3a2ad835dd01945bf6aaae83bd50de90d04b30b86ad70bb16c83e9ff316edb4b0f66834bb5fa
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/typescript-estree@npm:8.24.0"
"@typescript-eslint/typescript-estree@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/typescript-estree@npm:8.24.1"
dependencies:
"@typescript-eslint/types": 8.24.0
"@typescript-eslint/visitor-keys": 8.24.0
"@typescript-eslint/types": 8.24.1
"@typescript-eslint/visitor-keys": 8.24.1
debug: ^4.3.4
fast-glob: ^3.3.2
is-glob: ^4.0.3
Expand All @@ -3536,32 +3543,32 @@ __metadata:
ts-api-utils: ^2.0.1
peerDependencies:
typescript: ">=4.8.4 <5.8.0"
checksum: 7415a35edc898f25443b9bbb8ec100cff54f8eafe6379348213e8958aa593981298252730b912da2a99c24e4784f23b4e32c6f56420857975bcb076e13467e00
checksum: 9a4055ebed660a124d3098274946f96f2976cabed4b60ba446ff247ee4cc8bc983be7a615f4cba68d1ac02129119f7c4ebe19751aeca0fbbfcecd7a2606d7aec
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:8.24.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0":
version: 8.24.0
resolution: "@typescript-eslint/utils@npm:8.24.0"
"@typescript-eslint/utils@npm:8.24.1, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0":
version: 8.24.1
resolution: "@typescript-eslint/utils@npm:8.24.1"
dependencies:
"@eslint-community/eslint-utils": ^4.4.0
"@typescript-eslint/scope-manager": 8.24.0
"@typescript-eslint/types": 8.24.0
"@typescript-eslint/typescript-estree": 8.24.0
"@typescript-eslint/scope-manager": 8.24.1
"@typescript-eslint/types": 8.24.1
"@typescript-eslint/typescript-estree": 8.24.1
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: de2897d1d2d878b86289d039a4f2b57c8f6ef88b1b48946697ca6422b10041a78f989cfa09b9b73106963bf1ed12a5081e14c3cfb6bb1b537fc8cd2b726ab73e
checksum: 87b62de9d03677eff4dfcb57e8d88962af904ce726942b9fe77942907498ef5c4d1ed0485d3427ae87ae45d4dbe1506ab03867c9e7fa7ea65404fc8d7a9bc7fe
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:8.24.0":
version: 8.24.0
resolution: "@typescript-eslint/visitor-keys@npm:8.24.0"
"@typescript-eslint/visitor-keys@npm:8.24.1":
version: 8.24.1
resolution: "@typescript-eslint/visitor-keys@npm:8.24.1"
dependencies:
"@typescript-eslint/types": 8.24.0
"@typescript-eslint/types": 8.24.1
eslint-visitor-keys: ^4.2.0
checksum: c07ef21d5de644ca34802f95dc742cde75422210d80456e1e9d6f4a6cee21a1332af3bc90e62f2ca4f9e929eec9f0a25fda2043f2bdeb0acd3feab206f2a73af
checksum: 82b91cf090e374a1cb4c985b30f4dc04a58e737c61b1dd627cd027978fcb0d55cf3f264f45ac7e0b332e22cd0613977aded594935606b5f41f7a1b984263e90e
languageName: node
linkType: hard

Expand Down Expand Up @@ -5220,10 +5227,12 @@ __metadata:
languageName: node
linkType: hard

"chart.js@npm:^3.0.0":
version: 3.9.1
resolution: "chart.js@npm:3.9.1"
checksum: 9ab0c0ac01215af0b3f020f2e313030fd6e347b48ed17d5484ee9c4e8ead45e78ae71bea16c397621c386b409ce0b14bf17f9f6c2492cd15b56c0f433efdfff6
"chart.js@npm:^4.4.7":
version: 4.4.7
resolution: "chart.js@npm:4.4.7"
dependencies:
"@kurkle/color": ^0.3.0
checksum: c0f0e9efd935b21a37286d1544046277bb607c08fb3e012b4c501104187a42a0c6541c8d7575782c7f1f3e0a91537b7d6a2eb9cd57122eb176609493838a9543
languageName: node
linkType: hard

Expand Down Expand Up @@ -6610,9 +6619,9 @@ __metadata:
linkType: hard

"electron-to-chromium@npm:^1.5.73":
version: 1.5.101
resolution: "electron-to-chromium@npm:1.5.101"
checksum: e8358a7c5638514b8f9483ae45cc33dbbad60ed103a35cf179a823483abf28a75195086de1ec942fa33473156839605e642979ac8adbe6c19da3c3b31acba9cc
version: 1.5.102
resolution: "electron-to-chromium@npm:1.5.102"
checksum: b16781303a09a7dcbede15cba4ed47e34c867070575e4b2045449fd5627395dcd6dee32028f7b9fc92081eac636771c8accf8c078fcbc0fed79dc14125ec0f7f
languageName: node
linkType: hard

Expand Down Expand Up @@ -7615,9 +7624,9 @@ __metadata:
linkType: hard

"flatted@npm:^3.2.9":
version: 3.3.2
resolution: "flatted@npm:3.3.2"
checksum: ac3c159742e01d0e860a861164bcfd35bb567ccbebb8a0dd041e61cf3c64a435b917dd1e7ed1c380c2ebca85735fb16644485ec33665bc6aafc3b316aa1eed44
version: 3.3.3
resolution: "flatted@npm:3.3.3"
checksum: 8c96c02fbeadcf4e8ffd0fa24983241e27698b0781295622591fc13585e2f226609d95e422bcf2ef044146ffacb6b68b1f20871454eddf75ab3caa6ee5f4a1fe
languageName: node
linkType: hard

Expand Down Expand Up @@ -9996,8 +10005,8 @@ __metadata:
linkType: hard

"jsoneditor@npm:^10.1.2":
version: 10.1.2
resolution: "jsoneditor@npm:10.1.2"
version: 10.1.3
resolution: "jsoneditor@npm:10.1.3"
dependencies:
ace-builds: ^1.36.2
ajv: ^6.12.6
Expand All @@ -10007,7 +10016,7 @@ __metadata:
jsonrepair: ^3.8.1
picomodal: ^3.0.0
vanilla-picker: ^2.12.3
checksum: d2999019c4cb31e42397244e1027c384157e91f72c101517534b80ceb0efdfb3beae5e42ff940ef34b6cd317c1283370dd6898022afd362da9b14683501031e5
checksum: 7449e18769b003647956ec0b5ee4512280456c83ed9a58faddd114d0f4a5ef025ebae662a37a233f678746f0e6dc5afb0af27626070ebf46b8027c190c1114f5
languageName: node
linkType: hard

Expand Down Expand Up @@ -11023,9 +11032,9 @@ __metadata:
linkType: hard

"mrmime@npm:^2.0.0":
version: 2.0.0
resolution: "mrmime@npm:2.0.0"
checksum: f6fe11ec667c3d96f1ce5fd41184ed491d5f0a5f4045e82446a471ccda5f84c7f7610dff61d378b73d964f73a320bd7f89788f9e6b9403e32cc4be28ba99f569
version: 2.0.1
resolution: "mrmime@npm:2.0.1"
checksum: 455a555009edb2ed6e587e0fcb5e41fcbf8f1dcca28242a57d054f02204ab198bed93ba9de75db06bd3447e8603bc74e10a22440ba99431fc4a751435fba35bf
languageName: node
linkType: hard

Expand Down Expand Up @@ -13640,7 +13649,7 @@ __metadata:
"@simonwep/pickr": ^1.5.1
"@svgr/webpack": ^8.1.0
"@szhsin/react-menu": ^4.2.2
"@tanstack/react-query": 5.66.4
"@tanstack/react-query": 5.66.5
"@tanstack/react-table": ^8.16.0
"@tanstack/react-virtual": ^3.12.0
"@testing-library/dom": 10.4.0
Expand Down Expand Up @@ -13668,7 +13677,7 @@ __metadata:
browserfs: ^1.4.3
browserify: ^17.0.0
buffer: ^6.0.3
chart.js: ^3.0.0
chart.js: ^4.4.7
chartjs-plugin-zoom: ^2.0.1
codemirror: ^6.0.1
convert-units: ^2.3.4
Expand Down Expand Up @@ -15324,16 +15333,16 @@ __metadata:
linkType: hard

"typescript-eslint@npm:^8.8.0":
version: 8.24.0
resolution: "typescript-eslint@npm:8.24.0"
version: 8.24.1
resolution: "typescript-eslint@npm:8.24.1"
dependencies:
"@typescript-eslint/eslint-plugin": 8.24.0
"@typescript-eslint/parser": 8.24.0
"@typescript-eslint/utils": 8.24.0
"@typescript-eslint/eslint-plugin": 8.24.1
"@typescript-eslint/parser": 8.24.1
"@typescript-eslint/utils": 8.24.1
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 96587b657e0f73e2bdbf0cde504e7a020511be21785397fddff74fb00795c3e36d79b72d5df091430db4b18aefe1e507998d9f456d070b1b7ea86c3da2273bec
checksum: afb7c5004c7751945c7e59f33dbb26618da435b90fc757b71469e3b4209001a42840e88dfd5174557f5f29aa4d1e3c079dd3c8bb8bca91cd68c540add7ca584e
languageName: node
linkType: hard

Expand Down

0 comments on commit 53077b6

Please sign in to comment.