-
Notifications
You must be signed in to change notification settings - Fork 241
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
fixes i18n, new Cluster Appearance UX #10677
Conversation
Signed-off-by: scures <scurescu@suse.com>
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.
- User cannot customise appearance if the cluster name is less than three characters.
- If a user only adds a cluster comment and not a custom badge .. a badge background colour is shown in the NameNsDescription component's example (but correctly not in the modal example or in the side nav when the cluster is created)
- If a user adds a badge background colour the modal example sets the whole background as that colour instead of just the lower part
@richard-cox I introduce the new behavior and layout.
Screenshots |
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.
- the new modal layout means the images in the pr description are out of date
- When
Use a custom badge
isn't selected there's no preview of the badge inRANCHER HEADER
. Selecting it will show what the badge is (before icon text is entered) - Selecting
Use a custom badge
removes the existing text in theSIDE NAVIGATION
preview so it's just an empty square. This contradicts reality, if the user saves changes viaApply
the side menu icon remains with the existing abbreviation. - When
Use a custom badge
is unselected andBadge background color
is selected, theSIDE NAVIGATION
preview shows a bar at the bottom. This contradicts reality, as the bottom bar isn't shown in the side menu - Setting the
Badge background color
to white results in the bottom of theSIDE NAVIGATION
preview and side menu button not showing - The Cluster Manager --> Cluster -->
Cluster Appearance
component needs to be visible on cluster edit. That is where users set it originally and where they will naturally return to change it. In addition users will not be able to get to the cluster dashboard when the cluster is not up. Not sure where we got to with this one?
@richard-cox I updated the PR's description to reflect the new direction and addressed the changes from the last PR plus some other improvements. |
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.
Getting close!
- For the local cluster clicking on
Add Cluster Badge
showsLCL
as the side navigation icon instead of the bull head. The header icon displays this fine. Clicking onUser custom badge
then changes the side navigation icon to the bull, but it's black (in dark mode) instead of blue. Badge background color
text is duplicated (checkbox label and in grey box). It also creates whitespace between bottom text and colour picker which makes the alignment with the two controls on the left look odd. Suggest the bottom text within the grey box is removed and the colour picker is centrally aligned within grey box.- Menu icon borders
- The Cluster Manager --> Cluster -->
Cluster Appearance
component needs to be visible on cluster edit. That is where users set it originally and where they will naturally return to change it. In addition users will not be able to get to the cluster dashboard when the cluster is not up.-
About the last comment, I cannot find it but, we talked about this previously and agreed not to have it in there, I cannot find the conversation (still looking) but I was around most fields (cluster name, etc..) not being editable and that it would be something for later to be explored.
- The name cannot be changed (it's not supported). Can you create an issue to tackle later?
-
…dge from cluster explorer
Summary
Fixes #9810
Technical notes summary
Abbreviation
andComment
settings.Areas or cases that should be tested
Areas which could experience regressions
NA
Screenshot/Video
Screenshots
Screen.Recording.2024-04-25.at.08.38.44.mov
Checklist