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

TNC Id Module : user input url validation and optimizations #12527

Merged
merged 15 commits into from
Dec 26, 2024

Conversation

annavane
Copy link
Contributor

@annavane annavane commented Dec 2, 2024

Type of change

  • [x ] Bugfix
  • [x ] Feature
  • [x ] Refactoring (no functional changes, no api changes)

Description of change

modules/tncIdSystem.js
- user input URL validations added
- TNCID recovered from cookie storage if available
- code optimizations for faster TNCID load


test/spec/modules/tncIdSystem_spec.js
- added tests for new functions


modules/tncIdSystem.md
- updated documentation

annavane and others added 12 commits October 10, 2024 16:14
modules/tncIdSystem.js  - Optimized User ID Recovery: Replaced the existing user ID recovery function with a faster and more efficient method, improving performance.
modules/userId/userId.md - Documentation Correction: Resolved inconsistencies in the documentation, ensuring accurate information for module configuration and usage.
      - user input URL validations added
      - TNCID recovered from cookie storage if available
      - code optimizations for faster TNCID load
________________________________________
test/spec/modules/tncIdSystem_spec.js
      - added tests for new functions
________________________________________
modules/tncIdSystem.md
      - updated documentation
# Conflicts:
#	modules/tncIdSystem.js
#	test/spec/modules/tncIdSystem_spec.js
Copy link

github-actions bot commented Dec 2, 2024

Tread carefully! This PR adds 3 linter warnings (possibly disabled through directives):

  • modules/tncIdSystem.js (+3 warnings)

modules/tncIdSystem.md Outdated Show resolved Hide resolved
@annavane
Copy link
Contributor Author

annavane commented Dec 4, 2024

Hi patmmccann,

Thank you for your feedback so far, let us know if there is anything else we can do to improve our code.

@annavane annavane requested a review from patmmccann December 6, 2024 09:09
@annavane
Copy link
Contributor Author

Hi again patmmccann,

We removed Sales description from modules/tncIdSystem.md file.

Is there something else we can do?

Thank you!

@annavane
Copy link
Contributor Author

Hi patmmccann,

This module changes are important for our business. Please let us know if there is anything wrong why this pull is still not approved (committed 2 weeks ago).

Thank you!

@ChrisHuie ChrisHuie changed the title TNCID userId Module optimizations TNC Id Module : user input url validation and optimizations Dec 17, 2024
@patmmccann patmmccann merged commit 24e1780 into prebid:master Dec 26, 2024
6 checks passed
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