7205 Commits
Author SHA1 Message Date
Manan Tank a5573046f1 Fix adding a chain as favorite not working in dashboard (#3711) 2024-07-16 17:33:18 +00:00
0xFirekeeper cae0e280fa Unity 4.16.7 (#3710)
Sync chains too

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates various chain configurations with corrected URLs, symbols, and RPC endpoints. It also adds icons and red flags for better identification.

### Detailed summary
- Corrected URLs, symbols, and RPC endpoints for multiple chains
- Added icons for chain identification
- Updated red flags for specific chains

> The following files were skipped due to too many changes: `legacy_packages/chains/chains/1116.ts`, `legacy_packages/chains/chains/48900.ts`, `legacy_packages/chains/chains/65536.ts`, `legacy_packages/chains/chains/28122024.ts`, `legacy_packages/chains/chains/1115.ts`, `legacy_packages/chains/chains/44787.ts`, `legacy_packages/chains/chains/31.ts`, `legacy_packages/chains/chains/16350.ts`, `legacy_packages/chains/chains/179.ts`, `legacy_packages/chains/chains/852.ts`, `legacy_packages/chains/chains/123321.ts`, `legacy_packages/chains/chains/2702128.ts`, `legacy_packages/chains/chains/46.ts`, `legacy_packages/chains/chains/1648.ts`, `legacy_packages/chains/chains/10096.ts`, `legacy_packages/chains/chains/190.ts`, `legacy_packages/chains/chains/16481.ts`, `legacy_packages/chains/chains/1578.ts`, `legacy_packages/chains/chains/178.ts`, `legacy_packages/chains/chains/77677.ts`, `legacy_packages/chains/chains/1223.ts`, `legacy_packages/chains/chains/245022929.ts`, `legacy_packages/chains/chains/1570.ts`, `legacy_packages/chains/chains/7774.ts`, `legacy_packages/chains/chains/1398243.ts`, `legacy_packages/chains/chains/187.ts`, `legacy_packages/chains/chains/1313.ts`, `legacy_packages/chains/chains/9496.ts`, `legacy_packages/chains/chains/328527.ts`, `legacy_packages/chains/chains/327126.ts`, `legacy_packages/chains/chains/8869.ts`, `legacy_packages/chains/chains/12227331.ts`, `legacy_packages/chains/chains/29732.ts`, `legacy_packages/chains/chains/184.ts`, `legacy_packages/chains/chains/19191.ts`, `legacy_packages/chains/chains/20240603.ts`, `legacy_packages/chains/chains/10241024.ts`, `legacy_packages/chains/chains/199991.ts`, `legacy_packages/chains/chains/1811.ts`, `legacy_packages/chains/chains/486487.ts`, `legacy_packages/chains/chains/59902.ts`, `legacy_packages/chains/chains/42026.ts`, `legacy_packages/chains/chains/55614.ts`, `legacy_packages/chains/chains/6550.ts`, `legacy_packages/chains/chains/261.ts`, `legacy_packages/chains/chains/15430.ts`, `legacy_packages/chains/chains/65100003.ts`, `legacy_packages/chains/chains/8022.ts`, `legacy_packages/chains/chains/55239.ts`, `legacy_packages/chains/chains/5566.ts`, `legacy_packages/chains/chains/292003.ts`, `legacy_packages/chains/chains/65357.ts`, `legacy_packages/chains/chains/56667.ts`, `legacy_packages/chains/chains/87566.ts`, `legacy_packages/chains/chains/65010003.ts`, `legacy_packages/chains/chains/16680.ts`, `legacy_packages/chains/chains/22562.ts`, `legacy_packages/chains/chains/57056.ts`, `legacy_packages/chains/chains/62454.ts`, `legacy_packages/chains/chains/62587.ts`, `legacy_packages/chains/chains/75991.ts`, `legacy_packages/chains/chains/22721.ts`, `legacy_packages/chains/chains/26945.ts`, `legacy_packages/chains/chains/85677.ts`, `legacy_packages/chains/chains/9302.ts`, `legacy_packages/chains/chains/40875.ts`, `legacy_packages/chains/chains/420000.ts`, `legacy_packages/chains/chains/19077.ts`, `legacy_packages/chains/chains/3338.ts`, `legacy_packages/chains/chains/86602.ts`, `legacy_packages/chains/chains/86225.ts`, `legacy_packages/chains/chains/99083.ts`, `legacy_packages/chains/chains/24076.ts`, `legacy_packages/chains/chains/17071.ts`, `legacy_packages/chains/chains/8886.ts`, `legacy_packages/chains/chains/16180.ts`, `legacy_packages/chains/chains/4444444.ts`, `legacy_packages/chains/chains/9372.ts`, `legacy_packages/chains/chains/2311.ts`, `legacy_packages/chains/chains/1456.ts`, `legacy_packages/chains/chains/6806.ts`, `legacy_packages/chains/chains/1903648807.ts`, `legacy_packages/chains/chains/646.ts`, `legacy_packages/chains/chains/4457845.ts`, `legacy_packages/chains/chains/325000.ts`, `legacy_packages/chains/chains/175177.ts`, `legacy_packages/chains/chains/7001.ts`, `legacy_packages/chains/src/index.ts`

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

<!-- end pr-codex -->
2024-07-16 17:00:19 +00:00
joaquim-verges 8e1a24a60e feat(pay): add recipient address support to PayEmbed (#3662)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds the recipient address feature to PayEmbed and refactors recipient address handling in various components.

### Detailed summary
- Added recipient address to PayEmbed for sending purchased tokens
- Refactored handling of recipient address in different screens and hooks
- Updated logic for onramp and swap processes based on recipient address

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

<!-- end pr-codex -->
2024-07-16 15:24:08 +00:00
Joaquim Verges aadbd33e9d fix(thirdweb): make client and chain mandatory in useWalletBalance (#3706) 2024-07-16 20:19:18 +12:00
joaquim-verges 1a09f46f24 feat(RN): support auth in React Native (#3708) 2024-07-16 05:55:45 +00:00
gregfromstl f8f6790da7 fix(auth): resolve typed data signatures issue in in-app wallet (#3707)
### TL;DR

- Added domain data for typed data signatures.
- Updated hooks and utilities to use `account` instead of `signer`.

### What changed?

- Modified `useRegistry.ts`, `hooks.ts`, and `utils.ts` to replace `signer` with `account` for signing transactions.
- Updated `in-app-account.ts` to correctly handle domain data for typed data signatures.

### How to test?

1. Deploy a contract using the dashboard and ensure that `account` is used correctly instead of `signer`.
2. Validate that typed data signatures are correctly generated in the in-app wallet.

### Why make this change?

To improve the accuracy and reliability of in-app wallet typed data signatures by ensuring the correct handling of domain data and consistent use of `account` across the application.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to fix in-app wallet typed data signatures and optimize contract-related functions.

### Detailed summary
- Fixed in-app wallet typed data signatures
- Updated contract-related functions for better optimization and clarity

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

<!-- end pr-codex -->
2024-07-16 05:38:11 +00:00
gregfromstl 73c74f11d4 feat(airdrop): add fetchProofsERC methods for ERC20, ERC721, and ERC1155 (#3709)
This update introduces new methods for fetching proofs for ERCXX tokens (specifically ERC20, ERC721, and ERC1155). The methods `fetchProofsERC20`, `fetchProofsERC721`, and `fetchProofsERC1155` have been added to the airdrop extension. These methods allow users to retrieve claim Merkle proofs for the specified address and tokens, ensuring that users in the allowlist can claim their airdrop. Additionally, example usage and detailed docstrings have been included to guide developers on how to implement these methods in their projects.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add `fetchProofsERCXX` methods for ERC721, ERC20, and ERC1155 airdrop contracts.

### Detailed summary
- Added `fetchProofsERC721`, `fetchProofsERC20`, and `fetchProofsERC1155` methods
- Updated `claimERC20` to use `fetchProofsERC20`
- Added detailed documentation for each method
- Renamed `fetchProofsrERC20` to `fetchProofsERC20`

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

<!-- end pr-codex -->
2024-07-16 05:27:46 +00:00
kien-ngo 3479117b28 Add Vietnamese locale (#3681)
<!-- start pr-codex -->

## PR-Codex overview
This PR adds Vietnamese locale support for the ConnectButton components and updates various language files for the ConnectWallet feature.

### Detailed summary
- Added Vietnamese locale for ConnectButton components
- Updated language files for ConnectWallet screens and wallets with Vietnamese translations

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/wallets/local/locale/vi.ts`, `packages/thirdweb/src/react/web/wallets/shared/locale/vi.ts`, `packages/thirdweb/src/react/web/ui/ConnectWallet/locale/vi.ts`

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

<!-- end pr-codex -->
2024-07-16 03:38:43 +00:00
kien-ngo 34f6fd5fdd Add chainlist link to the contract page (#3705)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a link to the `MetadataHeader` component that redirects to a specific chain page.

### Detailed summary
- Added `Link` import from "next/link"
- Applied `as={Link}` and `href={`/${chain.chainId}`}` to make the header clickable
- Set `cursor="pointer"` for better user interaction

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

<!-- end pr-codex -->
2024-07-16 00:57:30 +00:00
joaquim-verges baec85f6b4 fix(thirdweb): update TransactionError constructor to correctly set message property (#3704) 2024-07-16 00:44:17 +00:00
gregfromstl 88fa60d4ad fix(dashboard): domain validation for ecosystem partner domains (#3701)
### TL;DR
Updated the domain validation regex in the AddPartnerForm component to handle new wildcard subdomain cases and made minor formatting fixes.

### What changed?
- Updated the domain validation regex to handle new wildcard subdomain cases.
- Fixed minor formatting issues with array and string declarations.

### How to test?
1. Navigate to the Add Partner form in the dashboard.
2. Test the domain input field with the following cases to ensure proper validation:
   - general domains (e.g., example.com)
   - wildcard subdomains (e.g., *.example.com)
   - nested wildcard subdomains (e.g., *.*.example.com)

### Why make this change?
The changes were necessary to improve the domain validation mechanism by accommodating new wildcard subdomain cases, and to maintain code quality through consistent formatting.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the `isDomainRegex` pattern in the `add-partner-form.client.tsx` file for improved domain validation.

### Detailed summary
- Updated the `isDomainRegex` pattern for domain validation with additional flexibility and accuracy.

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

<!-- end pr-codex -->
2024-07-15 22:40:41 +00:00
iuwqyir d780bff72f new fields for usage event schema (#3692)
## Problem solved

Adds 2 new optional fields to usage event schema:
* evmRequestParams
* providerIp

Allows a new possible source for the event - `rpcV2`

## Changes made

- [x] service-utils: Update usage tracker schema

## How to test

## Contributor NFT

Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.

```Address: ```

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the schema for the usage tracker event in the `service-utils` package to include new fields `evmRequestParams` and `providerIp`.

### Detailed summary
- Added `evmRequestParams` field to the usage event schema
- Added `providerIp` field to the usage event schema

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

<!-- end pr-codex -->
2024-07-15 22:17:53 +00:00
gregfromstl 062bcc79f9 fix(dashboard): update ecosystem wallet copy to include wallet count (#3702)
### TL;DR

Updated UI elements and feature list in the create page of the ecosystem section.

### What changed?

- Adjusted padding and positioning of elements for better alignment and appearance.
- Added a new feature item to the list: '30,000 active wallets included*'.
- Included a note regarding additional wallet costs ('$0.02 per additional wallet').

### How to test?

Navigate to the 'Create Ecosystem' page in the dashboard. Verify that the layout changes are correctly applied and the new feature/item is visible with the note on wallet costs.

### Why make this change?

These updates improve the clarity of information provided to users and enhance the overall user experience on the create page of the ecosystem section.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to update the ecosystem creation page in the dashboard with additional wallet information.

### Detailed summary
- Added display of 30,000 active wallets included
- Added pricing information for additional wallets

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

<!-- end pr-codex -->
2024-07-15 22:12:27 +00:00
Manan Tank 817a778a17 Fix Network Selector only showing 1 search result (#3694) 2024-07-16 01:48:17 +05:30
jnsdls 5eddf27a48 [Feature] Update title in PRICING_SECTIONS for Monthly Active In-App Wallets (#3693) 2024-07-15 18:46:14 +00:00
Manan TankandJonas Daniels 81751d3e08 Fix "add custom network" button not closing details modal (#3690)
Signed-off-by: Jonas Daniels <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2024-07-15 18:25:59 +00:00
Manan TankandMananTank 7e416c0f6b Add queryOptions for useWalletBalance hook (#3688)
Co-authored-by: MananTank <[email protected]>
2024-07-15 18:07:46 +00:00
MananTank 6ad65e234c Add type prop for TransactionButton (#3689)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add a `type` prop for the `TransactionButton` component in the `thirdweb` package.

### Detailed summary
- Added `type` prop for `TransactionButton`
- Updated `TransactionButton` component to include `type` attribute for button element

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

<!-- end pr-codex -->
2024-07-15 17:38:47 +00:00
Manan Tank d27f9ffdd1 Fix wrong isBrave check in dashboard (#3691) 2024-07-15 22:58:10 +05:30
Joaquim Verges a3fb673e50 fix(thirdweb): handle universal links on ios for coinbase wallet connection (#3677) 2024-07-15 14:30:47 +12:00
kien-ngo aee7aef76f Export getClaimParams for thirdweb Drop contracts (#3685)
Initially this is for interacting with other frameworks like frog.fm
Might be useful elsewhere idk

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on exporting a new utils method `getClaimParams` for thirdweb Drop contracts.

### Detailed summary
- Added export for `getClaimParams` method in `utils/extensions/drops/get-claim-params.js`
- Exported type `GetClaimParamsOptions` for thirdweb Drop contracts

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

<!-- end pr-codex -->
2024-07-15 02:10:44 +00:00
kien-ngo b67519aecb Allow uploading .obj file (#3684)
<!-- start pr-codex -->

## PR-Codex overview
This PR enhances file input handling in components by adding support for `.obj` files alongside `.usdz` and `.glb` files.

### Detailed summary
- Updated `FileInput.tsx` to support `.obj` files for 3D models
- Updated `mint-form.tsx` to recognize `.gltf` files and `.obj` files for 3D models

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

<!-- end pr-codex -->
2024-07-14 21:30:21 +00:00
kien-ngo eabb2150a9 Add support for Zora1155 in ERC1155 > getOwned (#3659)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to add support for Zora1155 in ERC1155 > getOwned.

### Detailed summary
- Added support for Zora1155 contract in ERC1155 > getOwned function
- Updated functions to handle Zora1155 contract methods
- Introduced new functions for Zora1155 contract interaction

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

<!-- end pr-codex -->
2024-07-12 21:09:23 +00:00
Joaquim Verges 9f3fb7d1ee feat(smart): respect accountAddress override (#3673) 2024-07-13 05:59:47 +12:00
arcoraven 0d4852787f feat: Tools pages (#3665)
Adds new tools pages:
- Wei converter
- Hex converter
- Unix time converter
- Keccak256 converter

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to add new tools to the dashboard for converting between different formats like hex, decimal, Unix time, and Keccak-256 hashes.

### Detailed summary
- Added Hex Converter, Wei Converter, Unix Time Converter, and Keccak256 Converter tools
- Created components for each converter tool
- Implemented share functionality for each tool
- Added metadata for each tool
- Included tab navigation for easy access to tools

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/tools/unixtime-converter/components/UnixTimeConverter.tsx`, `apps/dashboard/src/app/(dashboard)/tools/wei-converter/components/WeiConverter.tsx`

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

<!-- end pr-codex -->
2024-07-12 16:56:13 +00:00
Joaquim Verges 4a1d1494ec feat(dashboard): add import for SortBy type to chain page (#3670) 2024-07-12 21:29:04 +12:00
Joaquim Verges 0e555529d4 feat(dashboard): handle trending contracts in chain page (#3669) 2024-07-12 21:25:18 +12:00
Joaquim Verges 21b72baf5b fix(dashboard): ensure scrolling sticks for pagination (#3668) 2024-07-12 20:35:20 +12:00
farhanW3 00fd82b08e Updates: Engine Demo (#3666)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the dashboard engine functionality by adding a demo engine feature and improving user interactions.

### Detailed summary
- Added a demo engine URL environment variable
- Updated import engine instance button style
- Implemented try demo button functionality with analytics tracking
- Improved error handling for missing environment variables

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

<!-- end pr-codex -->
2024-07-12 07:54:16 +00:00
Joaquim Verges 95397cd0f7 feat(dashboard): implement sorting feature in trending table (#3667) 2024-07-12 19:31:12 +12:00
a629ae53f1 Version Packages (#3658)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-12 08:23:22 +12:00
joaquim-verges 3d14162a69 fix(core): correct extension detection (#3657)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on fixing extension contract detection and enhancing ownership function detection for ERC721 contracts.

### Detailed summary
- Fixed extension contract detection in `detectExtension.ts`
- Added ownership function detection in `getOwnedNFTs.test.ts`
- Updated imports for test clients and contract utils

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

<!-- end pr-codex -->
2024-07-11 19:32:30 +00:00
Jonas Danielsandgithub-actions[bot] 12f829f4f1 Version Packages (#3643)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-12 06:44:19 +12:00
Joaquim Vergesandjoaquim-verges 77d7dd135f fix(thirdweb): resolve autoconnect issue for phone number sign-in on React Native (#3656)
Co-authored-by: joaquim-verges <[email protected]>
2024-07-12 06:27:34 +12:00
Manan Tank 9dd7b4de79 Ensure account address is checksum encoded (#3655) 2024-07-11 23:25:26 +05:30
jnsdls 44eb1bdd51 [Refactor] Clean up create-ticket.action.ts to streamline form data handling (#3654)
### TL;DR
Updated the createTicketAction function to ensure that only specific fields (attachments and json) are retained in formData during ticket creation.

### What changed?
- Introduced a constant KEEP_FIELDS to specify fields that should be retained in formData.
- Added the content field to formData before deleting non-essential fields.
- Removed specific deletion of extraInfo_Problem_Area key.

### How to test?
1. Trigger the createTicketAction function in support component.
2. Verify if only attachments and json fields are present in the formData when a ticket is created.

### Why make this change?
To ensure that only necessary data is sent when creating a ticket, optimizing the data payload and avoiding potential issues with extraneous fields.

---
2024-07-11 15:41:28 +00:00
jnsdls 727467b41a [Feature] Add Mantle banner and update ChainPageLayout for visual consistency (#3653)
This PR enhances the ChainPageLayout by adding support for background images for different chains and integrating Mantle chain-specific assets. Key updates include:
- Addition of the `mantle-banner.jpeg` and `mantle-cta.jpeg` images.
- Updates to `add-chain-to-wallet.tsx` and `layout.tsx` to support dynamic background and text color adjustments based on the presence of a background image.
- Modification of the `chainMetaRecord` to include metadata for the Mantle chain (chain ID 5000).

 ### TL;DR
Enhanced the ChainPageLayout component by adding support for chain-specific background images and integrating Mantle assets.

 ### What changed?
- New chain-specific background image support
- Integration with Mantle assets
- Updates to relevant components to handle background and text adjustments dynamically.

 ### How to test?
1. Go to the ChainPageLayout for any chain that has a background image (e.g., Mantle).
2. Verify that the background image is displayed correctly.
3. Check that text color and other UI elements adjust appropriately based on the background image.
4. Ensure that Mantle-specific content is displayed correctly.

 ### Why make this change?
This enhancement provides a more visually engaging and chain-specific user experience. The integration with Mantle also helps in showcasing specific chains more effectively.

---
2024-07-11 15:20:26 +00:00
joaquim-verges 9bbbba44f2 refactor(search): use trending contract data in search (#3652)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates time range handling and contract fetching in the trending feature.

### Detailed summary
- Updated time range handling in `TimeRangeSwitcher`
- Moved `TimeRange` type to `lib/search`
- Refactored contract fetching logic to `fetchTopContracts`
- Added new types and functions related to trending contracts
- Updated imports and removed redundant code in `trending-table`

> The following files were skipped due to too many changes: `apps/dashboard/src/app/trending/components/trending-table.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`

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

<!-- end pr-codex -->
2024-07-11 08:44:56 +00:00
jnsdls 17f5b5ab52 [Feature] Add background image and update login page UI (#3651) 2024-07-11 07:11:25 +00:00
jnsdls 0bbf157a31 [Refactor] Update ChainPageLayout and ChainCTA components for visual consistency and add ancient8 banner asset (#3650) 2024-07-11 07:01:24 +00:00
joaquim-verges f402f6d1c2 trending contracts (#3641)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to enhance the dashboard UI and functionality.

### Detailed summary
- Updated UI components like `Spinner` and `Toggle`
- Improved styling and color schemes
- Added new pages and components for trending contracts
- Refactored search functionality
- Integrated thirdweb client for chain icons

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/page.tsx`, `apps/dashboard/src/@/components/ui/table.tsx`, `apps/dashboard/src/app/trending/components/icons.tsx`, `apps/dashboard/src/app/trending/components/trending-table.tsx`, `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2024-07-11 04:19:17 +00:00
jnsdls 4661731561 [Feature] Add /support path to the list of logged in only paths (#3649) 2024-07-11 03:08:05 +00:00
jnsdls 509c584e7a [Refactor] Update environment variable usage and integrate Radix Dialog component (#3648)
This refactor replaces the usage of individual Unthread environment variables with a single `UNTHREAD_API_KEY`. Additionally, components and forms related to support tickets have been updated to streamline the support request flow. The Chakra UI components have been replaced with Radix UI components for consistency. Unused components have been removed and some components were slightly enhanced for development simplicity.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to refactor code in the dashboard app, update dependencies, and improve UI components.

### Detailed summary
- Removed support-related components and pages
- Updated layout and styling in various dashboard components
- Added new products and product-related functions
- Updated dependencies in `package.json` and `pnpm-lock.yaml`
- Refactored form inputs and layouts in support forms

> The following files were skipped due to too many changes: `apps/dashboard/src/components/help/contact-forms/engine/index.tsx`, `apps/dashboard/src/components/help/contact-forms/connect/AffectedAreaInput.tsx`, `apps/dashboard/src/components/help/contact-forms/shared/SupportForm_SelectInput.tsx`, `apps/dashboard/src/components/help/contact-forms/contracts/index.tsx`, `apps/dashboard/src/components/help/contact-forms/connect/index.tsx`, `apps/dashboard/src/@/components/ui/dialog.tsx`, `apps/dashboard/src/app/(dashboard)/support/components/create-ticket.client.tsx`, `apps/dashboard/src/app/(dashboard)/support/components/create-ticket.action.ts`, `apps/dashboard/src/components/help/contact-forms/shared/SupportForm_AttachmentUploader.tsx`, `apps/dashboard/src/app/(dashboard)/support/page.tsx`

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

<!-- end pr-codex -->
2024-07-10 16:00:39 -07:00
Manan Tank 979a2b8147 Fix zero token amount formatting (#3646) 2024-07-10 21:29:41 +05:30
kien-ngo f239d09eae MediaRenderer: only render video poster if it's an image (#3642)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on updating the `MediaRenderer` component to only render the video poster if it's an image.

### Detailed summary
- Updated `MediaRenderer` to conditionally render video poster based on MIME type
- Improved handling of poster rendering for better compatibility

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

<!-- end pr-codex -->
2024-07-10 03:44:29 +00:00
133eae1384 Version Packages (#3635)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-07-10 09:01:31 +12:00
jnsdls 6370b7cc90 [Refactor] Remove NeedSomeHelp component and its references (#3640)
### TL;DR
This PR removes the `ContextAIBotButton` and `NeedSomeHelp` components from the dashboard source code.

### What changed?
- Deleted `context-ai-button.tsx` and `need-some-help.tsx` files from the help folder.
- Updated `support.tsx` to remove the `NeedSomeHelp` component.

### How to test?
1. Navigate to the support page in the dashboard.
2. Ensure that the `NeedSomeHelp` section is no longer displayed.
3. Check that there are no console errors related to the missing components.

### Why make this change?
These components are no longer needed as part of the dashboard's help system and are being removed to simplify the codebase and reduce unnecessary dependencies.

---

<!-- start pr-codex -->

---

## PR-Codex overview
The focus of this PR is to remove unused help components and restructure the Support page layout.

### Detailed summary
- Deleted `NeedSomeHelp` and `ContextAiButton` components
- Removed unnecessary import statements
- Updated the layout of the Support page to exclude `NeedSomeHelp` component

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

<!-- end pr-codex -->
2024-07-09 18:34:41 +00:00
jnsdls f91a024cc5 [Refactor] Update THIRDWEB_API_HOST integration in ensure-login flow (#3638)
<!-- start pr-codex -->

## PR-Codex overview
The focus of this PR is to update authentication endpoints and improve error handling in the codebase.

### Detailed summary
- Updated logout endpoint in `General.tsx`
- Changed user authentication endpoint to `/v1/account/me`
- Removed `decodeJWT` function import
- Added `THIRDWEB_API_HOST` environment variable
- Improved error handling in `GET` function in `route.ts`

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

<!-- end pr-codex -->
2024-07-09 18:34:36 +00:00
joaquim-verges cebf6d4e89 fix(sdk): enforce legacy transactions on Vanar mainnet (#3639) 2024-07-09 18:15:43 +00:00
jnsdls 17701b69f0 [Feature] Add conditional page refresh on specific routes and integrate PayUI component (#3607)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates components related to Pay analytics and configuration.

### Detailed summary
- Updated `usePayPurchases`, `usePayVolume`, `usePayNewCustomers`, and `usePayCustomers` hooks
- Refactored `PayUI` component in `dashboard/connect/pay/components/pay-ui.client.tsx`
- Added `getApiKeys` function in `dashboard/connect/pay/page.tsx`

> The following files were skipped due to too many changes: `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/page.tsx`

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

<!-- end pr-codex -->
2024-07-09 17:56:10 +00:00