-
Notifications
You must be signed in to change notification settings - Fork 45
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
UI: provision volumes with labels #1979
UI: provision volumes with labels #1979
Conversation
- Allow users to add labels to provision volumes with labels Ref: #1891
- Update font-size to have only 3 different sizes per page
Hello carlito-scality,My role is to assist you with the merge of this Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
ui/src/translations/fr.json
Outdated
@@ -124,5 +123,10 @@ | |||
"add_solution_to_environment": "Ajout d'une solution à l'environnement {environment}", | |||
"version_env": "Versions", | |||
"add_solution": "Ajout de la solution", | |||
"advanced_monitoring": "Supervision Avancée" | |||
"advanced_monitoring": "Supervision Avancée", |
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.
Supervision avancée
(TBC, but I don't thing the French rules require to capitalize every word in a title, unlike the English ones)
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.
Agreed, whatever the actual rules are, consistency with other messages should prevail.
a9f69e5
to
7d1c28d
Compare
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.
I'll let @ChengYanJin review the actual React code ;)
ui/src/translations/en.json
Outdated
"advanced_monitoring": "Advanced Monitoring", | ||
"add": "Add", | ||
"labels": "Labels", | ||
"enter_label_name": "Enter label name…", |
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.
Why the ellipsis?
ui/src/translations/fr.json
Outdated
@@ -124,5 +123,10 @@ | |||
"add_solution_to_environment": "Ajout d'une solution à l'environnement {environment}", | |||
"version_env": "Versions", | |||
"add_solution": "Ajout de la solution", | |||
"advanced_monitoring": "Supervision Avancée" | |||
"advanced_monitoring": "Supervision Avancée", |
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.
Agreed, whatever the actual rules are, consistency with other messages should prevail.
#. If you click the new volume listed in the **Volume list**, | ||
you can get more information about this volume |
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.
Could be rephrased: If you click on any volume in the Volume list, you will see more information in the Volume detail view:
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: |
b16143a
to
aa2548c
Compare
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.
LGTM!
There are two UX maybe we can improve later:
- In
CreateVolume
page, we should check and warn users just in case they fill the label input but forget to click onAdd
button. - In
VolumeInformation page
the size of Label Table should change according to how many lines do we have.
@bert-e approve |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
The following reviewers are expecting changes from the author, or must review again: The following options are set: approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye carlito-scality. |
@@ -212,6 +212,7 @@ export function* createVolumes({ payload }) { | |||
kind: 'Volume', | |||
metadata: { | |||
name: newVolume.name, | |||
labels: newVolume.labels, |
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.
Oh no....... I missed this, labels were not supposed to go there, but in spec.template.metadata.labels
:(
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.
Ha indeed, otherwise we're labeling the volume itself and not the underlying PV.
Component:UI
Context:
labelSelector
to pick the 'right' PersistentVolume.Summary:
Acceptance criteria:
Closes: #1891 #1977