Skip to content

Conversation

@codingjoe
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 5, 2026 12:38
@codingjoe codingjoe self-assigned this Jan 5, 2026
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.72%. Comparing base (c1b8467) to head (6d961fe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #366   +/-   ##
=======================================
  Coverage   97.72%   97.72%           
=======================================
  Files           8        8           
  Lines         264      264           
=======================================
  Hits          258      258           
  Misses          6        6           
Flag Coverage Δ
python 97.72% <ø> (ø)
selenium-ubuntu-latest 80.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 adds the esupgrade pre-commit hook to automatically modernize JavaScript code by replacing legacy global object references with their modern equivalents.

  • Adds esupgrade hook configuration to .pre-commit-config.yaml
  • Applies esupgrade transformations to existing JavaScript code, replacing window with globalThis
  • Updates console logging method from console.log to console.info in test file

Reviewed changes

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

File Description
.pre-commit-config.yaml Adds esupgrade pre-commit hook at version 2025.8.0
s3file/static/s3file/js/s3file.js Updates window.CustomEvent to globalThis.CustomEvent for better cross-environment compatibility
tests/__tests__/s3file.test.js Updates window.SubmitEvent to globalThis.SubmitEvent and changes console.log to console.info

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codingjoe
Copy link
Owner Author

Included in #367

@codingjoe codingjoe closed this Jan 6, 2026
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