Skip to content
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

Add Engine pages to teams (chakra) #4456

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Sep 7, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on restructuring components related to engine management in the dashboard.

Detailed summary

  • Deleted page.tsx in team/[team_slug]/[project_slug]/engine
  • Updated component paths for engine management
  • Added new types for engine instances
  • Added new pages for creating and importing engines
  • Updated page layouts and styling
  • Updated sidebar links for engine management pages

The following files were skipped due to too many changes: apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/layout.tsx, apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx, apps/dashboard/src/@/components/blocks/MobileSidebar.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/page.tsx, apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/metrics/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/admins/page.tsx, apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/_components/sidebar/TeamsMobileNav.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/relayers/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/explorer/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/webhooks/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/access-tokens/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/configuration/page.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/contract-subscriptions/page.tsx, apps/dashboard/src/pages/dashboard/engine/index.tsx, apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/layout.tsx, apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/sidebars.tsx, apps/dashboard/src/components/engine/engine-instances-table.tsx, apps/dashboard/src/@/components/ChakraProviderSetup.tsx, apps/dashboard/src/@/components/ui/NavLink.tsx, apps/dashboard/src/app/team/[team_slug]/components/account-button.client.tsx, apps/dashboard/src/components/engine/EnginePage.tsx, apps/dashboard/src/components/engine/EngineSidebar.tsx, apps/dashboard/src/components/engine/create/ConfirmEngineTierDialog.tsx, apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx, apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/ManageMembersSection.tsx, apps/dashboard/src/components/engine/engine-list.tsx, apps/dashboard/src/components/engine/import/EngineImportPage.tsx, apps/dashboard/src/components/engine/create/CreateEnginePage.tsx, apps/dashboard/src/pages/dashboard/engine/import.tsx, apps/dashboard/src/pages/dashboard/engine/create.tsx, apps/dashboard/src/components/engine/EnginePageLayout.tsx

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

Copy link

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

@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 14:23 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 14:23 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 14:23 Inactive
Copy link

changeset-bot bot commented Sep 7, 2024

⚠️ No Changeset found

Latest commit: aae9040

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

Copy link

graphite-app bot commented Sep 7, 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 September 7, 2024 14:23
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Sep 7, 2024
Copy link
Member Author

MananTank commented Sep 7, 2024

Copy link

codecov bot commented Sep 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.76%. Comparing base (2aadeb7) to head (aae9040).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4456   +/-   ##
=======================================
  Coverage   47.76%   47.76%           
=======================================
  Files        1014     1014           
  Lines       53277    53277           
  Branches     3701     3701           
=======================================
  Hits        25446    25446           
  Misses      27147    27147           
  Partials      684      684           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 2aadeb7
packages 43.16% <ø> (ø)

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

Copy link
Contributor

github-actions bot commented Sep 7, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.3 KB (0%) 866 ms (0%) 704 ms (+22.66% 🔺) 1.6 s
thirdweb (cjs) 100.41 KB (0%) 2.1 s (0%) 1.2 s (-1.84% 🔽) 3.2 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 27 ms (-20.17% 🔽) 123 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 89 ms (+395.31% 🔺) 99 ms
thirdweb/react (minimal + tree-shaking) 16.67 KB (0%) 334 ms (0%) 79 ms (-17.05% 🔽) 413 ms

@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from 60d3931 to 3ce15d9 Compare September 7, 2024 14:44
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 14:44 Inactive
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from 3ce15d9 to a2a4b99 Compare September 7, 2024 14:44
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 14:44 Inactive
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from a2a4b99 to ead0e58 Compare September 7, 2024 15:05
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 15:05 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 15:05 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 15:05 Inactive
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from ead0e58 to e2e571f Compare September 7, 2024 16:06
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 16:06 Inactive
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from 9f0087d to 70c2d1d Compare September 7, 2024 16:43
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 16:43 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 16:43 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 16:43 Inactive
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from 70c2d1d to 738dc5b Compare September 7, 2024 16:52
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 16:52 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 16:52 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 16:52 Inactive
@MananTank MananTank changed the title WIP - Add Engine pages to teams Add Engine pages to teams Sep 7, 2024
@MananTank MananTank changed the title Add Engine pages to teams Add Engine pages to teams (chakra) Sep 7, 2024
Copy link

graphite-app bot commented Sep 7, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on restructuring file paths and components related to engine management in the dashboard.

### Detailed summary
- Moved `engine-access-tokens.tsx` to `permissions` folder
- Added `EngineInstancePageProps` type in `types.ts`
- Created new pages for engine creation and import
- Updated various components related to engine management
- Refactored file paths for better organization

> The following files were skipped due to too many changes: `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/layout.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`, `apps/dashboard/src/@/components/blocks/MobileSidebar.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/page.tsx`, `apps/dashboard/src/app/components/Header/TeamHeader/TeamHeaderUI.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/metrics/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/admins/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/_components/sidebar/TeamsMobileNav.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/relayers/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/explorer/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/webhooks/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/access-tokens/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/configuration/page.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(instance)/[engineId]/contract-subscriptions/page.tsx`, `apps/dashboard/src/pages/dashboard/engine/index.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/TeamOverviewPage.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/layout.tsx`, `apps/dashboard/src/app/team/[team_slug]/[project_slug]/engine/(general)/sidebars.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/@/components/ChakraProviderSetup.tsx`, `apps/dashboard/src/@/components/ui/NavLink.tsx`, `apps/dashboard/src/app/team/[team_slug]/components/account-button.client.tsx`, `apps/dashboard/src/components/engine/EnginePage.tsx`, `apps/dashboard/src/components/engine/EngineSidebar.tsx`, `apps/dashboard/src/components/engine/create/ConfirmEngineTierDialog.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/InviteSection.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/members/ManageMembersSection.tsx`, `apps/dashboard/src/components/engine/engine-list.tsx`, `apps/dashboard/src/components/engine/import/EngineImportPage.tsx`, `apps/dashboard/src/components/engine/create/CreateEnginePage.tsx`, `apps/dashboard/src/pages/dashboard/engine/import.tsx`, `apps/dashboard/src/pages/dashboard/engine/create.tsx`, `apps/dashboard/src/components/engine/EnginePageLayout.tsx`

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

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 09-07-wip_-_add_engine_pages_to_teams branch from 738dc5b to aae9040 Compare September 7, 2024 21:55
@vercel vercel bot temporarily deployed to Preview – docs-v2 September 7, 2024 21:55 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui September 7, 2024 21:55 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground September 7, 2024 21:55 Inactive
@graphite-app graphite-app bot merged commit aae9040 into main Sep 7, 2024
32 checks passed
@graphite-app graphite-app bot deleted the 09-07-wip_-_add_engine_pages_to_teams branch September 7, 2024 22:08
@vercel vercel bot temporarily deployed to Production – docs-v2 September 7, 2024 22:08 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground September 7, 2024 22:08 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui September 7, 2024 22:08 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.

2 participants