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

51Degrees RTD submodule: small improvements and fixes #12302

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

jwrosewell
Copy link
Contributor

Type of change

  • Updated RTD submodule

Description of change

This pull request introduces several improvements and fixes to the 51Degrees RTD submodule in Prebid.js.

  • Added support for screenpixelsphysicalheight and screenpixelsphysicalwidth:
    • These properties are now used instead of screenpixelsheight and screenpixelswidth when available.
    • Enables more accurate PPI calculation using physical screen dimensions.
  • Performed minor refactoring to prepare for upcoming enhancements that will include additional data points in the 51Degrees RTD submodule.
  • Eased module configuration:
    • Addressed an issue where some third-party Prebid.js wrappers force users to input both resourceKey and onPremiseJSUrl, leading to invalid configurations.
    • Users can now set the redundant parameter to the string "0", which the module will ignore, allowing for a valid configuration.
  • Documentation updates:
    • Replaced an outdated template URL with the current one.
    • Included information about using link preconnect for optimisation purposes.
    • Included guidance in the documentation for users facing configuration issues.
  • Included the 51Degrees RTD submodule in .submodules.json, which was previously omitted.
  • Added new tests. Code coverage is still at 100%.

@patmmccann patmmccann self-assigned this Oct 9, 2024
@patmmccann patmmccann merged commit b4eccb0 into prebid:master Oct 9, 2024
6 checks passed
pdamoc pushed a commit to missena-corp/Prebid.js that referenced this pull request Oct 22, 2024
* 51Degrees RTD submodule: calculate PPI based on physical screen size

 & small refactor in preparation for the next 51Degrees RTD submodule update

* 51Degrees RTD submodule: add 51Degrees module to `.submodules.json`

* 51Degrees RTD submodule: update documentation

---------

Co-authored-by: Bohdan V <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants