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
Fix: 86eum0w9g : Update tooltip positioning for consistency
samme-abdul2ee4952187bc
diff --git a/packages/app/src/builder-ui/components/APICall.class.ts b/packages/app/src/builder-ui/components/APICall.class.tsindex bf3d84e3..29c38761 100644--- a/packages/app/src/builder-ui/components/APICall.class.ts+++ b/packages/app/src/builder-ui/components/APICall.class.ts@@ -126,7 +126,7 @@ export class APICall extends Component {section: 'OAuth',sectionHelp:'SmythOS supports OAuth 2.0 with OpenID Connect (OIDC) for secure user authentication and authorization.',- sectionTooltipClasses: 'w-64 ml-12',+ sectionTooltipClasses: 'w-64',sectionArrowClasses: '-ml-11',options: ['None',diff --git a/packages/app/src/builder-ui/components/Code.class.ts b/packages/app/src/builder-ui/components/Code.class.tsindex 8bc78a0a..1a19bbda 100644--- a/packages/app/src/builder-ui/components/Code.class.ts+++ b/packages/app/src/builder-ui/components/Code.class.ts@@ -33,6 +33,8 @@ _output = {result, message};code: { mode: 'javascript', theme: 'chrome' },label: `Code`,help: 'Code to process inputs.',+ tooltipClasses: 'w-44',+ arrowClasses: '-ml-11',value: codeSample,validate: `maxlength=500000`,validateMessage: `The code length is limitted to 500,000 characters`,diff --git a/packages/app/src/builder-ui/components/FileStore.class.ts b/packages/app/src/builder-ui/components/FileStore.class.tsindex 272fe917..6c114aaa 100644--- a/packages/app/src/builder-ui/components/FileStore.class.ts+++ b/packages/app/src/builder-ui/components/FileStore.class.ts@@ -16,6 +16,8 @@ export class FileStore extends Component {type: 'select',label: 'TTL',help: 'Time to live',+ tooltipClasses: 'w-28',+ arrowClasses: '-ml-11',options: [{value: '86400',diff --git a/packages/app/src/builder-ui/components/Note.class.ts b/packages/app/src/builder-ui/components/Note.class.tsindex 741ad6f7..d49767d4 100644--- a/packages/app/src/builder-ui/components/Note.class.ts+++ b/packages/app/src/builder-ui/components/Note.class.ts@@ -59,7 +59,7 @@ export class Note extends Component {label: 'Content',value: this.data.content || '',help: "Add your note's text or markdown content.",- tooltipClasses: 'w-56 ',+ tooltipClasses: 'w-40',arrowClasses: '-ml-11',hintPosition: 'bottom',validate: `maxlength=5000`,diff --git a/packages/app/src/builder-ui/ui/form/createFormField.ts b/packages/app/src/builder-ui/ui/form/createFormField.tsindex c57e837b..720ca502 100644--- a/packages/app/src/builder-ui/ui/form/createFormField.ts+++ b/packages/app/src/builder-ui/ui/form/createFormField.ts@@ -894,7 +894,7 @@ function applyTooltipConfig(actionBtn, action) {if (!action.tooltip) return;const defaultTooltipConfig = {- position: 'bottom',+ position: 'top',classes:'bg-white shadow-lg text-black py-2 px-2 whitespace-nowrap max-w-[320px] -translate-x-[110px] rounded-lg',hideDelay: '500000',diff --git a/packages/app/src/builder-ui/ui/form/fields.ts b/packages/app/src/builder-ui/ui/form/fields.tsindex 04d29f10..651ec2f3 100644--- a/packages/app/src/builder-ui/ui/form/fields.ts+++ b/packages/app/src/builder-ui/ui/form/fields.ts@@ -188,10 +188,13 @@ export function createInfoButton(entryIndex = 0,) {let estimatedWidth = text.length * 2 > 48 ? 48 : text.length * 2;+ // TODO: This is a temporary fix to avoid the tooltip being cutoff in the sidebar and showing it on the top.+ // if (entryIndex < 2) {+ // position = position || 'bottom';+ // }- if (entryIndex < 2) {- position = position || 'bottom';- }+ // Enforce consistent tooltip placement above to avoid cutoff in the sidebar+ position = 'top';// Create a container for the React componentconst tooltipContainer = document.createElement('div');