Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Oct 22, 2024

Screenshot 2024-10-21 at 6 23 23 PM

PR-Codex overview

This PR introduces a new component, DocLink, and replaces inline link implementations with this reusable component across various charts. It also enhances the EmptyChartState component to accept children, allowing for customizable messages and links.

Detailed summary

  • Added DocLink component in DocLink.tsx.
  • Removed inline link implementations in ConnectSDKCard.tsx, WalletConnectorsChartCard.tsx, WalletDistributionChartCard.tsx, DailyConnectionsChartCard.tsx, TotalSponsoredChartCard.tsx, and SponsoredTransactionsChartCard.tsx.
  • Updated EmptyChartState to accept children for customizable content.
  • Integrated DocLink for wallet connection instructions in multiple chart components.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2024

⚠️ No Changeset found

Latest commit: dd77c7f

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

@graphite-app
Copy link
Contributor

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

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 22, 2024
@codecov
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.28%. Comparing base (9c3ff94) to head (dd77c7f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5121   +/-   ##
=======================================
  Coverage   45.28%   45.28%           
=======================================
  Files        1060     1060           
  Lines       54831    54831           
  Branches     3955     3955           
=======================================
  Hits        24832    24832           
  Misses      29308    29308           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 9c3ff94
packages 40.23% <ø> (ø)

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

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 22, 2024 05:53 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 22, 2024 05:53 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 22, 2024 05:53 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.81 KB (0%) 857 ms (0%) 528 ms (+5.25% 🔺) 1.4 s
thirdweb (cjs) 102.66 KB (0%) 2.1 s (0%) 758 ms (+12.2% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 32 ms (-61.41% 🔽) 128 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 6 ms (+0.43% 🔺) 16 ms
thirdweb/react (minimal + tree-shaking) 17.36 KB (0%) 348 ms (0%) 117 ms (+87.48% 🔺) 464 ms

<EmptyChartState />
<EmptyChartState>
<div className="flex flex-col items-center justify-center">
<span className="mb-6 text-lg">Get started with wallets</span>
Copy link
Member

Choose a reason for hiding this comment

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

How about "Send your first connect event"

<EmptyChartState>
<div className="flex flex-col items-center justify-center">
<span className="mb-6 text-lg">
Send smart account transactions
Copy link
Member

Choose a reason for hiding this comment

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

Same here, "send your first smart account transaction"

/>
<DocLink
link="https://portal.thirdweb.com/typescript/v5/supported-wallets"
label="React Native"
Copy link
Member

Choose a reason for hiding this comment

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

No unity / DotNet / unreal links for this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't see anything that might correspond in their docs since they only have in-app wallets

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

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

Great start! Left a couple of comments but feel free to merge and iterate

@gregfromstl gregfromstl self-assigned this Oct 22, 2024
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 22, 2024 19:10 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 22, 2024 19:10 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 22, 2024 19:10 Inactive
@gregfromstl gregfromstl added the merge-queue Adds the pull request to Graphite's merge queue. label Oct 22, 2024
Copy link
Contributor Author

gregfromstl commented Oct 22, 2024

Merge activity

  • Oct 22, 3:12 PM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 22, 3:20 PM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 22, 3:31 PM EDT: A user merged this pull request with the Graphite merge queue.

<img width="968" alt="Screenshot 2024-10-21 at 6 23 23 PM" src="https://github.com/user-attachments/assets/86000f33-2041-4d3a-b084-b6367e61f032">

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `DocLink` component for better link handling and integrating it into various chart components for improved user guidance on wallet connections and transactions.

### Detailed summary
- Added `DocLink` component in `DocLink.tsx`.
- Refactored `ConnectSDKCard` to use `DocLink` instead of its previous implementation.
- Modified `EmptyChartState` to accept `children` for customizable content.
- Integrated `DocLink` into multiple chart components, providing links for wallet integration guidance.

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 22, 2024 19:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 22, 2024 19:21 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 22, 2024 19:21 Inactive
@graphite-app graphite-app bot merged commit dd77c7f into main Oct 22, 2024
31 checks passed
@graphite-app graphite-app bot deleted the feat/analytics-ui branch October 22, 2024 19:31
@vercel vercel bot temporarily deployed to Production – docs-v2 October 22, 2024 19:31 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 22, 2024 19:31 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 22, 2024 19:31 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. merge-queue Adds the pull request to Graphite's merge queue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants