Skip to content

feat(mrc): add disable more info prop to onboarding #16383

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

chipp972
Copy link
Contributor

@chipp972 chipp972 commented Apr 3, 2025

Description

Ticket Reference: #...

Additional Information

@chipp972 chipp972 requested a review from a team as a code owner April 3, 2025 15:20
@github-actions github-actions bot added the bug Something isn't working label Apr 3, 2025
@chipp972 chipp972 force-pushed the fix/16382-onboarding-more-info-disabled branch from 4574619 to ba9b717 Compare April 3, 2025 15:20
@chipp972 chipp972 linked an issue Apr 3, 2025 that may be closed by this pull request
1 task
@chipp972 chipp972 changed the title Fix/16382 onboarding more info disabled feat(mrc): onboarding more info disabled Apr 3, 2025
@chipp972 chipp972 changed the title feat(mrc): onboarding more info disabled feat(mrc): add disable more info prop to onboarding Apr 3, 2025
Copy link

sonarqubecloud bot commented Apr 3, 2025

qpavy
qpavy previously approved these changes Apr 10, 2025
@chipp972 chipp972 force-pushed the fix/16382-onboarding-more-info-disabled branch from ba9b717 to ff8e097 Compare April 11, 2025 13:07
@chipp972 chipp972 requested review from qpavy and anooparveti April 11, 2025 13:50
moreInfoHref?: string;
moreInfoButtonIcon?: ODS_ICON_NAME;
moreInfoButtonLabel?: string;
onmoreInfoButtonClick?: () => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
onmoreInfoButtonClick?: () => void;
onMoreInfoButtonClick?: () => void;

moreInfoHref,
moreInfoButtonLabel,
moreInfoButtonIcon = ODS_ICON_NAME.externalLink,
onmoreInfoButtonClick,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
onmoreInfoButtonClick,
onMoreInfoButtonClick,

if (moreInfoHref) {
window.open(moreInfoHref, '_blank');
if (!isMoreInfoButtonDisabled) {
onmoreInfoButtonClick?.();
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
onmoreInfoButtonClick?.();
onMoreInfoButtonClick?.();

ref: #ISSUE-16382

Signed-off-by: Nicolas Pierre-charles <nicolas.pierre-charles.ext@corp.ovh.com>
@chipp972 chipp972 force-pushed the fix/16382-onboarding-more-info-disabled branch from ff8e097 to 3cd5678 Compare April 14, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[manager-components]: onboarding template disable more info button
4 participants