Skip to content
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

Bug 1873623: Revert of add label changes in #5998 #6440

Merged

Conversation

andrewballantyne
Copy link
Contributor

@andrewballantyne andrewballantyne commented Aug 25, 2020

Revert of partial changes in #5998 (returning the add labels).

https://issues.redhat.com/browse/ODC-4646

Screenshots

Screen Shot 2020-08-28 at 3 09 36 PM
Screen Shot 2020-08-28 at 3 11 32 PM
Screen Shot 2020-08-28 at 3 11 39 PM
Screen Shot 2020-08-28 at 3 12 36 PM
Screen Shot 2020-08-28 at 3 13 33 PM
Screen Shot 2020-08-28 at 3 13 46 PM
Screen Shot 2020-08-28 at 3 14 34 PM
Screen Shot 2020-08-28 at 3 15 17 PM
Screen Shot 2020-08-28 at 3 15 38 PM
Screen Shot 2020-08-28 at 3 16 05 PM
Screen Shot 2020-08-28 at 3 16 41 PM

FYI @bgliwa01 / @beaumorley

/cc @debsmita1

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. component/core Related to console core functionality component/dev-console Related to dev-console component/knative Related to knative-plugin component/monitoring Related to monitoring component/shared Related to console-shared labels Aug 25, 2020
@andrewballantyne
Copy link
Contributor Author

/auto-cc

@@ -20,7 +20,7 @@ const MultiColumnFieldFooter: React.FC<MultiColumnFieldHeader> = ({
icon={<PlusCircleIcon />}
isInline
>
{addLabel || 'Add'}
{addLabel || 'Add values'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about Add value ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted the change where you removed this value. I didn't customize the text.

@@ -104,6 +105,7 @@ export const CommandRequestTypeForm: React.FC<RequestTypeFormProps> = ({ probeTy
<TextColumnField
name={`healthChecks.${probeType}.data.exec.command`}
label="Command"
addLabel="Add command"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we go with the first letter of every word in caps or the first letter of the text in caps? better to follow a single pattern

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, same thing - just a revert of what it was before you removed it.

@@ -87,6 +87,7 @@ export const ArrayParam: React.FC<ParameterProps> = (props) => {
{description}
</p>
<MultiColumnFieldFooter
addLabel="Add another value"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about add value ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here, the value before it was removed.

Copy link
Contributor Author

@andrewballantyne andrewballantyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really disagree with you @debsmita1 but I would like this PR to be just the revert of what it was... not a revert and customize. It'll confuse the intent.

We could log a followup ticket to customize the text if we think it's important enough, but I want the change log for this change to be "undo" in the purest of forms it can be.

@@ -20,7 +20,7 @@ const MultiColumnFieldFooter: React.FC<MultiColumnFieldHeader> = ({
icon={<PlusCircleIcon />}
isInline
>
{addLabel || 'Add'}
{addLabel || 'Add values'}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted the change where you removed this value. I didn't customize the text.

@@ -104,6 +105,7 @@ export const CommandRequestTypeForm: React.FC<RequestTypeFormProps> = ({ probeTy
<TextColumnField
name={`healthChecks.${probeType}.data.exec.command`}
label="Command"
addLabel="Add command"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, same thing - just a revert of what it was before you removed it.

@@ -87,6 +87,7 @@ export const ArrayParam: React.FC<ParameterProps> = (props) => {
{description}
</p>
<MultiColumnFieldFooter
addLabel="Add another value"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here, the value before it was removed.

@andrewballantyne andrewballantyne changed the title [WIP] Revert of add label changes in #5998 Bug 1873623: Revert of add label changes in #5998 Aug 28, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 28, 2020
@openshift-ci-robot
Copy link
Contributor

@andrewballantyne: This pull request references Bugzilla bug 1873623, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.0) matches configured target release for branch (4.6.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

In response to this:

Bug 1873623: Revert of add label changes in #5998

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Aug 28, 2020
@andrewballantyne
Copy link
Contributor Author

@debsmita1 We have a follow up ticket to cleanup the labels.
https://issues.redhat.com/browse/ODC-4700

@debsmita1
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 2, 2020
@andrewballantyne
Copy link
Contributor Author

/assign @rohitkrai03 @christianvogt

Copy link
Contributor

@rohitkrai03 rohitkrai03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewballantyne, debsmita1, rohitkrai03

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 2, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 3d0c33e into openshift:master Sep 2, 2020
@openshift-ci-robot
Copy link
Contributor

@andrewballantyne: All pull requests linked via external trackers have merged:

Bugzilla bug 1873623 has been moved to the MODIFIED state.

In response to this:

Bug 1873623: Revert of add label changes in #5998

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@spadgett spadgett added this to the v4.6 milestone Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/core Related to console core functionality component/dev-console Related to dev-console component/knative Related to knative-plugin component/monitoring Related to monitoring component/shared Related to console-shared lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants