8000 fix: add punchout error page by FollowTheFlo · Pull Request #20366 · SAP/spartacus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: add punchout error page #20366

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

Draft
wants to merge 8 commits into
base: release/2211.41.x
Choose a base branch
from
Draft

Conversation

FollowTheFlo
Copy link
Contributor

No description provided.

@FollowTheFlo FollowTheFlo requested a review from a team as a code owner May 22, 2025 18:29
@github-actions github-actions bot marked this pull request as draft May 22, 2025 18:29
<div class="alert">
<span class="alert-icon">
<cx-icon
class="cx-icon fas fa-exclamation-circle"
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
class="cx-icon fas fa-exclamation-circle"
[type]="ICON_TYPE.ERROR"

Comment on lines 8 to 14

@Component({
selector: 'cx-punchout-error',
template: `<h2>Punchout Error</h2>
<p>Please navigate back to Ariba</p> `,
templateUrl: './punchout-error.component.html',
standalone: false,
})
export class PunchoutErrorComponent {}
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
@Component({
selector: 'cx-punchout-error',
template: `<h2>Punchout Error</h2>
<p>Please navigate back to Ariba</p> `,
templateUrl: './punchout-error.component.html',
standalone: false,
})
export class PunchoutErrorComponent {}
export class PunchoutErrorComponent {
ICON_TYPE = ICON_TYPE;
}

@@ -8,8 +8,7 @@ import { Component } from '@angular/core';

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
import { ICON_TYPE } from '@spartacus/storefront';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thx!

@Pucek9
Copy link
Contributor
Pucek9 commented May 22, 2025

Are we able to add pages like this as CMS-paragraph (I mean mainly the icon)? If yes, it's worth considering making it with sampledata only

@FollowTheFlo FollowTheFlo marked this pull request as ready for review May 23, 2025 20:12
Copy link
cypress bot commented May 23, 2025

spartacus    Run #48412

Run Properties:  status check passed Passed #48412  •  git commit 074facc623 ℹ️: Merge 7a25d946848fb256fca01a298ef92fd4650106d9 into edd6e12662d0d2049fff0b544d85...
Project spartacus
Branch Review fix/CXSPA-10229
Run status status check passed Passed #48412
Run duration 05m 10s
Commit git commit 074facc623 ℹ️: Merge 7a25d946848fb256fca01a298ef92fd4650106d9 into edd6e12662d0d2049fff0b544d85...
Committer Florent Letendre
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 236
View all changes introduced in this branch ↗︎

@github-actions github-actions bot marked this pull request as draft May 23, 2025 20:56
@Pucek9 Pucek9 mentioned this pull request May 23, 2025
@@ -9,40 +9,41 @@ import { NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { CartSharedModule } from '@spartacus/cart/base/components';
import { CmsConfig, I18nModule, provideDefaultConfig } from '@spartacus/core';
import { IconModule } from '@spartacus/storefront';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

still needed as punchout error paragrap cpnt contains cx-icon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0