Merge branch 'main' into feat/performance-optimization

pull/22810/head
twwu 7 months ago
commit 9b4c69486a

@ -163,6 +163,7 @@ class WorkflowEntry:
graph=graph, graph=graph,
graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()), graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()),
) )
node.init_node_data(node_config_data)
try: try:
# variable selector to variable mapping # variable selector to variable mapping
@ -273,6 +274,7 @@ class WorkflowEntry:
graph=graph, graph=graph,
graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()), graph_runtime_state=GraphRuntimeState(variable_pool=variable_pool, start_at=time.perf_counter()),
) )
node.init_node_data(node_data)
try: try:
# variable selector to variable mapping # variable selector to variable mapping

@ -65,6 +65,7 @@ const DeprecationNotice: FC<DeprecationNoticeProps> = ({
{ {
hasValidDeprecatedReason && alternativePluginId && ( hasValidDeprecatedReason && alternativePluginId && (
<Trans <Trans
t={t}
i18nKey={`${i18nPrefix}.fullMessage`} i18nKey={`${i18nPrefix}.fullMessage`}
components={{ components={{
CustomLink: ( CustomLink: (

@ -6,7 +6,7 @@ import PluginTypeSwitch from './plugin-type-switch'
import ListWrapper from './list/list-wrapper' import ListWrapper from './list/list-wrapper'
import type { SearchParams } from './types' import type { SearchParams } from './types'
import { getMarketplaceCollectionsAndPlugins } from './utils' import { getMarketplaceCollectionsAndPlugins } from './utils'
import { TanstackQueryIniter } from '@/context/query-client' import { TanstackQueryInitializer } from '@/context/query-client'
type MarketplaceProps = { type MarketplaceProps = {
locale: string locale: string
@ -39,7 +39,7 @@ const Marketplace = async ({
} }
return ( return (
<TanstackQueryIniter> <TanstackQueryInitializer>
<MarketplaceContextProvider <MarketplaceContextProvider
searchParams={searchParams} searchParams={searchParams}
shouldExclude={shouldExclude} shouldExclude={shouldExclude}
@ -65,7 +65,7 @@ const Marketplace = async ({
showInstallButton={showInstallButton} showInstallButton={showInstallButton}
/> />
</MarketplaceContextProvider> </MarketplaceContextProvider>
</TanstackQueryIniter> </TanstackQueryInitializer>
) )
} }

Loading…
Cancel
Save