Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 15, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on refactoring the import statements and updating the structure of the AccountsPage and related components to improve organization and maintainability.

Detailed summary

  • Updated import path for AccountsPage in apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/accounts/page.tsx.
  • Removed relative import of useChainSlug in accounts-table.tsx and replaced it with a direct import.
  • Added a new import for useChainSlug in apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/accounts/components/accounts-table.tsx.

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

@changeset-bot
Copy link

changeset-bot bot commented Oct 15, 2024

⚠️ No Changeset found

Latest commit: 0159983

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

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 15, 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 15, 2024 22:01
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 15, 2024
@codecov
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.30%. Comparing base (ec10e81) to head (0159983).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5044   +/-   ##
=======================================
  Coverage   45.30%   45.30%           
=======================================
  Files        1059     1059           
  Lines       54714    54714           
  Branches     3953     3953           
=======================================
  Hits        24787    24787           
  Misses      29236    29236           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from ec10e81
packages 40.24% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 15, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 42.77 KB (0%) 856 ms (0%) 2.8 s (+2.85% 🔺) 3.6 s
thirdweb (cjs) 102.62 KB (0%) 2.1 s (0%) 4.5 s (-12.46% 🔽) 6.6 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 198 ms (-27.96% 🔽) 295 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 104 ms (+4.79% 🔺) 114 ms
thirdweb/react (minimal + tree-shaking) 17.35 KB (0%) 347 ms (0%) 644 ms (+20.91% 🔺) 991 ms

@MananTank MananTank force-pushed the 10-16-move_account-permissions_page_components_in_app_router_folder_no_code_change_ branch from 396db14 to cee0a0c Compare October 15, 2024 22:05
@MananTank MananTank force-pushed the 10-16-move__accounts_contract_page_in_app_router_folder_no_code_change_ branch from 7ba8e19 to 257f10b Compare October 15, 2024 22:05
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 15, 2024 22:05 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 15, 2024 22:05 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 15, 2024 22:05 Inactive
@jnsdls jnsdls force-pushed the 10-16-move_account-permissions_page_components_in_app_router_folder_no_code_change_ branch from cee0a0c to eaf303b Compare October 15, 2024 22:13
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 15, 2024

Merge activity

Base automatically changed from 10-16-move_account-permissions_page_components_in_app_router_folder_no_code_change_ to main October 15, 2024 22:16
…5044)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring the structure of account-related components in the dashboard, improving import paths for better clarity and maintainability.

### Detailed summary
- Updated the import path for `AccountsPage` in `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/accounts/page.tsx`.
- Removed an unnecessary import of `useChainSlug` in `accounts-table.tsx` and replaced it with a direct import.
- Added `useChainSlug` import in `accounts-table.tsx` from a new path.

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

<!-- end pr-codex -->
@jnsdls jnsdls force-pushed the 10-16-move__accounts_contract_page_in_app_router_folder_no_code_change_ branch from 257f10b to 0159983 Compare October 15, 2024 22:27
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 15, 2024 22:27 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 15, 2024 22:27 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 15, 2024 22:27 Inactive
@graphite-app graphite-app bot merged commit 0159983 into main Oct 15, 2024
31 checks passed
@graphite-app graphite-app bot deleted the 10-16-move__accounts_contract_page_in_app_router_folder_no_code_change_ branch October 15, 2024 22:42
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 15, 2024 22:42 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 October 15, 2024 22:42 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 15, 2024 22:42 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