Skip to content

Add a addPrefix function as an alternative to the withPrefix HOC#5307

Open
bjoernricks wants to merge 1 commit into
mainfrom
alert-dialog-improvements
Open

Add a addPrefix function as an alternative to the withPrefix HOC#5307
bjoernricks wants to merge 1 commit into
mainfrom
alert-dialog-improvements

Conversation

@bjoernricks
Copy link
Copy Markdown
Contributor

What

Add a addPrefix function as an alternative to the withPrefix HOC

Why

For function components it is better to use a dedicated function then to a HOC. The withPrefix HOC is used in the alert dialog for setting the names of the input fields.

Checklist

  • Tests

For function components it is better to use a dedicated function then to
a HOC. The withPrefix HOC is used in the alert dialog for setting the
names of the input fields.
@bjoernricks bjoernricks requested a review from a team as a code owner May 22, 2026 11:33
@greenbonebot greenbonebot enabled auto-merge (rebase) May 22, 2026 11:33
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 68095cf.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.06%. Comparing base (0790bee) to head (68095cf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5307   +/-   ##
=======================================
  Coverage   79.06%   79.06%           
=======================================
  Files        1220     1221    +1     
  Lines       32180    32183    +3     
  Branches     9618     9579   -39     
=======================================
+ Hits        25443    25446    +3     
  Misses       6030     6030           
  Partials      707      707           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant