Skip to content

Commit 71854ca

Browse files
committed
Merge branch 'main' into np/test_webhook
2 parents 663b0d3 + 7705304 commit 71854ca

File tree

448 files changed

+30805
-3509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

448 files changed

+30805
-3509
lines changed

.changeset/fluffy-bobcats-walk.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/dashboard/framer-rewrites.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ module.exports = [
2121
"/storage",
2222
// -- end scale category
2323

24-
// -- nebula
25-
"/nebula",
24+
// -- ai
25+
"/ai",
2626
// -- contracts
2727
"/contracts",
2828
"/contracts/modular-contracts",

apps/dashboard/knip.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"ignoreDependencies": [
1111
"@thirdweb-dev/service-utils",
1212
"@thirdweb-dev/vault-sdk",
13+
"thirdweb",
1314
"@types/color",
14-
"fast-xml-parser"
15+
"fast-xml-parser",
16+
"@workspace/ui",
17+
"tailwindcss-animate"
1518
],
1619
"next": true,
1720
"project": ["src/**"]

apps/dashboard/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const SENTRY_OPTIONS: SentryBuildOptions = {
115115
const FRAMER_ADDITIONAL_LANGUAGES = ["es"];
116116

117117
const baseNextConfig: NextConfig = {
118+
transpilePackages: ["@workspace/ui"],
118119
eslint: {
119120
ignoreDuringBuilds: true,
120121
},
@@ -196,7 +197,6 @@ const baseNextConfig: NextConfig = {
196197
]),
197198
];
198199
},
199-
serverExternalPackages: ["pino-pretty"],
200200
};
201201

202202
function getConfig(): NextConfig {

apps/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@thirdweb-dev/vault-sdk": "workspace:*",
2929
"@vercel/functions": "2.2.2",
3030
"@vercel/og": "^0.6.8",
31+
"@workspace/ui": "workspace:*",
3132
"abitype": "1.0.8",
3233
"class-variance-authority": "^0.7.1",
3334
"clsx": "^2.1.1",
@@ -43,7 +44,6 @@
4344
"next-themes": "^0.4.6",
4445
"nextjs-toploader": "^1.6.12",
4546
"nuqs": "^2.4.3",
46-
"p-limit": "^6.2.0",
4747
"papaparse": "^5.5.3",
4848
"pluralize": "^8.0.0",
4949
"posthog-js": "1.256.1",

apps/dashboard/postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/dashboard/postcss.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@workspace/ui/postcss.config";

apps/dashboard/redirects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,12 @@ async function redirects() {
460460
permanent: false,
461461
source: "/universal-bridge",
462462
},
463+
// redirect /nebula to /ai
464+
{
465+
destination: "/ai",
466+
permanent: false,
467+
source: "/nebula",
468+
},
463469
...legacyDashboardToTeamRedirects,
464470
...projectPageRedirects,
465471
...teamPageRedirects,

apps/dashboard/src/@/analytics/report.ts

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,11 @@ export function reportChainConfigurationAdded(properties: {
224224
// ASSETS
225225
// ----------------------------
226226

227-
type AssetContractType = "DropERC20" | "DropERC1155" | "DropERC721";
227+
type AssetContractType =
228+
| "DropERC20"
229+
| "DropERC1155"
230+
| "DropERC721"
231+
| "ERC20Asset";
228232

229233
/**
230234
* ### Why do we need to report this event?
@@ -334,6 +338,15 @@ export function reportAssetCreationSuccessful(properties: {
334338
});
335339
}
336340

341+
type CoinCreationStep =
342+
| "erc20-asset:deploy-contract"
343+
| "erc20-asset:airdrop-tokens"
344+
| "erc20-asset:approve-airdrop-tokens"
345+
| "drop-erc20:deploy-contract"
346+
| "drop-erc20:set-claim-conditions"
347+
| "drop-erc20:mint-tokens"
348+
| "drop-erc20:airdrop-tokens";
349+
337350
/**
338351
* ### Why do we need to report this event?
339352
* - To track number of failed asset creations
@@ -355,11 +368,7 @@ export function reportAssetCreationFailed(
355368
}
356369
| {
357370
assetType: "coin";
358-
step:
359-
| "deploy-contract"
360-
| "set-claim-conditions"
361-
| "mint-tokens"
362-
| "airdrop-tokens";
371+
step: CoinCreationStep;
363372
}
364373
),
365374
) {
@@ -517,3 +526,24 @@ export function reportTokenUpsellClicked(params: {
517526
}) {
518527
posthog.capture("token upsell clicked", params);
519528
}
529+
530+
// ----------------------------
531+
// CHAIN INFRASTRUCTURE CHECKOUT
532+
// ----------------------------
533+
/**
534+
* ### Why do we need to report this event?
535+
* - To record explicit user acknowledgement when proceeding to checkout without RPC
536+
* - To measure how often customers choose to omit RPC while purchasing Insight and/or Account Abstraction
537+
* - To correlate potential support issues arising from missing RPC
538+
*
539+
* ### Who is responsible for this event?
540+
* @jnsdls
541+
*/
542+
export function reportChainInfraRpcOmissionAgreed(properties: {
543+
chainId: number;
544+
frequency: "monthly" | "annual";
545+
includeInsight: boolean;
546+
includeAccountAbstraction: boolean;
547+
}) {
548+
posthog.capture("chain infra checkout rpc omission agreed", properties);
549+
}

apps/dashboard/src/@/api/team/ecosystems.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type AuthOption =
1212
| "google"
1313
| "facebook"
1414
| "x"
15+
| "tiktok"
1516
| "discord"
1617
| "farcaster"
1718
| "telegram"

0 commit comments

Comments
 (0)