From 6c6646ed38fc4749f187a385cab6ee597db711d8 Mon Sep 17 00:00:00 2001 From: "Semenets V. Pavel" Date: Fri, 20 Feb 2026 16:51:32 +0300 Subject: [PATCH] fix: address code review feedback for WorkflowGraph.vue Changes: - i18n: Removed all comments, made code self-documenting - fix(zoom): Corrected cumulative scaling drift (1.2 * 0.8 != 1.0) - refactor(styles): Replaced inline dynamic styles with CSS classes - fix(storage): Implemented LRU cache for localStorage (max 15 entries) - cleanup: Removed CSS variable fallbacks, use design system only - fix: Corrected zoom controls rendering and border display - chore: Aligned component structure with project conventions Note: Component implemented manually with strict typing and performance optimizations (rAF, cycle detection) --- web_src/js/components/WorkflowGraph.vue | 1460 ++++++++++++----------- 1 file changed, 776 insertions(+), 684 deletions(-) diff --git a/web_src/js/components/WorkflowGraph.vue b/web_src/js/components/WorkflowGraph.vue index f0cb478b48..f687b3fb80 100644 --- a/web_src/js/components/WorkflowGraph.vue +++ b/web_src/js/components/WorkflowGraph.vue @@ -1,3 +1,734 @@ + + - -