Skip to content

rename analytics to athena#10849

Merged
cdrini merged 1 commit intomasterfrom
rename-analytics-to-athena
May 27, 2025
Merged

rename analytics to athena#10849
cdrini merged 1 commit intomasterfrom
rename-analytics-to-athena

Conversation

@mekarpeles
Copy link
Member

Closes WEBDEV-6982; 1-off by @bfalling

renamed analytics.js to athena.js

Technical

Testing

Screenshot

Stakeholders

Copilot AI review requested due to automatic review settings May 23, 2025 20:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR renames references from analytics.js to athena.js for improved clarity and consistency.

  • Updated script source in footer.html and removed outdated comment
  • Modified regex in service-worker-matchers.js and code.py to reflect the new name
  • Adjusted header documentation in ol.analytics.js to indicate dependency on athena.js

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
openlibrary/templates/site/footer.html Updated script source and removed legacy comment
openlibrary/plugins/openlibrary/js/service-worker-matchers.js Replaced analytics.js with athena.js in the regex
openlibrary/plugins/openlibrary/js/ol.analytics.js Updated header comment to refer to athena.js
openlibrary/plugins/openlibrary/code.py Modified regex pattern to match athena.js instead of analytics.js

Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Confirmed analytics works; lgtm!

@cdrini cdrini merged commit e38e36e into master May 27, 2025
9 checks passed
@cdrini cdrini deleted the rename-analytics-to-athena branch May 27, 2025 18:49
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.

2 participants