From 2f6071074b40b0adaa531c00957d2b993569e3df Mon Sep 17 00:00:00 2001 From: Afreen Date: Mon, 25 Mar 2024 14:09:08 +0530 Subject: [PATCH] mgr/dashboard:Update encryption and tags in bucket form Fixes https://tracker.ceph.com/issues/65110 - renamed Security to Encryption - aligned security fieldset with rest of the form using `cd-help-text` and aligning it with object locking in UX - aligned security fieldset top use `cd-help-text` - changed help text of Tags Signed-off-by: Afreen (cherry picked from commit 96b21d7cf5bb698102dc0cfce6fef05204b82d2e) --- .../frontend/cypress/e2e/rgw/buckets.po.ts | 1 - .../rgw-bucket-form.component.html | 44 +++++++++---------- 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/buckets.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/buckets.po.ts index 8d87826da7798..91f852024ffbd 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/buckets.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/buckets.po.ts @@ -51,7 +51,6 @@ export class BucketsPageHelper extends PageHelper { @PageHelper.restrictTo(pages.create.url) checkForDefaultEncryption() { - cy.get("cd-helper[aria-label='toggle encryption helper']").click(); cy.get("a[aria-label='click here']").click(); cy.get('cd-modal').within(() => { cy.get('input[id=s3Enabled]').should('be.checked'); diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html index 74b4915cd9c92..551aad7ac5582 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html @@ -280,30 +280,30 @@ - +
Security + i18n>Encryption
-
-
- - - - Enables encryption for the objects in the bucket. - To enable encryption on a bucket you need to set the configuration values for SSE-S3 or SSE-KMS. - To set the configuration values Click here - -
+ +
+ + + Enables encryption for the objects in the bucket. + To enable encryption on a bucket you need to set the configuration values for SSE-S3 or SSE-KMS. + To set the configuration values Click here +
@@ -391,7 +391,7 @@
Tags - Tagging gives you a way to categorize storage + Tagging provides a way to categorize storage -- 2.39.5