Skip to content

Rename ReplayMap to ReplayManager#1306

Merged
matux merged 1 commit into
masterfrom
matux/replay-manager
Sep 10, 2025
Merged

Rename ReplayMap to ReplayManager#1306
matux merged 1 commit into
masterfrom
matux/replay-manager

Conversation

@matux

@matux matux commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Description of the change

This PR renames the ReplayMap to ReplayManager due to its nature changing from a mapping of occurrences to replays to an orchestrator between the different components that make up the Session Replay feature (Replays, Recorder, Telemetry, Tracing and API).

No code documentation hasn't been changed in this PR.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

@matux matux requested a review from Copilot September 10, 2025 15:41
@matux matux self-assigned this Sep 10, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 the ReplayMap class to ReplayManager to better reflect its evolved role as an orchestrator between different Session Replay components rather than just a simple mapping structure.

  • Renames ReplayMap class to ReplayManager throughout the codebase
  • Updates all references, imports, and variable names to use the new naming
  • Updates comments and documentation to reflect the new name

Reviewed Changes

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

Show a summary per file
File Description
test/replay/unit/replayPredicates.test.js Updates test description from "ReplayMap" to "ReplayManager"
test/replay/unit/replayManager.test.js Comprehensive renaming of class, variables, and error messages
test/replay/unit/queue.replayManager.test.js Updates test descriptions and mock class names
test/replay/unit/index.js Updates module exports to reference renamed test files
test/replay/integration/sessionRecording.test.js Updates imports and variable names
test/replay/integration/replayManager.test.js Updates imports, test descriptions, and variable names
test/replay/integration/queue.replayManager.test.js Updates test descriptions and variable names
test/replay/integration/index.js Updates module exports
test/replay/integration/e2e.test.js Updates imports and variable names
src/rollbar.js Updates parameter name and constructor call
src/queue.js Updates parameter names, comments, and error messages
src/browser/replay/replayManager.js Updates class name, comments, and error messages
src/browser/core.js Updates import and variable names
CLAUDE.md Updates documentation references

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@matux matux merged commit f6afd2a into master Sep 10, 2025
4 checks passed
@matux matux deleted the matux/replay-manager branch September 10, 2025 16:05
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