Skip to content

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.

Merge branch 'dev' into 86eue1t3q

samme-abdul8b629e57478d
diff --cc packages/app/src/builder-ui/ui/dialogs.ts
index c96b1e9c,e0c60810..d7826d46
--- a/packages/app/src/builder-ui/ui/dialogs.ts
+++ b/packages/app/src/builder-ui/ui/dialogs.ts
@@@ -112,14 -112,9 +112,14 @@@ export async function createRightSideba
const titleRightActions = rightSidebar.querySelector('.title-right-buttons');
const titleLeftActions = rightSidebar.querySelector('.title-left-buttons');
const closeBtn: HTMLButtonElement = rightSidebar.querySelector('.close-btn');
- const saveBtn: HTMLButtonElement = rightSidebar.querySelector('.save-btn');
+ const saveBtn: HTMLButtonElement = rightSidebar.querySelector('.action-save');
- if (title) sidebarTitle.innerHTML = title;
+ if (title) sidebarTitle.innerText = title;
+ // Ensure title container doesn't affect vertical alignment of adjacent actions
+ (sidebarTitle as HTMLElement).style.display = 'inline-flex';
+ (sidebarTitle as HTMLElement).style.alignItems = 'center';
+ (sidebarTitle as HTMLElement).style.minWidth = '0px';
+ (sidebarTitle as HTMLElement).style.maxWidth = '100%';
if (content) sidebarContent.innerHTML = content;
if (closeBtn) {
closeBtn.onclick = async () => {
diff --cc packages/app/views/pages/partials/studio/right-sidebar.ejs
index b0c78189,f4cf8e0d..2adbc66f
--- a/packages/app/views/pages/partials/studio/right-sidebar.ejs
+++ b/packages/app/views/pages/partials/studio/right-sidebar.ejs
@@@ -27,36 -27,13 +27,13 @@@
<div class="title-right-buttons inline-flex" dir="rtl">
<button
type="button"
- class="save-btn h-10 items-center py-1 text-xs text-[#757575] bg-transparent focus:z-10"
- data-tooltip-target="tooltip-save-close"
- data-tooltip-placement="left"
+ class="close-btn tooltip-trigger tooltip-pill relative h-10 items-center py-1 text-xs text-[#757575] bg-transparent focus:z-10"
+ data-tooltip="Close"
+ data-tooltip-position="left"
+ aria-label="Close"
>
- <span class="mif-cross"></span>
+ <span class="mt-1 mif-cross"></span>
</button>
- <div
- id="tooltip-save-close"
- role="tooltip"
- class="tooltip absolute z-10 inline-block text-sm w-max bg-black shadow-lg text-white py-2 px-4 rounded-lg opacity-0 invisible"
- style="font-family: 'Inter', sans-serif"
- >
- Save&nbsp;and&nbsp;Close
- </div>
- <button
- type="button"
- class="close-btn h-10 items-center py-1 text-xs text-[#757575] bg-transparent focus:z-10"
- data-tooltip-target="tooltip-close"
- data-tooltip-placement="left"
- >
- <span class="mt-1 mif-cross"></span>
- </button>
- <div
- id="tooltip-close"
- role="tooltip"
- class="tooltip absolute z-10 inline-block text-sm w-max bg-black shadow-lg text-white py-2 px-4 rounded-lg opacity-0 invisible"
- style="font-family: 'Inter', sans-serif"
- >
- Close
- </div>
</div>
</div>
</div>