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

fix(NavigationManager): ensure lazyUpCountBuffer remains non-negative #510

Merged
merged 1 commit into from
May 10, 2024

Conversation

ImCoolNowRight
Copy link
Collaborator

@ImCoolNowRight ImCoolNowRight commented May 9, 2024

Description

Adds a check to make sure that any negative numbers passed in for lazyUpCountBuffer throws a warning and sets it to zero.

References

LUI-1399 and LUI-1403

Testing

Enter a negative value for lazyUpCountBuffer in a Column or Row story. Check the console to ensure that the warning is thrown. The story should operate with lazyUpCountBuffer now being zero.

Automation

Not sure if this affects any current tests, but it fixes what the automation team caught.

Checklist

  • all commented code has been removed
  • any new console issues have been resolved
  • code linter and formatter has been run
  • test coverage meets repo requirements
  • PR name matches the expected semantic-commit syntax

@svc-lightning-ui-components
Copy link
Contributor

Test Execution Passed.

@svc-lightning-ui-components
Copy link
Contributor

Test Execution Passed.

@ImCoolNowRight ImCoolNowRight merged commit af13de0 into develop May 10, 2024
9 checks passed
@ImCoolNowRight ImCoolNowRight deleted the fix/LUI-1399 branch May 10, 2024 19:16
svc-lightning-ui-components pushed a commit that referenced this pull request May 10, 2024
# [@lightningjs/ui-components-v2.21.5](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.21.4...@lightningjs/ui-components-v2.21.5) (2024-05-10)

### Bug Fixes

* **Artwork:** add imageLoadFailed signal ([#509](#509)) ([7f66c04](7f66c04))
* **Control:** reorders which update methods are called first ([#508](#508)) ([d609442](d609442))
* **NavigationManager:** ensure lazyUpCountBuffer remains non-negative ([#510](#510)) ([af13de0](af13de0))
@svc-lightning-ui-components
Copy link
Contributor

🎉 This PR is included in version @lightningjs/ui-components-v2.21.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

4 participants