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

Add check if id of tab item is available #2513

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

bpauli
Copy link
Contributor

@bpauli bpauli commented May 25, 2023

Components which got inherit from a panel container but hasn't set the id of a panel container items are currently facing an issue with the change in #2408.

In this PR I added a check if the id is present before using it as part of the selector.

Q                       A
Fixed Issues? SITES-13592, SITES-13475
Patch: Bug Fix? 👍
Minor: New Feature?
Major: Breaking Change?
Tests Added + Pass? Yes
Documentation Provided Yes (code comments and or markdown)
Any Dependency Changes?
License Apache License, Version 2.0

- add check if id of tab item is available before using it as selector to be backward compatible with customer code.
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Merging #2513 (9dd1875) into main (3d55a14) will not change coverage.
The diff coverage is n/a.

❗ Current head 9dd1875 differs from pull request most recent head a061ff0. Consider uploading reports for the commit a061ff0 to get more accurate results

@@            Coverage Diff            @@
##               main    #2513   +/-   ##
=========================================
  Coverage     87.17%   87.17%           
  Complexity     2594     2594           
=========================================
  Files           229      229           
  Lines          6891     6891           
  Branches       1042     1042           
=========================================
  Hits           6007     6007           
  Misses          357      357           
  Partials        527      527           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@bpauli bpauli merged commit efbe283 into main May 25, 2023
@bpauli bpauli deleted the issue/pannel-container-id branch May 25, 2023 13:36
bpauli added a commit that referenced this pull request May 25, 2023
- add check if id of tab item is available before using it as selector to be backward compatible with customer code.
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