feat: add trigger events, workflow execution, and start nodes to billing plan features

- Add three new feature items to cloud plan list:
  - Trigger Events (varies by plan: 3K for sandbox, 20K/month for pro, unlimited for team)
  - Workflow Execution (standard/faster/priority based on plan)
  - Start Nodes (limited to 2 for sandbox, unlimited for pro/team)
- Add i18n translations for en-US and zh-Hans
- Position new items below document processing priority and above divider
This commit is contained in:
lyzno1
2025-11-11 15:00:15 +08:00
parent 0f952f328f
commit 81afd087f6
3 changed files with 53 additions and 0 deletions

View File

@ -56,6 +56,31 @@ const List = ({
<Item
label={[t(`billing.plansCommon.priority.${planInfo.documentProcessingPriority}`), t('billing.plansCommon.documentProcessingPriority')].join('')}
/>
<Item
label={
planInfo.triggerEvents === NUM_INFINITE
? t('billing.plansCommon.triggerEvents.unlimited')
: plan === Plan.sandbox
? t('billing.plansCommon.triggerEvents.sandbox', { count: planInfo.triggerEvents })
: t('billing.plansCommon.triggerEvents.professional', { count: planInfo.triggerEvents })
}
/>
<Item
label={
plan === Plan.sandbox
? t('billing.plansCommon.workflowExecution.standard')
: plan === Plan.professional
? t('billing.plansCommon.workflowExecution.faster')
: t('billing.plansCommon.workflowExecution.priority')
}
/>
<Item
label={
plan === Plan.sandbox
? t('billing.plansCommon.startNodes.limited', { count: 2 })
: t('billing.plansCommon.startNodes.unlimited')
}
/>
<Divider bgStyle='gradient' />
<Item
label={t('billing.plansCommon.annotatedResponse.title', { count: planInfo.annotatedResponse })}