Skip to content

Feature: Add PB adunits panel#1080

Merged
mohdsayed merged 106 commits into
developfrom
feat/prebid-adunits
Jun 9, 2025
Merged

Feature: Add PB adunits panel#1080
mohdsayed merged 106 commits into
developfrom
feat/prebid-adunits

Conversation

@mayan-000

@mayan-000 mayan-000 commented May 20, 2025

Copy link
Copy Markdown
Collaborator

Description

This PR adds the adunits panel for prebid data.

Relevant Technical Choices

Testing Instructions

  • Open PSAT on cnn.com, and navigate to the Protected audience panel.
  • Open the Observability tab group and select the adunits panel.
  • The tab should contain data related to PB.
  • Table should contain adunits, bidders, and container size.
  • And highlights to any winning bidder on which container size.

Additional Information:

Screenshot/Screencast


Checklist

  • I have thoroughly tested this code to the best of my abilities.
  • I have reviewed the code myself before requesting a review.
  • This code is covered by unit tests to verify that it works as intended.
  • The QA of this PR is done by a member of the QA team (to be checked by QA).

Fixes #

amovar18 and others added 30 commits May 6, 2025 00:57
Add viewer for gptAuctionConfig and UserSync along with PrebidServerConfig.
@mayan-000 mayan-000 changed the title Feature: Add Prebid adunits panel Feature: Add PB adunits panel May 29, 2025
Base automatically changed from feat/prebid-tab to develop May 29, 2025 13:59
@mayan-000 mayan-000 marked this pull request as ready for review June 2, 2025 09:26
@mayan-000 mayan-000 requested review from amovar18 and mohdsayed June 2, 2025 09:26
mayan-000 and others added 5 commits June 4, 2025 15:28
* Move auctions panel into v1 folder

* Make adunit panel dumb and move to components folder

* Update component name

* Add hooks for data processing and sidebar data creation

* Move bottom tray to components folder

* Add prebid table, wrap versioned auction panels

* Move auction table to components, extract data for prebid table, and use auction table component

* Add optional chaining at required places

* Update sidebar key

* Add hammer into table cell for winner bid

* Add condition to show v2 panel is prebid data is there

* Keep adserver panel blurred

* Update style of bid won

* Update check

* Filter auction data if adunit not present inside bids

* Update style of media container size for winner

* Calculate winning container size and bidder for each unit, highlight in the the buttons in adunit panel

* Add blurred key to prebid sidebar

* Highlight tabs on prebid data changes

* Use dumb component for adunitpanel inside auction v1

* Use set to keep data unique

* Update filters for prebid table

* Update logic for highlighting winning media container inside adunit sub panel

* Fix import of icon

* Highlight correct tab for prebid data

* Small nitpicks and reorg

* Correct file name

* filter array if type is not correct

* Move cdp navigation to a callback

* Reorganize files and change imports

* Segregate paapi and prebid calculation calculation, show pill toggle inside adunitpanel

* Nitpicks and data reorg

* Update tab name from prebid to prebid extras

* Update selection color in pilltoggle

* Use fixed decimal and add auction time

* Remove loading from bottom tray json view

* Use prebid providerA

* Fix failig test.

---------

Co-authored-by: Amoghavarsha Kudaligi <kgamoghavarsha@gmail.com>
@mohdsayed mohdsayed added this to the v1.0 milestone Jun 9, 2025
@mohdsayed mohdsayed merged commit aaf5530 into develop Jun 9, 2025
6 checks passed
@mohdsayed mohdsayed deleted the feat/prebid-adunits branch June 9, 2025 14:20
@mohdsayed mohdsayed mentioned this pull request Jun 24, 2025
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.

3 participants