Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Oct 8, 2024

  • Adds support for configuring creds for AWS + GCP independently
  • Moves all touched UI to tailwind
  • Import / Create wallet buttons allow selecting the wallet type
  • Unrelated: Moved version upgrade button to the new enpdoint. Will deprecate the old one.

PR-Codex overview

This PR focuses on enhancing the handling of backend wallet configurations in the engine module. It introduces new components and updates existing ones to improve the integration of local, AWS KMS, and GCP KMS wallets, along with better feature support checks.

Detailed summary

  • Removed instanceUrl prop in favor of instance for several components.
  • Introduced LocalConfig component for local wallet setup.
  • Updated EngineWalletConfig to manage wallet types more efficiently.
  • Added support for EngineBackendWalletType and related options.
  • Enhanced form handling for wallet configurations using React Hook Form.
  • Improved validation and user feedback for wallet import and creation.
  • Simplified the usage of wallet configuration hooks across components.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2024

⚠️ No Changeset found

Latest commit: 4672475

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

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

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.77%. Comparing base (926d823) to head (4672475).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4956   +/-   ##
=======================================
  Coverage   47.77%   47.77%           
=======================================
  Files        1058     1058           
  Lines       57276    57276           
  Branches     3947     3947           
=======================================
  Hits        27362    27362           
  Misses      29223    29223           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 926d823
packages 43.57% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.07 KB (0%) 842 ms (0%) 231 ms (-25.37% 🔽) 1.1 s
thirdweb (cjs) 101.87 KB (0%) 2.1 s (0%) 645 ms (-3.52% 🔽) 2.7 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 32 ms (-9.03% 🔽) 128 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 25 ms (+362.79% 🔺) 35 ms
thirdweb/react (minimal + tree-shaking) 17.24 KB (0%) 345 ms (0%) 127 ms (+100.48% 🔺) 472 ms

@vercel vercel bot temporarily deployed to Preview – docs-v2 October 9, 2024 18:59 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 9, 2024 18:59 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 9, 2024 18:59 Inactive
Copy link
Contributor Author

arcoraven commented Oct 14, 2024

Merge activity

  • Oct 14, 3:42 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 14, 3:42 PM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 14, 3:46 PM EDT: A user merged this pull request with the Graphite merge queue.

- Adds support for configuring creds for AWS + GCP independently
- Moves all touched UI to tailwind
- Import / Create wallet buttons allow selecting the wallet type
- Unrelated: Moved version upgrade button to the new enpdoint. Will deprecate the old one.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the engine configuration components to improve how instances and wallet configurations are handled, enhancing the overall clarity and functionality of the engine's wallet management features.

### Detailed summary
- Removed `instanceUrl` prop in favor of `instance` for components.
- Introduced `LocalConfig` component for local wallet configuration.
- Added support for multiple wallet types with `EngineBackendWalletOptions`.
- Updated wallet configuration forms to use a unified `Form` component.
- Improved error handling and user feedback for wallet operations.
- Enhanced dialog components for creating and importing backend wallets.

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 14, 2024 19:43 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 14, 2024 19:43 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 14, 2024 19:43 Inactive
@graphite-app graphite-app bot merged commit 4672475 into main Oct 14, 2024
30 checks passed
@graphite-app graphite-app bot deleted the ph/engineWallets branch October 14, 2024 19:46
@vercel vercel bot temporarily deployed to Production – docs-v2 October 14, 2024 19:46 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 14, 2024 19:46 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 14, 2024 19:46 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.

4 participants