Skip to content
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

Logrocket integration #567

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Logrocket integration #567

merged 1 commit into from
Oct 3, 2023

Conversation

fonstack
Copy link
Member

@fonstack fonstack commented Oct 3, 2023

Summary by CodeRabbit

  • New Feature: Integrated LogRocket for improved application monitoring and debugging. This will enhance our ability to understand user interactions and diagnose issues more effectively.
  • Chore: Adjusted the import order of constants in settings.ts for better code organization.
  • New Feature: Added a new environment variable REACT_APP_LOGROCKET_APP_ID to configure the LogRocket application ID, providing flexibility for different deployment environments.

@fonstack fonstack requested a review from shayzluf October 3, 2023 10:17
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Image description CodeRabbit

Walkthrough

This update integrates LogRocket for better application monitoring and debugging. It initializes LogRocket with an app ID from the environment variables, and enables input sanitization for DOM logging. Additionally, it adjusts the import order of constants in settings.ts.

Changes

File Summary
packages/web/src/index.tsx Integrated LogRocket for application monitoring. Enabled input sanitization for DOM logging.
packages/web/src/settings.ts Adjusted the import order of constants. Added a new constant LOGROCKET_APP_ID that retrieves its value from the environment variable REACT_APP_LOGROCKET_APP_ID.

🐇💻

In the land of code where the shadows lie,

A rabbit hops, its gaze held high.

With LogRocket's might, it takes flight,

To guard the app both day and night.

Constants shuffled, order anew,

For cleaner code and bugs to eschew.

So let's celebrate this change so grand,

Born from a coderabbit's hand. 🎉🥕


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between a2f2088 and 6c0419d commits.
Files selected (2)
  • packages/web/src/index.tsx (1)
  • packages/web/src/settings.ts (2)
Files ignored due to filter (2)
  • packages/web/package.json
  • yarn.lock
Files skipped from review due to trivial changes (2)
  • packages/web/src/index.tsx
  • packages/web/src/settings.ts
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c0419d
Status: ✅  Deploy successful!
Preview URL: https://5cc137fd.dapp-a9y.pages.dev
Branch Preview URL: https://feat-logrocket-integration.dapp-a9y.pages.dev

View logs

@shayzluf shayzluf merged commit cb8bd25 into develop Oct 3, 2023
4 checks passed
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