refactor: rename RunAllTriggers icon to TriggerAll for semantic clarity (#24478)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
lyzno1 2025-08-25 17:51:04 +08:00 committed by GitHub
parent 18f2e6f166
commit 5a427b8daa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 6 deletions

View File

@ -20,4 +20,5 @@ class WorkflowIdFormatError(Exception):
class InvokeDailyRateLimitError(Exception):
"""Raised when daily rate limit is exceeded for workflow invocations."""
pass

View File

@ -2,7 +2,7 @@
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
import data from './RunAllTriggers.json'
import data from './TriggerAll.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconData } from '@/app/components/base/icons/IconBase'
@ -15,6 +15,6 @@ const Icon = (
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'RunAllTriggers'
Icon.displayName = 'TriggerAll'
export default Icon

View File

@ -19,9 +19,9 @@ export { default as LoopEnd } from './LoopEnd'
export { default as Loop } from './Loop'
export { default as ParameterExtractor } from './ParameterExtractor'
export { default as QuestionClassifier } from './QuestionClassifier'
export { default as RunAllTriggers } from './RunAllTriggers'
export { default as Schedule } from './Schedule'
export { default as TemplatingTransform } from './TemplatingTransform'
export { default as TriggerAll } from './TriggerAll'
export { default as VariableX } from './VariableX'
export { default as WebhookLine } from './WebhookLine'
export { default as WindowCursor } from './WindowCursor'

View File

@ -5,7 +5,7 @@ import { BlockEnum, type CommonNodeType } from '../types'
import { getWorkflowEntryNode } from '../utils/workflow-entry'
import type { TestRunOptions, TriggerOption } from '../header/test-run-dropdown'
import Home from '@/app/components/base/icons/src/vender/workflow/Home'
import { RunAllTriggers, Schedule, WebhookLine } from '@/app/components/base/icons/src/vender/workflow'
import { Schedule, TriggerAll, WebhookLine } from '@/app/components/base/icons/src/vender/workflow'
import AppIcon from '@/app/components/base/app-icon'
import { useStore } from '../store'
import { canFindTool } from '@/utils'
@ -155,7 +155,7 @@ export const useDynamicTestRunOptions = (): TestRunOptions => {
name: t('workflow.common.runAllTriggers'),
icon: (
<div className="flex h-6 w-6 items-center justify-center rounded-lg border-[0.5px] border-white/2 bg-util-colors-purple-purple-500 text-white shadow-md">
<RunAllTriggers className="h-4.5 w-4.5" />
<TriggerAll className="h-4.5 w-4.5" />
</div>
),
enabled: true,