New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mgr/dashboard: Bootstrapify #35954
mgr/dashboard: Bootstrapify #35954
Conversation
The tests are failing because of unresolved paths for some pictures in the SCSS. Locally this just works fine. Anyone any ideas? |
src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_icons.scss
Outdated
Show resolved
Hide resolved
jenkins test dashboard backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't check every page, but cd-col-form-label is breaking the pages I tested.
Please check the other pages and maybe revert this.
I notice lots of colors have change throughout the dashboard.
It would be nice if you could show some screenshots of the bigger changes so everyone can comment on those.
for example the "No data to display" warning is now blue
And the selection row is now darker, and the warning text is brighter (contrast is not the best).
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.scss
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.scss
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/styles/bootstrap-extends.scss
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/styles/defaults/_bootstrap-defaults.scss
Outdated
Show resolved
Hide resolved
...nd/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.html
Outdated
Show resolved
Hide resolved
...nd/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.html
Outdated
Show resolved
Hide resolved
jenkins test make check |
jenkins test dashboard |
jenkins test dashboard backend |
jenkins test make check |
jenkins test dashboard |
Here are the screenshots desired by @tspmelo On the left side you see the new dashboard and on the right side the old dashboard. If you desire screenshots of other views please say which one you desire. |
...ontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.html
Outdated
Show resolved
Hide resolved
...ontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.html
Outdated
Show resolved
Hide resolved
...ontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.html
Outdated
Show resolved
Hide resolved
...ontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.html
Outdated
Show resolved
Hide resolved
...ontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.html
Outdated
Show resolved
Hide resolved
...ard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
Show resolved
Hide resolved
...board/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.html
Outdated
Show resolved
Hide resolved
.../mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.html
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html
Outdated
Show resolved
Hide resolved
...eph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.html
Outdated
Show resolved
Hide resolved
@tspmelo Once again I squashed your recommendations in your review commit. |
...ard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
Outdated
Show resolved
Hide resolved
...ard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
Outdated
Show resolved
Hide resolved
...ard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
Outdated
Show resolved
Hide resolved
...ard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html
Outdated
Show resolved
Hide resolved
IMO the selected table rows color is too dark, the old one looks better, maybe something between those colors will be a good solution. |
...d/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.html
Outdated
Show resolved
Hide resolved
@SchoolGuy Can you squash those commits that are not worth keeping apart? |
@alfonsomthd Sure thing. I will do it later in the day... |
Commits squashed, as per request of @alfonsomthd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commit mgr/dashboard: SCSS cleanup
is missing the Fixes: https://tracker.ceph.com/issues/46382
.
Please replace the message of commit mgr/dashboard: SCSS: Replaced usage of base class with specific
with:
The SCSS class cd-col-form-label is the specific and correct class to use.
Previously sometimes the class col-form-label was used.
Fixes: https://tracker.ceph.com/issues/46382
Signed-off-by: Enno Gotthold <egotthold@suse.de>
@tspmelo I force pushed and added the |
Removes unnecessary variables and uses already existing bootstrap variables instead. Also we removed uneffective SCSS, as well as moved the Navtabs SCSS code into a module Bootstrap style Last but not least we cleaned up toast & tooltip SCSS. Fixes: https://tracker.ceph.com/issues/46382 Signed-off-by: Sebastian Krah <skrah@suse.com> Signed-off-by: Enno Gotthold <egotthold@suse.de>
The SCSS class cd-col-form-label is the specific and correct class to use. Previously sometimes the class col-form-label was used. Fixes: https://tracker.ceph.com/issues/46382 Signed-off-by: Enno Gotthold <egotthold@suse.de>
Fixes: https://tracker.ceph.com/issues/46382 Signed-off-by: Enno Gotthold <egotthold@suse.de>
… have been changed by the mentioned PR. Signed-off-by: Volker Theile <vtheile@suse.com>
Rename some color names that have been changed by the mentioned PR. Signed-off-by: Volker Theile <vtheile@suse.com>
Fix regression introduced by ceph#35954. Rename some color names that have been changed by the mentioned PR. Signed-off-by: Volker Theile <vtheile@suse.com>
Fix regression introduced by ceph/ceph#35954. Rename some color names that have been changed by the mentioned PR. Signed-off-by: Volker Theile <vtheile@suse.com>
Fix regression introduced by ceph#35954. Rename some color names that have been changed by the mentioned PR. Signed-off-by: Volker Theile <vtheile@suse.com>
This PR is directly based on #35501. Before that is merged, this one cannot be merged.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox