<!-- ## 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 `SwapWidget` by allowing the passing of an `activeWallet` prop and improving the project wallet functionality in the dashboard. It also includes updates to the VSCode settings and introduces new components for swapping tokens. ### Detailed summary - Added `activeWallet` prop to `SwapWidgetProps`. - Modified `useActiveWalletInfo` to accept an `activeWalletOverride`. - Introduced `SwapProjectWalletModalContent` for token swapping. - Updated `ProjectWalletDetailsSection` to include swap functionality. - Adjusted VSCode settings for formatting preferences. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added in-app token swap functionality for project wallets, allowing users to exchange tokens directly from the wallet interface with credentials management. * SwapWidget now supports wallet pre-selection, enabling faster and more streamlined token swap initiation. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"editor.insertSpaces": true,
|
|
"editor.tabSize": 2,
|
|
"[css]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[json]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[markdown]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "biomejs.biome"
|
|
},
|
|
"editor.codeActionsOnSave": {
|
|
"quickfix.biome": "always",
|
|
"source.fixAll.biome": "always",
|
|
"source.organizeImports.biome": "always"
|
|
},
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"editor.formatOnSave": true,
|
|
"eslint.workingDirectories": [
|
|
{ "pattern": "./packages/*/" },
|
|
{ "pattern": "./apps/*/" }
|
|
],
|
|
"typescript.preferences.autoImportFileExcludePatterns": [
|
|
"./packages/thirdweb/src/exports"
|
|
],
|
|
"typescript.preferences.autoImportSpecifierExcludeRegexes": [
|
|
"@radix-ui",
|
|
"next/router",
|
|
"next/dist",
|
|
"^lucide-react/dist/lucide-react.suffixed$"
|
|
],
|
|
"typescript.tsdk": "node_modules/typescript/lib"
|
|
}
|