]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix cephfs forms validations 53831/head
authorNizamudeen A <nia@redhat.com>
Fri, 22 Sep 2023 12:37:39 +0000 (18:07 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 5 Oct 2023 04:01:24 +0000 (09:31 +0530)
commit3460e83c26fed55f68141cb1caecf6c172883295
tree66c4c99b430edbc17c245ea751fd5bf16975eff3
parent247383c0425b93f0f0b3b84f9fdfae7a20a26260
mgr/dashboard: fix cephfs forms validations

1. CephFS Edit Form didnt had any validation for name eventhough the
   create had. So reused the Create form to display the Edit as well

2. Add Name Validations to Subvoume and Subvolume group forms

3. Removed the datePipe from the cephfs list template since we are using
   the relativeDate.

Fixes: https://tracker.ceph.com/issues/62939
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit cd617a3bd28b0aedd03505314509f0c00391bc39)
src/pybind/mgr/dashboard/frontend/cypress/e2e/filesystems/filesystems.e2e-spec.feature
src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-form/cephfs-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-form/cephfs-subvolume-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolume-form/cephfs-subvolume-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-subvolumegroup-form/cephfs-subvolumegroup-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/services/task-message.service.ts