mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 20:17:29 +08:00
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:
parent
18f2e6f166
commit
5a427b8daa
@ -20,4 +20,5 @@ class WorkflowIdFormatError(Exception):
|
|||||||
|
|
||||||
class InvokeDailyRateLimitError(Exception):
|
class InvokeDailyRateLimitError(Exception):
|
||||||
"""Raised when daily rate limit is exceeded for workflow invocations."""
|
"""Raised when daily rate limit is exceeded for workflow invocations."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@ -69,5 +69,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"name": "RunAllTriggers"
|
"name": "TriggerAll"
|
||||||
}
|
}
|
||||||
@ -2,7 +2,7 @@
|
|||||||
// DON NOT EDIT IT MANUALLY
|
// DON NOT EDIT IT MANUALLY
|
||||||
|
|
||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import data from './RunAllTriggers.json'
|
import data from './TriggerAll.json'
|
||||||
import IconBase from '@/app/components/base/icons/IconBase'
|
import IconBase from '@/app/components/base/icons/IconBase'
|
||||||
import type { IconData } 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} />
|
) => <IconBase {...props} ref={ref} data={data as IconData} />
|
||||||
|
|
||||||
Icon.displayName = 'RunAllTriggers'
|
Icon.displayName = 'TriggerAll'
|
||||||
|
|
||||||
export default Icon
|
export default Icon
|
||||||
@ -19,9 +19,9 @@ export { default as LoopEnd } from './LoopEnd'
|
|||||||
export { default as Loop } from './Loop'
|
export { default as Loop } from './Loop'
|
||||||
export { default as ParameterExtractor } from './ParameterExtractor'
|
export { default as ParameterExtractor } from './ParameterExtractor'
|
||||||
export { default as QuestionClassifier } from './QuestionClassifier'
|
export { default as QuestionClassifier } from './QuestionClassifier'
|
||||||
export { default as RunAllTriggers } from './RunAllTriggers'
|
|
||||||
export { default as Schedule } from './Schedule'
|
export { default as Schedule } from './Schedule'
|
||||||
export { default as TemplatingTransform } from './TemplatingTransform'
|
export { default as TemplatingTransform } from './TemplatingTransform'
|
||||||
|
export { default as TriggerAll } from './TriggerAll'
|
||||||
export { default as VariableX } from './VariableX'
|
export { default as VariableX } from './VariableX'
|
||||||
export { default as WebhookLine } from './WebhookLine'
|
export { default as WebhookLine } from './WebhookLine'
|
||||||
export { default as WindowCursor } from './WindowCursor'
|
export { default as WindowCursor } from './WindowCursor'
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { BlockEnum, type CommonNodeType } from '../types'
|
|||||||
import { getWorkflowEntryNode } from '../utils/workflow-entry'
|
import { getWorkflowEntryNode } from '../utils/workflow-entry'
|
||||||
import type { TestRunOptions, TriggerOption } from '../header/test-run-dropdown'
|
import type { TestRunOptions, TriggerOption } from '../header/test-run-dropdown'
|
||||||
import Home from '@/app/components/base/icons/src/vender/workflow/Home'
|
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 AppIcon from '@/app/components/base/app-icon'
|
||||||
import { useStore } from '../store'
|
import { useStore } from '../store'
|
||||||
import { canFindTool } from '@/utils'
|
import { canFindTool } from '@/utils'
|
||||||
@ -155,7 +155,7 @@ export const useDynamicTestRunOptions = (): TestRunOptions => {
|
|||||||
name: t('workflow.common.runAllTriggers'),
|
name: t('workflow.common.runAllTriggers'),
|
||||||
icon: (
|
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">
|
<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>
|
</div>
|
||||||
),
|
),
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user