console
console copied to clipboard
Expose ExternalLink in dynamic-plugin-sdk
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kyoto
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~frontend/OWNERS~~ [kyoto]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
@kyoto: all tests passed!
Full PR test history. Your PR dashboard.
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.
This might be a good candidate for @openshift-console/plugin-shared
since it's a simple, well-contained component. @vojtechszocs @christianvogt @rawagner opinion?
Yes, we should put this into @openshift-console/plugin-shared
I also think it is a good time to reimplement it using PF's button and change the API of the component. Currently we have
type ExternalLinkProps = {
href: string;
text?: React.ReactNode;
additionalClassName?: string;
dataTestID?: string;
stopPropagation?: boolean;
};
and I would say it should be
type ExternalLinkProps = {
href: string;
children: React.ReactNode
className?: string;
dataTestID?: string;
onClick?: ButtonProps['onClick'];
};
@kyoto: PR needs rebase.
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.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closed this PR.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen
. Mark the issue as fresh by commenting/remove-lifecycle rotten
. Exclude this issue from closing again by commenting/lifecycle frozen
./close
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.