-
Notifications
You must be signed in to change notification settings - Fork 20
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
issueid #0000 updated telemetry npm package #253
issueid #0000 updated telemetry npm package #253
Conversation
WalkthroughThe pull request introduces a new telemetry SDK dependency to the project. The changes involve updating the Changes
Sequence DiagramsequenceDiagram
participant App as Application
participant Telemetry as Telemetry SDK
App->>Telemetry: Initialize SDK
App->>Telemetry: Track Events
App->>Telemetry: Sync Events
Telemetry-->>App: Event Handling Complete
Possibly related PRs
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/App.js (1)
77-79
: Improve code readability using optional chaining.Replace multiple
&&
operators with optional chaining for better readability and maintainability.- window.telemetry && - window.telemetry.syncEvents && - window.telemetry.syncEvents(); + window.telemetry?.syncEvents?.();🧰 Tools
🪛 Biome (1.9.4)
[error] 77-79: Change to an optional chain.
Unsafe fix: Change to an optional chain.
(lint/complexity/useOptionalChain)
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
package.json
(1 hunks)src/App.js
(2 hunks)
🧰 Additional context used
🪛 Biome (1.9.4)
src/App.js
[error] 77-79: Change to an optional chain.
Unsafe fix: Change to an optional chain.
(lint/complexity/useOptionalChain)
🔇 Additional comments (3)
src/App.js (2)
Line range hint
1-120
: PR title seems inconsistent with changes.The PR title mentions "Jumble word issue" but the changes are related to switching telemetry SDKs. Please clarify if:
- These changes are intended to fix the jumble word issue
- The PR title needs to be updated to reflect the actual changes
🧰 Tools
🪛 Biome (1.9.4)
[error] 77-79: Change to an optional chain.
Unsafe fix: Change to an optional chain.
(lint/complexity/useOptionalChain)
11-11
: Verify compatibility with the new telemetry SDK.The switch from
@project-sunbird/telemetry-sdk
to@tekdi/all-telemetry-sdk
is a significant change. Ensure that:
- All telemetry events are being captured correctly
- The new SDK provides the same interface for
initialize
,end
, and other telemetry methods used in the applicationpackage.json (1)
17-17
: Verify the early version of the new SDK.The new SDK is at version 0.0.32, which typically indicates it's in early development. Please ensure:
- The package is stable enough for production use
- There are no breaking changes in recent versions
|
aaa9790
into
Sunbird-ALL:all-1.3-feedback-change
Summary by CodeRabbit
@project-sunbird/telemetry-sdk
@tekdi/all-telemetry-sdk
to project dependencies