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

Simplify ATI Analytics #12514

Merged
merged 85 commits into from
Mar 25, 2025
Merged

Simplify ATI Analytics #12514

merged 85 commits into from
Mar 25, 2025

Conversation

karinathomasbbc
Copy link
Contributor

@karinathomasbbc karinathomasbbc commented Mar 13, 2025

Overall changes

Simplifies ATI analytics logic, now that all pages have been migrated to the BFF

Code changes

  • Remove backwards compatible code for supporting pages which were using json routes
  • Fix tests
  • Delete code which is no longer required

Testing

  • PR Checks

… same data is not present in the home page pagedata in the same way
… it still works locally but not live (live uses bff)
@karinathomasbbc karinathomasbbc self-assigned this Mar 13, 2025
Base automatically changed from WORLDSERVICE-37-delete-frontpage-and-all-associated-code to latest March 19, 2025 12:47
@@ -384,17 +382,6 @@ describe('ATIAnalytics params', () => {
}),
);
});
it.each([HOME_PAGE, ERROR_PAGE, LIVE_PAGE])(
Copy link
Contributor Author

@karinathomasbbc karinathomasbbc Mar 19, 2025

Choose a reason for hiding this comment

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

I removed this test because it was using data (instead of atiData). Perhaps I need to reinstate it, but for ERROR_PAGE and LIVE_PAGE (need confirmation on whether LIVE_PAGE is valid or not)

@karinathomasbbc karinathomasbbc marked this pull request as ready for review March 20, 2025 12:02
Copy link
Contributor

@amoore108 amoore108 left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link
Contributor

@emilysaffron emilysaffron left a comment

Choose a reason for hiding this comment

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

this is a very satisfying PR - so much easier to understand what's going on now!

@karinathomasbbc karinathomasbbc merged commit 1e2b800 into latest Mar 25, 2025
11 checks passed
@karinathomasbbc karinathomasbbc deleted the simplify-ati-analytics branch March 25, 2025 15:12
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.

7 participants