refactor: improve types in the frontend, misc fixes (#39142)

This commit is contained in:
silverwind authored and GitHub committed 2026-08-31 04:12:25 -07:00
1 parent 535fc29ae8
commit 7c93ead628
46 files changed
+392 -217

No files matched your search

+13 -1
View File
@@ -18,6 +18,18 @@ import {
type RoutedEdge,
} from './WorkflowGraph.utils.ts';
export type WorkflowGraphLocale = {
graphJobsCount1: string,
graphJobsCountN: string,
graphDependenciesCount1: string,
graphDependenciesCountN: string,
graphSuccessRate: string,
graphZoomIn: string,
graphZoomMax: string,
graphZoomOut: string,
graphResetView: string,
};
interface StoredState {
scale: number;
translateX: number;
@@ -32,7 +44,7 @@ const props = defineProps<{
workflowId: string;
workflowLink?: string;
triggerEvent?: string;
locale: Record<string, string>;
locale: WorkflowGraphLocale;
}>();
const settingKeyStates = 'actions-graph-states';