SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Refactor feedback modal behavior and adjust right edge calculation in builder view
Muhammad Hamza Khan8da5f127c678
diff --git a/packages/app/views/pages/builder.ejs b/packages/app/views/pages/builder.ejsindex 119ca779..6598674a 100644--- a/packages/app/views/pages/builder.ejs+++ b/packages/app/views/pages/builder.ejs@@ -342,7 +342,7 @@ include('partials/studio/feedback-modal') -%>// Calculate the right edge position: viewport width minus right sidebar (if open) and its right offset// The right sidebar container is positioned with right-4 (16px from right edge)const RIGHT_SIDEBAR_OFFSET = 16; // right-4 class = 1rem = 16px- const rightEdge = viewportWidth - (isRightSidebarOpen ? rightSidebarWidth + RIGHT_SIDEBAR_OFFSET : 0);+ const rightEdge = viewportWidth - (isRightSidebarOpen ? rightSidebarWidth + RIGHT_SIDEBAR_OFFSET : RIGHT_SIDEBAR_OFFSET);// Calculate the container width: space between left position and right edgeconst bottomContainerWidth = rightEdge - leftPosition;diff --git a/packages/app/views/pages/partials/studio/feedback-modal.ejs b/packages/app/views/pages/partials/studio/feedback-modal.ejsindex 737c3486..8ef10962 100644--- a/packages/app/views/pages/partials/studio/feedback-modal.ejs+++ b/packages/app/views/pages/partials/studio/feedback-modal.ejs@@ -170,13 +170,11 @@function openFeedbackModal() {feedbackModal?.classList.remove('hidden');- document.body.style.overflow = 'hidden';updateSubmitButton();}function closeFeedbackModal() {feedbackModal?.classList.add('hidden');- document.body.style.overflow = 'auto';resetFeedbackForm();}