1200 Commits
Author SHA1 Message Date
jnsdls 24063af948 update engine API routes to include team slug (#6407)
blocked by: https://app.graphite.dev/github/pr/thirdweb-dev/api-server/1437/add-team-engine-management-endpoints

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the handling of `teamIdOrSlug` across various components and utility functions related to engine instances and alerts, ensuring that the correct team context is maintained throughout the application.

### Detailed summary
- Added `teamIdOrSlug` parameter to multiple functions and components.
- Updated API endpoints to include `teamIdOrSlug` in fetch calls.
- Modified components like `EngineAlertsPage`, `EngineSystem`, and `EngineInstancesTable` to pass `teamIdOrSlug`.
- Adjusted data structure handling in API responses to use `result` instead of `data`.

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

<!-- end pr-codex -->
2025-03-05 01:39:38 +00:00
jnsdls 0f6aa6b85d add /faucets to framer rewrites (#6414)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on adding a new route to the `framer-rewrites.js` file for redirecting to the `/faucets` page.

### Detailed summary
- Added the route `"/faucets"` to the array of paths in `apps/dashboard/framer-rewrites.js`.

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

<!-- end pr-codex -->
2025-03-05 01:06:38 +00:00
Manan Tank 158a08aafc [TOOL-3598] Dashboard: Add error message in create ecosystem form for image size (#6411) 2025-03-04 12:16:25 -08:00
Jonas Daniels 35ccf8f2e8 updated dependencies (#6404) 2025-03-03 20:19:54 -08:00
MananTank b5e02a4f10 [TOOl-3590] Dashboard: Remove unused components and stories (#6406)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on removing unused components and simplifying the `CouponCard` functionality by streamlining the handling of coupon applications and eliminating the modal for sharing free wallets.

### Detailed summary
- Deleted multiple files related to `share-free-wallets-modal` and analytics components.
- Removed the dynamic import of `LazyShareFreeWalletsModal` in `CouponCard.tsx`.
- Simplified the `onCouponApplied` function signature by removing the `isFreeWalletsCoupon` parameter.
- Eliminated state management for `showShareModal` in `CouponSection`.

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

<!-- end pr-codex -->
2025-03-04 01:47:57 +00:00
kumaryash90 c0bbc21a84 Update deploy configs (#6299)
TOOL-3478

<!--

## 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 updating the platform fee configuration in the contract deployment process, introducing a new fee constant, and modifying the logic to handle different fee scenarios based on the publisher address.

### Detailed summary
- Added `THIRDWEB_PUBLISHER_ADDRESS` constant in `addresses.ts`.
- Introduced `DEFAULT_FEE_BPS_NEW` constant in `addresses.ts`.
- Updated `PlatformFeeFieldset` to destructure `isMarketplace`.
- Modified `CustomContractForm` to conditionally use `DEFAULT_FEE_BPS_NEW` based on the publisher address.
- Adjusted imports in `custom-contract.tsx` to include new constants.

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

<!-- end pr-codex -->
2025-03-03 22:09:24 +00:00
Jonas Daniels 33ddf56a0a remove secretHash from rotate key response (#6401) 2025-03-03 13:32:38 -08:00
MananTank f9fa5df6b1 [TOOl-3587] Dashboard: Add in-app-wallet login mode (#6400)
<!-- start pr-codex -->

## PR-Codex overview
This PR introduces enhancements to the `LoginAndOnboardingPage` by adding support for an in-app wallet login option and refactoring the login handling logic.

### Detailed summary
- Added `loginWithInAppWallet` prop to `LoginAndOnboardingPage` and `LoginAndOnboardingPageContent`.
- Updated `Page` component to handle `in-app-wallet` search parameter.
- Introduced `inAppWalletLoginOptions` for in-app wallet authentication.
- Modified wallet selection logic based on `loginWithInAppWallet` prop.

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

<!-- end pr-codex -->
2025-03-03 21:17:31 +00:00
MananTank 0d82fc0dd1 [TOOL-3584] Dashboad: Move turnstile widget above connect embed in login page (#6394) 2025-03-03 20:21:59 +00:00
MananTank ef6029b939 [TOOL-3575] Dashboard: Fix /home link 404 after upgrading to nextjs 15.2 (#6393)
<!--

## 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 routing and links in the dashboard application to improve navigation.

### Detailed summary
- In `apps/dashboard/next.config.ts`, the `destination` was changed from `"/"` to `"https://landing.thirdweb.com"`.
- In `apps/dashboard/src/app/components/MobileBurgerMenuButton.tsx`, the `href` for the `Link` component was updated from `"/"` to `"/home"`.

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

<!-- end pr-codex -->
2025-03-03 19:56:41 +00:00
MananTank 004601812a [TOOL-3581] Dashboard: Fix project overview page crashing because of ContractDistributionCard (#6392) 2025-03-03 18:39:45 +00:00
MananTank 323e9d7a37 [TOOL-3572] Dashboard:Fix theming issue in engine pages (#6389) 2025-03-01 17:58:51 +00:00
MananTank b535cc816f [TOOL-3571] Dashboard: Remove custom high z-indices (#6380) 2025-03-01 00:11:46 +00:00
MananTank 5a9a76b7a2 [TOOL-3392] Dashboard: Add project Image field in project settings page (#6379) 2025-02-28 23:19:43 +00:00
MananTank 062504f463 [TOOL-3569] Dashboard: Add acount.id to posthog identify calls (#6377) 2025-02-28 21:13:58 +00:00
MananTank 853ed473c6 [TOOL-3525] Dashboard: Add delete account in account settings page (#6339)
<!--

## 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 management of teams and accounts in the application. It introduces a new method to fetch the default team and updates various components to utilize this information, improving user experience and functionality.

### Detailed summary
- Added `getDefaultTeam` function to fetch the default team using an API call.
- Updated `TeamRootPage` to use `getDefaultTeam` instead of fetching all teams.
- Modified middleware to redirect using the default team.
- Refactored account settings page to include `defaultTeamSlug` and `defaultTeamName`.
- Enhanced `DangerSettingCard` to manage confirmation dialog state.
- Updated `AccountSettingsPageUI` to handle account deletion with relevant alerts for errors.
- Added UI components for handling account deletion status responses in the storybook.

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

<!-- end pr-codex -->
2025-02-28 21:05:11 +00:00
MananTank f5765819d7 [TOOL-3566] Dashboard: Add static.reo.dev in Next.js CSP settings (#6374)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates the Content Security Policy (CSP) in the `next.config.ts` file to include an additional source for `script-src`.

### Detailed summary
- Added `static.reo.dev` to the `script-src` directive in the CSP.

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

<!-- end pr-codex -->
2025-02-28 20:57:16 +00:00
jnsdls f4ca73c4bf add /storage to framer rewrites (#6373)
closes: CORE-758

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating the `framer-rewrites.js` file to include a new route related to storage within the application's routing configuration.

### Detailed summary
- Added a new route `"/storage"` to the existing routes in `framer-rewrites.js`.

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

<!-- end pr-codex -->
2025-02-28 20:23:53 +00:00
MananTank 1f517fa10d [NEB-110] Dashboard: Add Playground and API references links (#6376) 2025-02-28 20:16:25 +00:00
MananTank 36b4ea5260 [TOOL-3556] Dashboard: Add Notifications, Revamp Team Overview page (#6368)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the notification system in the dashboard by integrating changelog and inbox notifications, improving UI components, and updating dependencies.

### Detailed summary
- Added `getChangelogNotifications`, `getInboxNotifications`, and `markNotificationAsRead` functions.
- Integrated notifications in `AccountHeaderUI`, `TeamHeader`, and `SecondaryNav`.
- Updated styles for various components.
- Replaced `Changelog` component with a new layout in `TeamProjectsPage`.
- Enhanced notification handling using `idb-keyval` for local storage.

> The following files were skipped due to too many changes: `pnpm-lock.yaml`

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

<!-- end pr-codex -->
2025-02-28 01:19:00 +00:00
Jonas Daniels d8e9245ecf upgrade Next.js to 15.2.0 (#6365) 2025-02-27 15:56:46 -08:00
Jonas Daniels 28392b4ae9 add tutorial/guide slug routes to framer rewrites (#6364) 2025-02-27 10:45:34 -08:00
Jonas Daniels d1d610d07a add /learn routes to framer rewrites (#6363) 2025-02-27 10:36:12 -08:00
Manan Tank 39a8afdf21 [TOOL-3508] Dashboard: Engine general Page UI improvements, update engine instance header layout (#6324) 2025-02-27 08:30:41 -08:00
Phillip Ho 566b5b95f6 fix: remove /storage redirect (#6362) 2025-02-27 08:24:31 -08:00
Jonas Daniels aabdd7c1cd /auth and /iaw -> framer (#6358) 2025-02-27 00:54:19 -08:00
Yash 3f6d525b51 [Dashboard] Fix explorer functions (#6352) 2025-02-26 09:58:06 -08:00
Jonas Daniels 0df427576d monad-faucet-starter+-only (#6351) 2025-02-26 09:01:36 -08:00
Phillip Ho 959712d784 fix: analytics query typo (#6349) 2025-02-26 22:09:35 +08:00
Yash 2a4b5dc04b [TOOL-3515] Handle token by index (#6344) 2025-02-25 16:50:57 -08:00
Jonas Daniels 4a9da8f3fd update dependencies (#6340) 2025-02-25 16:49:42 -08:00
Manan Tank ddbacd100c [TOOL-3528] Dasboard: Fix in-app users CSV downloads empty file (#6342) 2025-02-25 14:51:56 -08:00
Manan Tank 3240ae5807 [TOOL-3526] Dashboard: Add billing status alert banners (#6341) 2025-02-25 14:40:50 -08:00
Jonas Daniels 9f69cc27ae add pastDue to valid billing statuses (#6338) 2025-02-25 14:20:51 -08:00
greg cf202c03dd [Dashboard] Fix: Use Secret Key to Fetch Routes on Server (#6333) 2025-02-24 23:21:12 -07:00
Joaquim Verges 28df6f7e40 [SDK] fix: Force pre-EIP1559 transactions on Homeverse chains (#6332) 2025-02-24 21:37:38 -08:00
greg 150a90c387 Feature: Routes page (#6318) 2025-02-24 22:16:02 -07:00
Giselle Chacon Nessi 454fc6a5b9 Update billing management text (#6258) 2025-02-24 19:33:36 -08:00
Giselle Chacon Nessi 72c3499366 removed discord cta (#6259) 2025-02-24 19:31:58 -08:00
Jonas Daniels 5612542e1a migrate analytics params from clientId/accountId to teamId/projectId (#6331) 2025-02-24 19:30:33 -08:00
Jonas Daniels fa99acf609 migrate user op analytics to server components (#6328) 2025-02-24 15:34:14 -08:00
Jonas Daniels 1405289ad0 migrate analytics endpoints from v1 to v2 (#6326) 2025-02-24 12:47:29 -08:00
MananTank 208b052a1b [TOOL-3476] Dashboard: Add Transfer Project in Project settings page (#6316)
<!--

## 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 project management features by introducing team member retrieval, project transfer capabilities, and UI improvements in the `ProjectGeneralSettingsPage`. It also updates the handling of team roles and member information.

### Detailed summary
- Updated `AccountTeamsUI` to handle empty image string for avatars.
- Added `getMemberById` function to fetch team member details.
- Replaced `getMembers` with `getMemberById` in `Page` component.
- Enhanced `DangerSettingCard` to include `isDisabled` prop.
- Refactored `ProjectGeneralSettingsPage` to manage team roles and project transfers.
- Introduced `TransferProject` component for transferring projects between teams.
- Updated storybook stories to include owner and member account scenarios.

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

<!-- end pr-codex -->
2025-02-22 18:23:44 +00:00
MananTank 514c1a8480 [TOOL-3496] Dashboard: Ecosystem pages UI improvements (#6311)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/f1d0c79f-f711-42e3-9c5e-2b57bfacc05b.png)

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/39702f47-477c-4177-bf3b-ac41c05b5093.png)

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/ce5cc358-a16a-4a06-90a1-a11ff47f67e4.png)

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on refactoring and enhancing the loading components and ecosystem management pages in the `dashboard` application. It introduces improvements in code structure, UI components, and error handling.

### Detailed summary
- Removed unused files from `utils`, `data`, and `ecosystem` directories.
- Updated `GenericLoadingPage` to accept a `className` prop for styling.
- Refactored loading components to use the new `GenericLoadingPage` structure.
- Enhanced `EcosystemCreatePage` layout and styling.
- Improved `EcosystemAnalyticsPage` to fetch and display wallet usage statistics.
- Replaced direct API calls with token-based authentication in ecosystem pages.
- Updated `EcosystemHeader` to utilize new UI components and improve layout.
- Refactored ecosystem creation form for better user experience and error handling.

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

<!-- end pr-codex -->
2025-02-22 01:38:35 +00:00
jnsdls a2d75df4c6 improve Turnstile captcha error messages (#6315) 2025-02-22 01:29:04 +00:00
MananTank 5d345e7abb [TOOL-3497] Dashboard: Add Linked Wallets page in account layout, minor UI tweaks in account layout (#6313)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the account management features in the dashboard by introducing linked wallets functionality, refining UI elements, and improving code organization.

### Detailed summary
- Added `/account/wallets` route with "Linked Wallets" label.
- Updated button text from "Create a Team" to "Create Team".
- Changed `<div>` to `<header>` in `AccountSettingsPage.tsx`.
- Enhanced `Devices` page structure with headers and descriptions.
- Implemented `getLinkedWallets` API function.
- Updated `Page` component to fetch linked wallets and account info.
- Refactored `LinkWallet` and `LinkWalletUI` components for better state management and UI.
- Added stubs for unlinking wallets in `LinkWalletsUI.stories.tsx`.
- Improved wallet unlinking functionality with confirmation dialogs.

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

<!-- end pr-codex -->
2025-02-22 01:21:02 +00:00
jnsdls 43638e5d96 only validate Turnstile captcha on Vercel environments (#6314) 2025-02-22 00:16:34 +00:00
jnsdls cc5cdd4f79 enable team invites for starter and growth plans (#6312)
blocked by: https://github.com/thirdweb-dev/api-server/pull/1412
2025-02-21 23:43:33 +00:00
jnsdls 8823acbeb2 add Turnstile captcha to login flow (#6310)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on integrating `Turnstile` CAPTCHA for enhanced security during the login process in the `LoginPage`. It modifies the `doLogin` function to include token validation and updates the UI to present the `Turnstile` challenge.

### Detailed summary
- Added `TURNSTILE_SITE_KEY` and `Turnstile` component to `LoginPage.tsx`.
- Introduced state management for `turnstileToken`.
- Updated `doLogin` function to accept `turnstileToken` and validate it.
- Enhanced error handling for login failures.
- Updated UI to display `Turnstile` CAPTCHA.

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

<!-- end pr-codex -->
2025-02-21 21:20:45 +00:00
MananTank 035fcf666a [TOOL-3493] Dashboard: Fix search in team members page, minor ui tweaks (#6309)
<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the member management functionality by adding search capabilities to filter team members and invites based on a search term. It introduces new state variables and updates components to utilize these features.

### Detailed summary
- Added `searchTerm`, `setSearchTerm`, and `searchPlaceholder` to relevant components.
- Updated the `Input` component to use `searchTerm` and `setSearchTerm`.
- Implemented filtering logic for invites and members based on `searchTerm`.
- Replaced `GradientAvatar` with `Badge` in `TeamSettingsSidebar`.

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

<!-- end pr-codex -->
2025-02-21 16:17:03 +00:00