Skip to content

Conversation

@kdoberst
Copy link
Contributor

@kdoberst kdoberst commented Jul 13, 2021

Addresses Bug 1980531

In the help menu, the "Learning Portal" and "OpenShift Blog" links are brought into the console code so they can be translated.

Note: This PR should be merged after openshift/console-operator#565 to prevent the help links from being duplicated.

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. labels Jul 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 13, 2021

@kdoberst: This pull request references Bugzilla bug 1980531, which is invalid:

  • expected the bug to target the "4.9.0" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

[WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated

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 openshift-ci bot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jul 13, 2021
@openshift-ci openshift-ci bot requested review from dtaylor113 and spadgett July 13, 2021 21:47
@openshift-ci openshift-ci bot added component/core Related to console core functionality kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated labels Jul 13, 2021
@kdoberst
Copy link
Contributor Author

/bugzilla refresh

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jul 14, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 14, 2021

@kdoberst: This pull request references Bugzilla bug 1980531, 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.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @yapei

Details

In response to this:

/bugzilla refresh

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 openshift-ci bot removed the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Jul 14, 2021
@openshift-ci openshift-ci bot requested a review from yapei July 14, 2021 14:11
@spadgett
Copy link
Member

Thanks @kdoberst

The "Learning Portal" and "OpenShift Blog" links will always show and cannot be deleted. There needs to be some investigation if it is possible for users to remove these links in the current system.

It's not currently possible for admins to remove these links. The operator will recreate them if an admin deletes them.

We should be able to add the release.openshift.io/delete: "true" annotation in the manifests in the console-operator repo to remove the existing ConsoleLink resources.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 15, 2021

@kdoberst: This pull request references Bugzilla bug 1980531, which is valid.

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

Requesting review from QA contact:
/cc @yapei

Details

In response to this:

[WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated

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.

@kdoberst
Copy link
Contributor Author

We should be able to add the release.openshift.io/delete: "true" annotation in the manifests in the console-operator repo to remove the existing ConsoleLink resources.

This has been verified and there is PR to put those changes into the console-operator.

@kdoberst kdoberst changed the title [WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated Jul 15, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 15, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 15, 2021

@kdoberst: This pull request references Bugzilla bug 1980531, which is valid.

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

Requesting review from QA contact:
/cc @yapei

Details

In response to this:

Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated

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.

Copy link
Contributor

@dtaylor113 dtaylor113 left a comment

Choose a reason for hiding this comment

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

lgtm, one issue to include new translated sections in e2e tests :-)

If the additional links are now translated we should remove the .first() here in frontend/packages/integration-tests-cypress/tests/i18n/pseudolocalization.spec.ts in order to test pseudolocalization of all help menu sections.

@kdoberst kdoberst changed the title Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated [WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated Aug 2, 2021
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 2, 2021
@kdoberst kdoberst force-pushed the Bug-1980531-Help-Menu-links-not-translated branch from 889c6b7 to e6de100 Compare August 2, 2021 21:28
@openshift-ci openshift-ci bot added kind/cypress Related to Cypress e2e integration testing approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 2, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 2, 2021

@kdoberst: This pull request references Bugzilla bug 1980531, which is valid.

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

Requesting review from QA contact:
/cc @yapei

Details

In response to this:

[WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated

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.

@kdoberst kdoberst force-pushed the Bug-1980531-Help-Menu-links-not-translated branch from e6de100 to f0e1ad1 Compare August 3, 2021 14:34
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 5, 2021
@kdoberst kdoberst force-pushed the Bug-1980531-Help-Menu-links-not-translated branch from f0e1ad1 to e60f69e Compare August 16, 2021 14:23
@openshift-ci openshift-ci bot added component/backend Related to backend component/dev-console Related to dev-console component/helm Related to helm-plugin component/knative Related to knative-plugin component/kubevirt Related to kubevirt-plugin component/monitoring Related to monitoring component/network-attachment-definition Related to network-attachment-definition component/olm Related to OLM component/pipelines Related to pipelines-plugin component/topology Related to topology labels Aug 16, 2021
florkbr and others added 3 commits August 16, 2021 09:26
These changes are adding the new endpoint that the UI can poll
in order to check for plugin changes.

https://issues.redhat.com/browse/console-2537
These changes are in response to code review comments to move the polling
registration to the top level app.jsx component.

https://issues.redhat.com/browse/console-2537
@kdoberst kdoberst force-pushed the Bug-1980531-Help-Menu-links-not-translated branch from e60f69e to 0cb0e42 Compare August 16, 2021 14:44
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 16, 2021
This was accidentally added during a rebase.  Removing because it is no longer in master
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 16, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kdoberst

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

The pull request process is described here

Details 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
Copy link
Contributor

openshift-ci bot commented Aug 16, 2021

@kdoberst: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
ci/prow/kubevirt-plugin e60f69e7d8432ab492d12da3a04ab3b9ea0a2f70 link /test kubevirt-plugin
ci/prow/frontend cbd349d link /test frontend
ci/prow/e2e-gcp-console cbd349d link /test e2e-gcp-console

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@kdoberst
Copy link
Contributor Author

There was an error rebasing. Closing this PR and opening #9811

@kdoberst kdoberst closed this Aug 16, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 16, 2021

@kdoberst: An error was encountered getting external tracker bugs for bug 1980531 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details.

Full error message. could not parse external identifier "openshift/console/pull/9385#pullrequestreview-702386658" as pull: invalid pull identifier: could not parse 9385#pullrequestreview-702386658 as number: strconv.Atoi: parsing "9385#pullrequestreview-702386658": invalid syntax

Please contact an administrator to resolve this issue, then request a bug refresh with /bugzilla refresh.

Details

In response to this:

[WIP] Bug 1980531: additionalHelpActions 'HelpMenu' ConsoleLinks not translated

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.

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/backend Related to backend component/core Related to console core functionality component/dev-console Related to dev-console component/helm Related to helm-plugin component/knative Related to knative-plugin component/kubevirt Related to kubevirt-plugin component/monitoring Related to monitoring component/network-attachment-definition Related to network-attachment-definition component/olm Related to OLM component/pipelines Related to pipelines-plugin component/topology Related to topology do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cypress Related to Cypress e2e integration testing kind/i18n Indicates issue or PR relates to internationalization or has content that needs to be translated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants