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

Remove Prebid Bidder Performance in Admin Frontend tools #27506

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

deedeeh
Copy link
Contributor

@deedeeh deedeeh commented Sep 30, 2024

What does this change?

This PR removes the Prebid Bidder Performance from Performance section in Commercial tools which is found in admin Frontend tools.

The Commercial team is tidying up the Commercial tools in admin page and this is the first step towards it.

Screenshots

Before After
before after

Checklist

  • Tested locally, and on CODE if necessary

@deedeeh deedeeh self-assigned this Sep 30, 2024
@deedeeh deedeeh changed the title Remove prebid bidder performance in Admin frontend tools Remove Prebid Bidder Performance in Admin Frontend tools Sep 30, 2024
@deedeeh deedeeh marked this pull request as ready for review September 30, 2024 14:55
@deedeeh deedeeh requested a review from a team as a code owner September 30, 2024 14:55
@deedeeh deedeeh requested a review from a team September 30, 2024 14:55
@deedeeh deedeeh force-pushed the dina/remove-prebid-bidder-performance branch from 559aa67 to f09358e Compare September 30, 2024 14:57
Copy link
Contributor

@emma-imber emma-imber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I think we can also now get rid of the dateLineCharts.scala.html file as it looks like only the TeamKPIController was referencing it

Copy link
Member

@arelra arelra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -274,7 +274,6 @@ GET /commercial/non-refreshable-line-items.json

GET /ads.txt commercial.controllers.AdsDotTextViewController.renderTextFile()
GET /app-ads.txt commercial.controllers.AdsDotTextViewController.renderAppTextFile()
GET /commercial/prebid/revenue controllers.admin.commercial.TeamKPIController.renderPrebidDashboard()
POST /commercial/api/hb commercial.controllers.PrebidAnalyticsController.insert()
Copy link
Member

@arelra arelra Sep 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

icydk there's also the /hb endpoint which powers this graph.

Of which there is a router, prebid and data platform aspect:

But we can follow up seperately

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am leaning towards removing the /hb endpoint from routes and dev-build routes and all related things to PrebidAnalyticsController and like you said the other two aspects could be a follow up.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only issue with removing /hb in this PR is that we'd need to remove the call to /hb from our prebid fork first so the call does not error in the clients. Probably better to remove from prebid first and then from Frontend.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do that in Prebid and have a ready PR to merge then merge this PR after so I don't have to create two PRs in Frontend. What I am trying to understand right now the Platform repo router conf has to be removed when during the process I mentioned, any ideas?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thats fine as long you don't mind putting this PR on hold. I think Router changes changes can go anytime after we stop sending the /hb request from the client.

So first:
prebid (no more requests to /hb)

Then as there are no more requests to /hb we can do an the following in any order:
router
Frontend

@deedeeh
Copy link
Contributor Author

deedeeh commented Sep 30, 2024

Nice! I think we can also now get rid of the dateLineCharts.scala.html file as it looks like only the TeamKPIController was referencing it

Ah yes we can do that! Thanks for pointing it out 👍🏼

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