Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Nov 8, 2024

CNCT-2291

Google.Chrome.mp4

PR-Codex overview

This PR focuses on refactoring the onboarding and analytics components in the dashboard, replacing the ProjectOverviewHeader with AnalyticsHeader, and enhancing analytics functionality with new data fetching methods and improved UI components.

Detailed summary

  • Deleted Steps.tsx and HomeProductCard.tsx.
  • Replaced ProjectOverviewHeader with AnalyticsHeader in multiple files.
  • Updated projectStub function to remove export.
  • Introduced new analytics components: UsersChartCard, WalletDistributionCard, etc.
  • Added new data fetching functions for analytics data.
  • Modified layout and styling in various components for better presentation.
  • Updated storybook titles and components accordingly.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Nov 8, 2024

⚠️ No Changeset found

Latest commit: b71cbff

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 5:51am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Nov 8, 2024 5:51am
thirdweb_playground ⬜️ Skipped (Inspect) Nov 8, 2024 5:51am
wallet-ui ⬜️ Skipped (Inspect) Nov 8, 2024 5:51am

@linear
Copy link

linear bot commented Nov 8, 2024

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 8, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@gregfromstl gregfromstl self-assigned this Nov 8, 2024
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Nov 8, 2024
@gregfromstl gregfromstl added the Feature Adds new functionality to the public API. label Nov 8, 2024
@codecov
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.71%. Comparing base (9572db0) to head (9910a02).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5353   +/-   ##
=======================================
  Coverage   45.71%   45.71%           
=======================================
  Files        1070     1070           
  Lines       55670    55670           
  Branches     4083     4083           
=======================================
  Hits        25450    25450           
  Misses      29531    29531           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 9572db0
packages 40.86% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.09 KB (0%) 862 ms (0%) 2.4 s (-30.62% 🔽) 3.2 s
thirdweb (cjs) 103.19 KB (0%) 2.1 s (0%) 5.6 s (+4.39% 🔺) 7.7 s
thirdweb (minimal + tree-shaking) 4.86 KB (0%) 98 ms (0%) 92 ms (-30.98% 🔽) 189 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 128 ms (+144.73% 🔺) 138 ms
thirdweb/react (minimal + tree-shaking) 17.57 KB (0%) 352 ms (0%) 597 ms (+62.56% 🔺) 949 ms

@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 02:27 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 02:27 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 02:27 Inactive
@gregfromstl gregfromstl force-pushed the greg/cnct-2291-team-analytics-page branch from 88209e4 to a6a6c8d Compare November 8, 2024 02:30
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 02:30 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 02:30 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 02:30 Inactive
@gregfromstl gregfromstl force-pushed the greg/cnct-2291-team-analytics-page branch from a6a6c8d to b71cbff Compare November 8, 2024 02:31
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 02:32 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 02:32 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 02:32 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 8, 2024

Merge activity

CNCT-2291

https://github.com/user-attachments/assets/163c5eb5-c4dc-4d0f-a6aa-099a321148e8

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components related to analytics in the dashboard. It replaces the `ProjectOverviewHeader` with an `AnalyticsHeader`, updates various components to enhance functionality, and introduces new analytics-related features.

### Detailed summary
- Deleted `Steps.tsx` and `HomeProductCard.tsx`.
- Replaced `ProjectOverviewHeader` with `AnalyticsHeader` in various files.
- Updated `projectStub` function to remove the export.
- Introduced new components for analytics: `UsersChartCard`, `WalletDistributionCard`, `AuthMethodDistributionCard`, `TotalSponsoredCard`, and `UserOpUsageCard`.
- Enhanced `EmptyState` component styling and functionality.
- Adjusted imports to reflect new component paths.
- Added new fetching functions for analytics data: `getWalletConnections`, `getInAppWalletUsage`, `getUserOpUsage`, and `getWalletUsers`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@jnsdls jnsdls force-pushed the greg/cnct-2291-team-analytics-page branch from b71cbff to 9910a02 Compare November 8, 2024 05:42
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 05:42 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 05:42 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 05:42 Inactive
@graphite-app graphite-app bot merged commit 9910a02 into main Nov 8, 2024
32 checks passed
@graphite-app graphite-app bot deleted the greg/cnct-2291-team-analytics-page branch November 8, 2024 05:51
@vercel vercel bot temporarily deployed to Production – docs-v2 November 8, 2024 05:51 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui November 8, 2024 05:51 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground November 8, 2024 05:51 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. Feature Adds new functionality to the public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants