Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dub/ui",
"description": "UI components for Dub",
"version": "0.2.55",
"version": "0.2.56",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
25 changes: 17 additions & 8 deletions packages/ui/src/icons/plan-feature-icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import {
Bolt,
Calendar6,
ChartLine,
ConnectedDots4,
CreditCard,
CirclePercentage,
CursorRays,
Flask,
Folder,
Expand All @@ -14,13 +13,16 @@ import {
InvoiceDollar,
License,
MarketingTarget,
MoneyBills2,
PaperPlane,
PercentageArrowDown,
Plug2,
Receipt2,
ShieldKeyhole,
Shuffle,
Sparkle3,
SquareLayoutGrid5,
UserCrown,
UserFocus,
Users2,
UsersSettings,
Versions2,
Expand All @@ -36,6 +38,7 @@ export const PLAN_FEATURE_ICONS = {
domains: Globe,
users: Users2,
analytics: ChartLine,
conversions: Receipt2,
ai: Sparkle3,
api: Plug2,
advanced: Gear3,
Expand All @@ -44,16 +47,22 @@ export const PLAN_FEATURE_ICONS = {
deeplinks: MarketingTarget,
events: Bolt,
webhooks: Webhook,
partners: ConnectedDots4,
payouts: CreditCard,
roles: UsersSettings,
slack: Slack,
tests: Flask,
whitelabel: SquareLayoutGrid5,
email: PaperPlane,
volume: PercentageArrowDown,
sso: ShieldKeyhole,
sla: License,
logs: Versions2,
success: UserCrown,
sla: License,
volume: CirclePercentage,

clickpayouts: CursorRays,
payouts: MoneyBills2,
basicrewards: Gift,
flexiblerewards: Shuffle,
ailandingpage: Sparkle3,
customerinsights: UserFocus,
partners: Users2,
whitelabel: SquareLayoutGrid5,
};
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dub/utils",
"description": "Utility functions and constants for Dub",
"version": "0.1.37",
"version": "0.1.38",
"sideEffects": false,
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
Expand Down
145 changes: 72 additions & 73 deletions packages/utils/src/constants/plan-compare.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,67 +151,6 @@ export const PLAN_COMPARE_FEATURES: {
},
],
},
{
category: "Analytics",
href: "https://dub.co/analytics",
features: [
{
text: "Advanced analytics",
href: "https://dub.co/help/article/dub-analytics",
},
{
text: ({ plan }) => (
<>
<strong>
{plan.name === "Enterprise"
? "Unlimited"
: nFormatter(plan.limits.clicks)}
</strong>{" "}
tracked clicks
{plan.name === "Enterprise" ? "" : "/mo"}
</>
),
href: "https://dub.co/help/article/dub-analytics-limits",
},
{
text: ({ plan }) => (
<>
<strong>{plan.limits.retention}</strong> retention
</>
),
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Conversion tracking",
href: "https://dub.co/help/article/dub-conversions",
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Customer insights",
href: "https://dub.co/help/article/customer-insights",
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Real-time events stream",
href: "https://dub.co/help/article/real-time-events-stream",
},
],
},
{
category: "Partners",
href: "https://dub.co/partners",
Expand All @@ -223,18 +162,7 @@ export const PLAN_COMPARE_FEATURES: {
advanced: true,
enterprise: true,
},
text: "Partner management",
href: "https://dub.co/partners",
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Automated global payouts",
href: "https://dub.co/help/article/partner-payouts",
text: "Unlimited partners",
},
{
check: {
Expand All @@ -258,6 +186,16 @@ export const PLAN_COMPARE_FEATURES: {
</>
),
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Automated global payouts",
href: "https://dub.co/help/article/partner-payouts",
},
{
check: {
default: false,
Expand Down Expand Up @@ -316,6 +254,67 @@ export const PLAN_COMPARE_FEATURES: {
},
],
},
{
category: "Analytics",
href: "https://dub.co/analytics",
features: [
{
text: "Advanced analytics",
href: "https://dub.co/help/article/dub-analytics",
},
{
text: ({ plan }) => (
<>
<strong>
{plan.name === "Enterprise"
? "Unlimited"
: nFormatter(plan.limits.clicks)}
</strong>{" "}
tracked clicks
{plan.name === "Enterprise" ? "" : "/mo"}
</>
),
href: "https://dub.co/help/article/dub-analytics-limits",
},
{
text: ({ plan }) => (
<>
<strong>{plan.limits.retention}</strong> retention
</>
),
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Conversion tracking",
href: "https://dub.co/help/article/dub-conversions",
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Customer insights",
href: "https://dub.co/help/article/customer-insights",
},
{
check: {
default: false,
business: true,
advanced: true,
enterprise: true,
},
text: "Real-time events stream",
href: "https://dub.co/help/article/real-time-events-stream",
},
],
},
{
category: "Domains",
href: "https://dub.co/help/category/custom-domains",
Expand Down