Closed cstrnt closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
abby-docs | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Aug 22, 2024 5:21am |
The changes involve modifications to several components related to event handling, specifically transitioning from using Event
types to utilizing a new type, ProjectClientEvents
. This transition affects how events are categorized, passed as props, and processed within the components. Functionality has been streamlined by removing unnecessary calculations and directly utilizing new data structures for rendering charts and managing events. Additionally, import statements were reorganized for improved clarity.
Files | Change Summary |
---|---|
apps/web/src/components/Test/Metrics.tsx , Section.tsx , Serves.tsx , Donut.tsx |
Updated event props from Event[] to ProjectClientEvents , simplifying data processing and enhancing clarity in metrics and charts. |
apps/web/src/components/analytics/EventGraph.tsx |
Minor reordering of import statements for cosmetic changes without affecting functionality. |
apps/web/src/components/ui/tabs.tsx |
Formatting adjustments including added semicolons and consistent line breaks, maintaining component definitions and behavior. |
apps/web/src/pages/projects/[projectId]/index.tsx |
Introduced inferRouterOutputs for type inference and updated the Projects component to handle both test.actEvents and test.pingEvents . |
apps/web/src/pages/projects/[projectId]/settings.tsx |
Reorganized import statements for clarity without changing functionality. |
apps/web/src/server/trpc/router/project.ts |
Major changes to event processing logic, replacing the ms library with dayjs , categorizing events into actEvents and pingEvents for better structure. |
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?
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @cstrnt and the rest of your teammates on Graphite
Summary by CodeRabbit
New Features
actEvents
andpingEvents
props for better clarity and performance.Bug Fixes
Style
Documentation