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

CXSPA-8201: code refactor #19145

Merged
merged 7 commits into from
Aug 23, 2024
Merged

CXSPA-8201: code refactor #19145

merged 7 commits into from
Aug 23, 2024

Conversation

scarai-sap
Copy link
Contributor

ATT.

Small code refactor for feature CAPTCHA

@scarai-sap scarai-sap requested review from a team as code owners August 21, 2024 04:35
@github-actions github-actions bot marked this pull request as draft August 21, 2024 04:35
@scarai-sap scarai-sap marked this pull request as ready for review August 21, 2024 06:34
Copy link

cypress bot commented Aug 21, 2024

spartacus    Run #44596

Run Properties:  status check passed Passed #44596  •  git commit e50b352843 ℹ️: Merge 28a9896840311cad55aed89b960fe8755e012f83 into d966db6689db8eebcf472947616c...
Project spartacus
Branch Review fix/CXSPA-8201
Run status status check passed Passed #44596
Run duration 03m 33s
Commit git commit e50b352843 ℹ️: Merge 28a9896840311cad55aed89b960fe8755e012f83 into d966db6689db8eebcf472947616c...
Committer Scar Ai
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
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 121
View all changes introduced in this branch ↗︎

i53577
i53577 previously approved these changes Aug 21, 2024
@github-actions github-actions bot marked this pull request as draft August 21, 2024 07:28
@scarai-sap scarai-sap marked this pull request as ready for review August 21, 2024 07:33
@github-actions github-actions bot marked this pull request as draft August 23, 2024 01:55
@scarai-sap scarai-sap marked this pull request as ready for review August 23, 2024 01:55
@scarai-sap scarai-sap merged commit a6acf89 into develop Aug 23, 2024
28 checks passed
@scarai-sap scarai-sap deleted the fix/CXSPA-8201 branch August 23, 2024 02:29

export interface CaptchaRenderer {
/**
* Renders captcha widget
Copy link

Choose a reason for hiding this comment

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

Could we also add something like:

Implementations must use secure DOM manipulation methods to protect against XSS.

* Renders captcha widget
*
* @RenderParams parameters required by a provider, includes html element to append CAPTCHA UI element.
* @returns Observable for the key returned by a provider once user validated
Copy link

Choose a reason for hiding this comment

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

Why is it called key here? It's called token everywhere else. Or are these different things?

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.

4 participants