mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: color-code referral network nodes by subscription status
Add subscription status colors: green (paid active), blue (trial active), red (paid expired), orange (trial expired). Extract NODE_COLORS constant as single source of truth. Add SubscriptionStatus union type. Show status badge in user detail panel. Add i18n for all 4 locales.
This commit is contained in:
@@ -1257,7 +1257,11 @@
|
||||
"topReferrer": "Top referrer (10+)",
|
||||
"campaignUser": "From campaign",
|
||||
"partnerCampaignEdge": "Partner → Campaign",
|
||||
"campaignNode": "Ad campaign"
|
||||
"campaignNode": "Ad campaign",
|
||||
"paidActive": "Paid subscription",
|
||||
"trialActive": "Trial",
|
||||
"paidExpired": "Paid expired",
|
||||
"trialExpired": "Trial expired"
|
||||
},
|
||||
"user": {
|
||||
"tgId": "TG ID",
|
||||
@@ -1276,7 +1280,13 @@
|
||||
"source": "Source",
|
||||
"referredBy": "Referred by",
|
||||
"fromCampaign": "Campaign",
|
||||
"organic": "Organic"
|
||||
"organic": "Organic",
|
||||
"subscriptionStatus": {
|
||||
"trial_active": "Trial",
|
||||
"paid_active": "Paid",
|
||||
"trial_expired": "Trial expired",
|
||||
"paid_expired": "Paid expired"
|
||||
}
|
||||
},
|
||||
"campaign": {
|
||||
"startParam": "Parameter",
|
||||
|
||||
Reference in New Issue
Block a user