Skip to content

[TOOL-3337] Dashboard: Engine cloud #6639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 104 commits into from
May 7, 2025
Merged

[TOOL-3337] Dashboard: Engine cloud #6639

merged 104 commits into from
May 7, 2025

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Apr 3, 2025


PR-Codex overview

This PR introduces significant updates to the engine and vault-sdk components, enhances project structure, and improves functionality across various files, particularly around team and project management in the dashboard.

Detailed summary

  • Added vault-sdk with utilities for key management.
  • Updated engine exports in packages/thirdweb/src/exports/engine.ts.
  • Modified multiple layout and page files to support project slug.
  • Enhanced alert management descriptions for managed engines.
  • Improved API integration for transactions and analytics.
  • Updated types and configurations for better type safety.
  • Refactored components to streamline code and improve readability.

The following files were skipped due to too many changes: apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/engine/(instance)/[engineId]/overview/components/create-backend-wallet-button.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/engine/(instance)/[engineId]/layout.tsx, apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/page.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/page.tsx, package.json, packages/engine/package.json, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-chart/tx-chart.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/engine/(general)/_components.tsx, packages/vault-sdk/package.json, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-table/types.ts, apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/engine/(instance)/[engineId]/overview/components/engine-overview.tsx, packages/engine/tsconfig.base.json, packages/vault-sdk/tsconfig.base.json, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/layout.tsx, packages/thirdweb/package.json, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/page.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/dedicated/(general)/layout.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/summary.tsx, packages/vault-sdk/src/transaction-types.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/vault/components/key-management.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/engine/(general)/overview/engine-instances-table.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/ftux.client.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/components/create-server-wallet.client.tsx, packages/thirdweb/src/engine/get-status.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/lib/analytics.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/lib/vault.client.ts, packages/vault-sdk/CHANGELOG.md, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/wallet-table/wallet-table-ui.client.tsx, packages/thirdweb/src/engine/server-wallet.test.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-chart/tx-chart-ui.tsx, packages/engine/src/client/sdk.gen.ts, packages/thirdweb/src/engine/server-wallet.ts, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/send-test-tx.client.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/vault/components/create-vault-account.client.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/vault/components/rotate-admin-key.client.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/tx/[id]/transaction-details-ui.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/vault/components/list-access-tokens.client.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/tx-table/tx-table-ui.tsx, apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/server-wallets/components/try-it-out.tsx, packages/vault-sdk/src/types.ts, packages/vault-sdk/src/sdk.ts, packages/engine/src/client/types.gen.ts, packages/vault-sdk/src/transaction-parser.ts, pnpm-lock.yaml

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

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 3, 2025 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 3, 2025 20:01 Inactive
Copy link

vercel bot commented Apr 3, 2025

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 10:09am
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 10:09am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 10:09am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 10:09am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2025 10:09am

Copy link

linear bot commented Apr 3, 2025

@vercel vercel bot temporarily deployed to Preview – login April 3, 2025 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 3, 2025 20:01 Inactive
Copy link

changeset-bot bot commented Apr 3, 2025

🦋 Changeset detected

Latest commit: 63e4f2f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@thirdweb-dev/vault-sdk Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Apr 3, 2025
Copy link
Member Author

MananTank commented Apr 3, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.21%. Comparing base (636788b) to head (248816e).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6639   +/-   ##
=======================================
  Coverage   55.21%   55.21%           
=======================================
  Files         896      896           
  Lines       57057    57057           
  Branches     3955     3955           
=======================================
  Hits        31506    31506           
  Misses      25454    25454           
  Partials       97       97           
Flag Coverage Δ
packages 55.21% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MananTank MananTank changed the title [TOOL-3337] Dashboard: Add Transactions pages in project layout [TOOL-3337] Dashboard: Add Transactions pages in project layout - DO NOT MERGE Apr 3, 2025
Copy link
Contributor

github-actions bot commented Apr 3, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 53.77 KB (+5.41% 🔺) 1.1 s (+5.41% 🔺) 322 ms (+184.73% 🔺) 1.4 s
thirdweb (cjs) 144.21 KB (+0.65% 🔺) 2.9 s (+0.65% 🔺) 462 ms (+78.22% 🔺) 3.4 s
thirdweb (minimal + tree-shaking) 5.68 KB (+0.04% 🔺) 114 ms (+0.04% 🔺) 114 ms (+1460.8% 🔺) 228 ms
thirdweb/chains (tree-shaking) 524 B (+1.95% 🔺) 11 ms (+1.95% 🔺) 51 ms (+792.07% 🔺) 61 ms
thirdweb/react (minimal + tree-shaking) 19.48 KB (+0.05% 🔺) 390 ms (+0.05% 🔺) 163 ms (+662.19% 🔺) 553 ms

@vercel vercel bot temporarily deployed to Preview – wallet-ui May 6, 2025 09:03 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 6, 2025 09:03 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 6, 2025 09:03 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 6, 2025 09:03 Inactive
@joaquim-verges joaquim-verges marked this pull request as ready for review May 7, 2025 18:52
@joaquim-verges joaquim-verges requested review from jnsdls, joaquim-verges and a team as code owners May 7, 2025 18:52
@joaquim-verges joaquim-verges merged commit c81fed3 into main May 7, 2025
21 of 22 checks passed
@joaquim-verges joaquim-verges deleted the tool-3337 branch May 7, 2025 18:53
@joaquim-verges joaquim-verges mentioned this pull request May 7, 2025
@MananTank MananTank changed the title [TOOL-3337] Dashboard: Engine cloud - DO NOT MERGE [TOOL-3337] Dashboard: Engine cloud May 8, 2025
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. packages Portal Involves changes to the Portal (docs) codebase. SDK Involves changes to the thirdweb SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants