Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 11, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on enhancing the wallet analytics dashboard by improving styling, adding new wallet types, and modifying chart logic to better handle and display wallet data, including grouping lesser-used wallets under "Others."

Detailed summary

  • Updated CSS variables in globals.css.
  • Added new wallet types in storyUtils.ts.
  • Adjusted container widths in multiple components for better layout.
  • Enhanced WalletConnectorsChartCard.tsx and WalletDistributionChartCard.tsx to show top wallets and group others.
  • Changed chart data handling to include "Others" for lesser-used wallets.
  • Updated ChartToShow type to reflect new metrics.
  • Modified data structures and sorting logic for improved chart accuracy.

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

@vercel
Copy link

vercel bot commented Oct 11, 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 Oct 11, 2024 6:39pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 11, 2024 6:39pm
thirdweb_playground ⬜️ Skipped (Inspect) Oct 11, 2024 6:39pm
wallet-ui ⬜️ Skipped (Inspect) Oct 11, 2024 6:39pm

@changeset-bot
Copy link

changeset-bot bot commented Oct 11, 2024

⚠️ No Changeset found

Latest commit: 79f029c

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 vercel bot temporarily deployed to Preview – thirdweb_playground October 11, 2024 16:42 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 11, 2024 16:42 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 11, 2024 16:42 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 11, 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.

@MananTank MananTank marked this pull request as ready for review October 11, 2024 16:42
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 11, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on Graphite Graphite

@codecov
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.76%. Comparing base (2914a50) to head (79f029c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4994   +/-   ##
=======================================
  Coverage   47.76%   47.76%           
=======================================
  Files        1058     1058           
  Lines       57290    57290           
  Branches     3943     3943           
=======================================
  Hits        27364    27364           
  Misses      29235    29235           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 2914a50
packages 43.56% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.07 KB (0%) 842 ms (0%) 536 ms (+72.2% 🔺) 1.4 s
thirdweb (cjs) 101.87 KB (0%) 2.1 s (0%) 645 ms (-14.16% 🔽) 2.7 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 77 ms (+166.48% 🔺) 174 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 44 ms (+674.39% 🔺) 54 ms
thirdweb/react (minimal + tree-shaking) 17.24 KB (0%) 345 ms (0%) 109 ms (+51.59% 🔺) 454 ms

@MananTank MananTank changed the title Only Show Top 10 wallets in Connect Analytics + Remove dynamically generated colors Only Show Top wallets in Connect Analytics, merge rest to Others + Remove dynamically generated colors Oct 11, 2024
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 11, 2024

Merge activity

MananTank added a commit that referenced this pull request Oct 11, 2024
…move dynamically generated colors (#4994)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the wallet analytics dashboard by improving the display of wallet statistics, adding new wallet types, and refining the chart configurations for better visualization of wallet usage data.

### Detailed summary
- Updated `globals.css` to remove redundant CSS variables.
- Added new wallet types in `storyUtils.ts`.
- Adjusted container widths in several story components to a maximum width of `1150px`.
- Enhanced `WalletConnectorsChartCard` to show top wallets and aggregate others.
- Updated chart configuration to handle "Others" category in both `WalletConnectorsChartCard` and `WalletDistributionChartCard`.
- Changed `ChartToShow` type to include `totalConnections` and `uniqueWalletsConnected`.
- Modified data handling in `WalletDistributionChartCard` to aggregate wallet stats correctly.
- Updated rendering logic to reflect changes in chart data and labels.

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 10-11-only_show_top_10_wallets_in_connect_analytics_remove_dynamically_generated_colors branch from e4745a0 to 5660ce4 Compare October 11, 2024 18:21
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 11, 2024 18:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 11, 2024 18:21 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 11, 2024 18:21 Inactive
…move dynamically generated colors (#4994)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the wallet analytics dashboard by improving the display of wallet statistics, adding new wallet types, and refining the chart configurations for better visualization of wallet usage data.

### Detailed summary
- Updated `globals.css` to remove redundant CSS variables.
- Added new wallet types in `storyUtils.ts`.
- Adjusted container widths in several story components to a maximum width of `1150px`.
- Enhanced `WalletConnectorsChartCard` to show top wallets and aggregate others.
- Updated chart configuration to handle "Others" category in both `WalletConnectorsChartCard` and `WalletDistributionChartCard`.
- Changed `ChartToShow` type to include `totalConnections` and `uniqueWalletsConnected`.
- Modified data handling in `WalletDistributionChartCard` to aggregate wallet stats correctly.
- Updated rendering logic to reflect changes in chart data and labels.

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 10-11-only_show_top_10_wallets_in_connect_analytics_remove_dynamically_generated_colors branch from 5660ce4 to 79f029c Compare October 11, 2024 18:30
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 11, 2024 18:30 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 11, 2024 18:30 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 11, 2024 18:30 Inactive
@graphite-app graphite-app bot merged commit 79f029c into main Oct 11, 2024
31 checks passed
@graphite-app graphite-app bot deleted the 10-11-only_show_top_10_wallets_in_connect_analytics_remove_dynamically_generated_colors branch October 11, 2024 18:40
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 11, 2024 18:40 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 11, 2024 18:40 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 October 11, 2024 18:40 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants