]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: add helper text to bucket form > policy and other spacing fixes 67815/head
authorNaman Munet <naman.munet@ibm.com>
Mon, 16 Mar 2026 13:14:46 +0000 (18:44 +0530)
committerNaman Munet <naman.munet@ibm.com>
Wed, 18 Mar 2026 05:33:56 +0000 (11:03 +0530)
Fixes: https://tracker.ceph.com/issues/75525
Signed-off-by: Naman Munet <naman.munet@ibm.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-notification-list/rgw-bucket-notification-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-tiering-form/rgw-bucket-tiering-form.component.html

index 4106254cae84788e41579b86c4a0aecc58f0d548..078414833b6d6ca559a83ef5e06edc675a932c93 100644 (file)
 
     <!-- Accounts -->
     @if(accounts.length && accountUsers.length > 0){
-      <cds-checkbox formControlName="isAccountOwner"
-                    i18n>Select account user
-      </cds-checkbox>
+      <div class="form-item">
+        <cds-checkbox formControlName="isAccountOwner"
+                      i18n>Select account user
+        </cds-checkbox>
+      </div>
     }
 
     @if (bucketForm.get('isAccountOwner').value) {
         <cds-textarea-label for="id"
                             [invalid]="!bucketForm.controls.bucket_policy.valid && (bucketForm.controls.bucket_policy.dirty)"
                             [invalidText]="bucketPolicyError"
+                            helperText="Define access permissions for this bucket using an S3-compatible JSON policy. This controls who can access the bucket and what actions they can perform."
+                            i18n-helperText
                             i18n>Bucket Policy
           <textarea cdsTextArea
                     class="textarea-field"
index 239b3f36161f021bceea957c8040ca6acf32f0c5..340f8cb4af7c55584b52f4eeea4daadd309a269a 100644 (file)
@@ -75,7 +75,7 @@ export class RgwBucketNotificationListComponent extends ListWithDetails implemen
       },
       {
         name: $localize`Destination`,
-        prop: 'Destination',
+        prop: 'Topic',
         flexGrow: 1,
         cellTransformation: CellTemplate.copy
       },
index f3a41fd725318eec8461ea6c1592eff9595dc70c..9750359ddb8c845685eabb61b2b6470e5a2ffc13 100644 (file)
@@ -86,7 +86,7 @@
         </ng-template>
       </div>
       <legend class="cds--label">Choose a configuration scope</legend>
-      <div>
+      <div class="form-item">
         <cds-radio-group
           formControlName="hasPrefix"
         >
       </div>
 
       <!-- tags -->
-      <div *ngIf="tieringForm.controls.hasPrefix.value">
+      <div class="form-item"
+           *ngIf="tieringForm.controls.hasPrefix.value">
         <div class="form-group-header">Tags</div>
-        <div>All the tags must exist in the object's tag set for the rule to apply.</div>
+        <div class="cds-mb-4">All the tags must exist in the object's tag set for the rule to apply.</div>
         <ng-container formArrayName="tags"
                       *ngFor="let tags of tags.controls; index as i">
           <ng-container [formGroupName]="i">
       </div>
 
       <legend class="cds--label">Status</legend>
-      <div>
+      <div class="form-item">
         <cds-radio-group
           formControlName="status">
         <cds-radio [value]="'Enabled'"
                      i18n>Disabled </cds-radio>
         </cds-radio-group>
       </div>
-      <div class="form-item">
+      <div>
         <cds-number formControlName="days"
                     label="Number of days"
                     [min]="1"