From 9f53a99b322055470192d893ddf1785fa528c352 Mon Sep 17 00:00:00 2001 From: mathieuRA Date: Mon, 22 May 2023 09:50:29 +0200 Subject: [PATCH 1/4] fix(xo-web/home/pool): switch alert support from 'danger' to 'warning' --- packages/xo-web/src/xo-app/home/pool-item.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/xo-web/src/xo-app/home/pool-item.js b/packages/xo-web/src/xo-app/home/pool-item.js index 0a0a6f332f9..5afe7ecc01d 100644 --- a/packages/xo-web/src/xo-app/home/pool-item.js +++ b/packages/xo-web/src/xo-app/home/pool-item.js @@ -110,9 +110,8 @@ export default class PoolItem extends Component { if (isAdmin && this._isXcpngPool()) { const { icon, supportLevel } = poolLicenseInfo if (supportLevel !== 'total') { - const level = supportLevel === 'partial' || getXoaPlan() === SOURCES ? 'warning' : 'danger' alerts.push({ - level, + level: 'warning', render: (

{icon()} {this._getPoolLicenseIconTooltip()} From 2d5c90f9e890eddde81509f7ff83fedb84b527ed Mon Sep 17 00:00:00 2001 From: mathieuRA Date: Mon, 22 May 2023 09:55:19 +0200 Subject: [PATCH 2/4] update color of icon --- packages/xo-web/src/xo-app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xo-web/src/xo-app/index.js b/packages/xo-web/src/xo-app/index.js index 35e38cc2176..fa6b23a45eb 100644 --- a/packages/xo-web/src/xo-app/index.js +++ b/packages/xo-web/src/xo-app/index.js @@ -103,7 +103,7 @@ export const ICON_POOL_LICENSE = { ), any: () => ( - + ), } From ab18d080fd665ce238b48db3e28831c12e0542f0 Mon Sep 17 00:00:00 2001 From: mathieuRA Date: Mon, 22 May 2023 10:02:24 +0200 Subject: [PATCH 3/4] changelog.md --- CHANGELOG.unreleased.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 1b4fc9e53e7..7e69b2f763d 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -9,6 +9,7 @@ - [Proxy] Make proxy address editable (PR [#6816](https://github.com/vatesfr/xen-orchestra/pull/6816)) - [Home/Host] Displays a warning for hosts with HVM disabled [#6823](https://github.com/vatesfr/xen-orchestra/issues/6823) (PR [#6834](https://github.com/vatesfr/xen-orchestra/pull/6834)) +- [Home/Pool] `No XCP-ng Pro support enabled on this pool` alert is considered as warning instead of an error (PR [#6849](https://github.com/vatesfr/xen-orchestra/pull/6849)) ### Bug fixes From 0cfe1aee7431d3b99bc8824aed142f4f1c577872 Mon Sep 17 00:00:00 2001 From: Mathieu <70369997+MathieuRA@users.noreply.github.com> Date: Mon, 12 Jun 2023 11:07:06 +0200 Subject: [PATCH 4/4] Update CHANGELOG.unreleased.md Co-authored-by: rbarhtaoui --- CHANGELOG.unreleased.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 7e69b2f763d..be8497edc71 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -9,7 +9,7 @@ - [Proxy] Make proxy address editable (PR [#6816](https://github.com/vatesfr/xen-orchestra/pull/6816)) - [Home/Host] Displays a warning for hosts with HVM disabled [#6823](https://github.com/vatesfr/xen-orchestra/issues/6823) (PR [#6834](https://github.com/vatesfr/xen-orchestra/pull/6834)) -- [Home/Pool] `No XCP-ng Pro support enabled on this pool` alert is considered as warning instead of an error (PR [#6849](https://github.com/vatesfr/xen-orchestra/pull/6849)) +- [Home/Pool] `No XCP-ng Pro support enabled on this pool` alert is considered a warning instead of an error (PR [#6849](https://github.com/vatesfr/xen-orchestra/pull/6849)) ### Bug fixes