Skip to content

chore: remove double calls#30240

Merged
veryayskiy merged 1 commit intomasterfrom
feat/sr/mark-similar-as-watched-3
Mar 21, 2025
Merged

chore: remove double calls#30240
veryayskiy merged 1 commit intomasterfrom
feat/sr/mark-similar-as-watched-3

Conversation

@veryayskiy
Copy link
Contributor

Problem

Multiple calls for the same API

No more.

@veryayskiy veryayskiy requested a review from pauldambra March 20, 2025 17:23
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Removed duplicate API calls to loadSimilarRecordings in the session recording player logic, consolidating the functionality into a single call within the maybeLoadRecordingMeta listener.

  • Removed redundant call from loadRecordingMetaSuccess listener
  • Removed redundant call from loadRecordingMeta listener
  • Centralized similar recordings loading in maybeLoadRecordingMeta for better efficiency

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@github-actions
Copy link
Contributor

Size Change: -53 B (0%)

Total Size: 9.75 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 9.75 MB -53 B (0%)

compressed-size-action

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

👍

@veryayskiy veryayskiy merged commit 6324a37 into master Mar 21, 2025
107 checks passed
@veryayskiy veryayskiy deleted the feat/sr/mark-similar-as-watched-3 branch March 21, 2025 10: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