9024 Commits
Author SHA1 Message Date
Joaquim Vergesandgithub-actions[bot] 35b7a0e991 Version Packages (#6290)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] [email protected]
2025-02-18 10:43:34 -08:00
MananTank ee951926fb [TOOL-3453] Dashboard: Fix NFT Metadata issues when adding media URLs instead of uploading (#6288)
=

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the NFT metadata handling in the dashboard application, specifically renaming and refactoring properties related to custom images and animations, improving form handling, and enhancing user interface elements.

### Detailed summary
- Updated documentation link in `next-env.d.ts`.
- Changed `customImage` and `customAnimationUrl` to `image` and `animation_url` in multiple components.
- Updated titles and headers for improved clarity in forms.
- Enhanced form controls with better error handling and user feedback.
- Adjusted layout and spacing in several components for better usability.

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

<!-- end pr-codex -->
2025-02-18 18:28:32 +00:00
Joaquim Verges 5abbae7368 [thirdweb] fix: Respect buyWithFiat setting in PayEmbed (#6289) 2025-02-18 10:28:03 -08:00
Joaquim Vergesandgithub-actions[bot] b98c228f26 Version Packages (#6280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] [email protected]
2025-02-18 19:01:01 +13:00
Joaquim Verges 5a08176eb0 [thirdweb] fix: Respect supportedTokens override in PayEmbed (#6283) 2025-02-18 18:04:20 +13:00
Jonas Daniels 647c285136 add abstract chain to supported networks (#6284) 2025-02-17 20:16:06 -08:00
Joaquim Verges 45ca0334bb [thirdweb] feat: Replace walletClient with wallet in viemAdapter (#6282) 2025-02-17 16:41:33 -08:00
Joaquim Verges a0f355717a [SDK] fix: Text wrapping and balance display in token selector (#6281) 2025-02-17 16:41:19 -08:00
Yash b182302f59 [SDK] bytes32 salt for deterministic deployment (#6274) 2025-02-17 13:50:49 -08:00
Joaquim Vergesandgithub-actions[bot] 942d20a5d9 Version Packages (#6266)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] [email protected]
2025-02-17 02:46:05 -08:00
Joaquim Verges 739a2ae3c5 [wagmi-adapter] fix: Improve autoconnect handling and storage (#6273) 2025-02-17 01:35:00 -08:00
Joaquim Verges 4158a796a8 [SDK] fix: Adjust swap summary border styling (#6272) 2025-02-17 00:12:52 -08:00
Joaquim Verges a258e7eaf0 [SDK] feat: Redesign token selection flow in PayEmbed (#6268) 2025-02-16 19:10:19 -08:00
warengonzaga e386ac9476 Update page.mdx (#6270)
Update "extension" to "extensions"

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the import path for the `balanceOf` function from the `thirdweb/extension/erc1155` to `thirdweb/extensions/erc1155`, ensuring that the correct module is referenced for checking wallet balances.

### Detailed summary
- Changed the import statement for `balanceOf` from `thirdweb/extension/erc1155` to `thirdweb/extensions/erc1155`.
- Added a newline at the end of the file.

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

<!-- end pr-codex -->
2025-02-17 03:01:03 +00:00
Joaquim Verges 0574eac02c [SDK] feat: Enable chain switching for EIP1193 provider (#6269) 2025-02-16 14:03:13 -08:00
greg 52cbcd2d57 [Pay] Fix: fix fiat value to 2 decimals (#6243) 2025-02-15 12:54:12 -08:00
Joaquim Verges 387891dde0 [SDK] feat: Redesign payment method selector UI (#6265) 2025-02-15 12:53:45 -08:00
Joaquim Verges 562c534d37 [SDK] feat: new PayEmbed UI for selecting tokens (#6257) 2025-02-15 12:52:40 -08:00
MananTank b882e29935 [TOOL-3430] SDK: Fix ConnectEmbed showing a flash of Sign In prompt screen even if user is already signed in (#6262)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on improving the user experience in the `ConnectEmbed` component by addressing the display of a "Sign In" prompt when the login status is uncertain. Instead, it shows a loading indicator during this period.

### Detailed summary
- Updated the condition for rendering the loading screen in `SignatureScreen.tsx`.
- The loading screen is now shown if either `wallet` is not available or `siweAuth.isLoading` is true, enhancing user feedback during the login process.

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

<!-- end pr-codex -->
2025-02-15 08:43:56 +00:00
MananTank 9ad1d3cbbf [TOOL-3429] Dashboard: Delete Insight playground, Add Playground Link (#6261)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/fb78547c-031f-44e0-bbd3-410a534d237d.png)
2025-02-15 02:10:24 +00:00
MananTank aab3da0729 [TOOL-3431] Dashboard: Add toggle theme button on logged out page header and other UI tweaks (#6263)
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on refactoring components related to the `TeamHeader` and `HeaderLoggedOut`, improving code organization and consistency, and updating UI elements for better styling.

### Detailed summary
- Renamed `TeamHeaderLoggedOut` to `HeaderLoggedOut` and updated its import paths.
- Consolidated the header components for logged-out states.
- Changed class names for styling consistency.
- Refactored color mode toggle component to `ToggleThemeButton`.
- Updated button variants and styles in several components.
- Adjusted layout and spacing in various UI elements for improved design.

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

<!-- end pr-codex -->
2025-02-15 01:51:40 +00:00
kumaryash90 78c9d2fe13 [Dashboard] Crosschain tab UI fixes (#6264)
TOOL-3433

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the user experience in the dashboard by improving messaging for contract deployment, adding asynchronous handling for network selection, and integrating a mutation for adding chains, which provides feedback during the process.

### Detailed summary
- Updated message in `no-crosschain-prompt.tsx` to clarify contract functionality.
- Modified `SingleNetworkSelector` to include `isAddingRow` prop and changed `handleChange` to be asynchronous.
- Added mutation for adding rows in `DataTable`, with feedback for processing and error states.
- Removed redundant `handleAddRow` function from `DataTable`.

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

<!-- end pr-codex -->
2025-02-14 22:11:22 +00:00
GWSzeto 557d3e3dbd [Dashboard] Feature: UI for crosschain modules (#5399)
https://linear.app/thirdweb/project/[modular-contracts]-op-interoperability-module-87740e1390a9/overview

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces new features and improvements related to cross-chain contract deployment in the `thirdweb` framework, enhancing functionality and usability for developers.

### Detailed summary
- Added `getDeployedCloneFactoryContract` export in `contract.ts`.
- Introduced `moduleInstalledEvent` export in `modules.ts`.
- Updated TypeScript documentation links.
- Enhanced sidebar links in `getContractPageSidebarLinks.ts`.
- Improved `namehash.ts` with typed return value.
- Created `NoCrossChainPrompt` component for user feedback.
- Added `nonce` and `initializeData` options in `installPublishedModule.ts`.
- Updated event handling for `ProxyDeployedV2`.
- Implemented cross-chain deployment logic in various files.
- Updated tests to cover new cross-chain functionality.
- Refactored contract deployment methods to support new parameters.

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

<!-- end pr-codex -->
2025-02-14 18:46:16 +00:00
Jonas Daniels 06d6504545 add teamId parameter to webhook endpoints (#6260) 2025-02-14 07:48:54 -08:00
kumaryash90 e201e3d423 Handle single unnamed param (#6242)
TOOL-3401

Dashboard handles single unnamed param as "*". Handle this in sdk. Throw error for all other cases.

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `normalizeFunctionParams` function to handle cases where parameter names may be missing or empty. It introduces error handling for unnamed parameters and updates the associated tests to cover these scenarios.

### Detailed summary
- Updated the condition to check for both `undefined` and empty string in parameter names.
- Added a comment for future handling of multiple unnamed parameters.
- Modified test cases to include checks for empty parameter names.
- Ensured that unnamed parameters can be accessed via the `params["*"]` syntax.

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

<!-- end pr-codex -->
2025-02-14 06:22:30 +00:00
Jonas Daniels c8ef941d8e fetch gas sponsored chains from API instead of hardcoding (#6256) 2025-02-13 22:21:12 -08:00
gregfromstl 39a5b5c8a3 [Portal] Docs: Get Users Docs (#6255)
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the user experience by adding a new feature to fetch users through an API and updating the API endpoint for wallet pregeneration.

### Detailed summary
- Added a new menu item `Fetch Users` in `sidebar.tsx`.
- Updated the API endpoint in `page.mdx` for wallet pregeneration.
- Introduced documentation for fetching users via REST API in `get-users/page.mdx`.
- Provided example curl command and response format for the new feature.

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

<!-- end pr-codex -->
2025-02-14 04:08:25 +00:00
MananTank 6f381d768c [TOOL-3378] Dashboard: Add Contract to Project UI updates (#6233)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on refactoring and improving the structure of the dashboard application by removing obsolete files, enhancing component functionality, and updating UI elements for better user experience.

### Detailed summary
- Deleted several unused files related to contract management.
- Updated `className` properties for better styling consistency.
- Added `accountAddress` prop to various components for enhanced functionality.
- Introduced new hooks and functions for managing project contracts.
- Improved error handling in contract import functionality.
- Enhanced UI components for better responsiveness and clarity.

> The following files were skipped due to too many changes: `apps/dashboard/src/components/contract-components/tables/cells.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/add-to-project-card.tsx`, `apps/dashboard/src/components/smart-wallets/AccountFactories/index.tsx`, `apps/dashboard/src/components/contract-components/contract-deploy-form/custom-contract.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_layout/primary-dashboard-button.tsx`, `apps/dashboard/src/components/contract-components/tables/contract-table.tsx`

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

<!-- end pr-codex -->
2025-02-14 01:41:11 +00:00
MananTank 0c5a51c5bf [TOOL-3243] Dashboard: Add redirect for support old engine import link (#6254)
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the `Page` function in `page.tsx` to handle `searchParams`, allowing for an import URL to trigger a redirect when present.

### Detailed summary
- Added `searchParams` to the `Page` function's props.
- Used `Promise.all` to await both `params` and `searchParams`.
- Implemented a redirect to an import URL if `searchParams.importUrl` is provided.

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

<!-- end pr-codex -->
2025-02-13 23:45:52 +00:00
MananTank 90428b4574 [TOOL-3422] Dashboard: Remove unused assets, Add Delete script (#6253)
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the deletion of numerous unused asset files from the `apps/dashboard/public/assets` directory and introduces a script for managing the deletion of these files.

### Detailed summary
- Deleted multiple unused asset files from various directories in `apps/dashboard/public/assets`.
- Introduced `deleteUnusedAssets.ts` script to handle the deletion of specified files.
- Added functionality to log deleted files and handle errors when files are not found.

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

<!-- end pr-codex -->
2025-02-13 19:54:05 +00:00
MananTank e24547bed1 [NEB-95] Dashboard: Fix Nebula analytics crash, add missing use client directive (#6252) 2025-02-13 18:58:25 +00:00
MananTank 3ff8c3fbb2 [NEB-95] Dashboard: Nebula Analytics UI updates (#6248)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/6a8f069c-904b-447b-8757-54dde4b13c84.png)

<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on enhancing the `ThirdwebBarChart` and `ThirdwebAreaChart` components by introducing a `header` prop for improved chart display, modifying chart aspect ratios, and refining random data generation for analytics. It also updates the `NebulaAnalyticsPage` structure.

### Detailed summary
- Added `header` prop to `ThirdwebBarChart` and `ThirdwebAreaChart` for titles and descriptions.
- Changed aspect ratio from `lg:aspect-[4.5]` to `lg:aspect-[3.5]` in `Analytics.tsx`.
- Updated import path for `NebulaAnalyticsPage`.
- Refined random data generation logic in `nebula-analytics-ui.stories.tsx`.
- Improved chart configurations in multiple analytics components.
- Introduced `AnalyticsChart` component for better organization of chart data and props.
- Adjusted styling and structure of various charts for consistency.

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

<!-- end pr-codex -->
2025-02-13 17:56:48 +00:00
MananTank 4bd03b06e7 [TOOL-3415] Dashboard: Fix Explore page header showing logged out state (#6250) 2025-02-13 15:12:38 +00:00
Jonas Daniels b7158c2b54 add projectId parameter to pay analytics components (#6245) 2025-02-12 21:54:34 -08:00
Joaquim Vergesandgithub-actions[bot] 5f26883fbd Version Packages (#6247)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] [email protected]
2025-02-12 19:38:31 -08:00
Joaquim Verges 98b6198687 [SDK] fix: Prevent popup when using auth redirect mode (#6246) 2025-02-12 19:31:09 -08:00
Joaquim Vergesandgithub-actions[bot] 880148b793 Version Packages (#6241)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] [email protected]
2025-02-12 14:34:11 -08:00
Joaquim Verges ee1bc3eb07 [SDK] fix: show token + dollar values for wallet balances (#6240) 2025-02-12 14:20:16 -08:00
MananTank e9ab8cb770 [TOOL-3398] Dashboard: Fix DialogOverlay and DialogContent missing default shadcn z-index (#6239) 2025-02-12 21:08:03 +00:00
MananTank 9c33981b72 [TOOL-3396] Dashboard: Fix inputMode for OTP input, Use text instead of default numeric (#6238) 2025-02-12 11:43:10 +00:00
Joaquim Vergesandgithub-actions[bot] c645b42684 Version Packages (#6208)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@thirdweb-dev/[email protected] @thirdweb-dev/[email protected] [email protected]
2025-02-12 01:36:43 -08:00
Joaquim Verges 7583074c06 Update page.mdx (#6235)
Signed-off-by: Joaquim Verges <[email protected]>
2025-02-12 01:30:39 -08:00
Joaquim Verges fbafb65f5c [SDK] fix: Polish PayEmbed UI and balance display (#6237) 2025-02-12 01:30:20 -08:00
Joaquim Verges 6b286c7e83 [SDK] fix: Disable amount editing for non-wallet funding modes (#6236) 2025-02-12 01:23:28 -08:00
joaquim-verges 159ffbfaee [SDK] feat: Add verifyClaim export and canClaim function (#6234)
Fixes TOOL-3381

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on exposing the `canClaim` extension function for ERC20, ERC721, and ERC1155 drops, allowing for better claim verification and improving the overall functionality of the drops system.

### Detailed summary
- Added `canClaim` function to `erc20`, `erc721`, and `erc1155` extensions.
- Updated tests to include `canClaim` functionality.
- Modified JSON ABI files to include `verifyClaim` function.
- Adjusted gas values in tests.
- Enhanced error handling in `extract-error.ts`.

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

<!-- end pr-codex -->
2025-02-12 07:56:01 +00:00
kumaryash90 0c1bb6ccae [Dashboard] Deploy config updates (#6159)
TOOL-3389

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a default fee configuration for contract deployments, updates the handling of platform fees, and improves the UI components related to fee management, ensuring that default values are used consistently throughout the application.

### Detailed summary
- Added `DEFAULT_FEE_RECIPIENT` and `DEFAULT_FEE_BPS` to `addresses.ts`.
- Introduced `hasDefaultFeeConfig` in `ContractSettingsPage`.
- Filtered out specific functions related to platform fees in `contract-function.tsx`.
- Integrated platform fee logic in `CustomContractForm`.
- Updated `PlatformFeeFieldset` to reflect marketplace conditions.

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

<!-- end pr-codex -->
2025-02-11 22:00:08 +00:00
Shubham Parkhi dceb47de8b [SDK/Dashboard/Portal] Feature/Fix: fix typo in docs (#6229)
Signed-off-by: Shubham Parkhi <[email protected]>
2025-02-10 21:19:02 -08:00
Jonas Daniels dfbdbd06e5 use supportPlan instead of billingPlan for support tickets (#6228) 2025-02-10 21:17:24 -08:00
jcandJoaquim Verges 66bbedbe3a [SDK] Feature: add treasure and treasure topaz (#6191)
Co-authored-by: Joaquim Verges <[email protected]>
2025-02-10 19:42:15 -08:00
Joaquim Verges 2fbf105d15 [SDK] fix: Disable quote retries and show fiat values (#6210) 2025-02-10 19:41:42 -08:00