Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: raise chat settings select dropdown above dialog (#35357)
hyl64bd25240123cf
diff --git a/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx b/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsxindex c1a0f3e2943..6081024490d 100644--- a/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx+++ b/web/app/components/base/chat/chat-with-history/inputs-form/__tests__/content.spec.tsx@@ -248,6 +248,19 @@ describe('InputsFormContent', () => {expect(mockSetCurrentConversationInputs).toHaveBeenCalledWith(expect.objectContaining({ sel: 'A' }))})+ it('renders select dropdown above the settings dialog layer', async () => {+ const user = userEvent.setup()+ const context = createMockContext({+ inputsForms: [{ variable: 'sel', type: InputVarType.select, label: 'Sel', options: ['A', 'B'], default: 'B' }],+ currentConversationInputs: {},+ })++ renderWithContext(<InputsFormContent />, context)+ await user.click(screen.getByText('B'))++ expect(screen.getByText('A').closest('.z-\\[60\\]')).not.toBeNull()+ })+it('handles select input with existing value (value not in options -> shows placeholder)', () => {const context = createMockContext({inputsForms: [{ variable: 'sel', type: InputVarType.select, label: 'Sel', options: ['A'], default: undefined }],diff --git a/web/app/components/base/chat/chat-with-history/inputs-form/content.tsx b/web/app/components/base/chat/chat-with-history/inputs-form/content.tsxindex 127cf2c2529..4baa46744da 100644--- a/web/app/components/base/chat/chat-with-history/inputs-form/content.tsx+++ b/web/app/components/base/chat/chat-with-history/inputs-form/content.tsx@@ -86,7 +86,7 @@ const InputsFormContent = ({ showTip }: Props) => {)}{form.type === InputVarType.select && (<PortalSelect- popupClassName="w-[200px]"+ popupClassName="z-[60] w-[200px]"value={inputsFormValue?.[form.variable] ?? form.default ?? ''}items={form.options.map((option: string) => ({ value: option, name: option }))}onSelect={item => handleFormChange(form.variable, item.value as string)}diff --git a/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx b/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsxindex 526fca2061d..f6827526456 100644--- a/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx+++ b/web/app/components/base/chat/embedded-chatbot/inputs-form/__tests__/content.spec.tsx@@ -200,6 +200,17 @@ describe('InputsFormContent', () => {expect(mockContextValue.handleNewConversationInputsChange).toHaveBeenCalled()})+ it('should render select dropdown above the settings dialog layer', async () => {+ render(<InputsFormContent />)+ const selectTrigger = screen.getAllByText(/Select Label/i).find(el => el.tagName === 'SPAN')+ if (!selectTrigger)+ throw new Error('Select trigger not found')++ await user.click(selectTrigger)++ expect(screen.getByText('Option 1').closest('.z-\\[60\\]')).not.toBeNull()+ })+it('should handle single file upload change', async () => {render(<InputsFormContent />)const uploadButtons = screen.getAllByText('Upload')diff --git a/web/app/components/base/chat/embedded-chatbot/inputs-form/content.tsx b/web/app/components/base/chat/embedded-chatbot/inputs-form/content.tsxindex 2ce40480c34..733e3b11015 100644--- a/web/app/components/base/chat/embedded-chatbot/inputs-form/content.tsx+++ b/web/app/components/base/chat/embedded-chatbot/inputs-form/content.tsx@@ -86,7 +86,7 @@ const InputsFormContent = ({ showTip }: Props) => {)}{form.type === InputVarType.select && (<PortalSelect- popupClassName="w-[200px]"+ popupClassName="z-[60] w-[200px]"value={inputsFormValue?.[form.variable] ?? form.default ?? ''}items={form.options.map((option: string) => ({ value: option, name: option }))}onSelect={item => handleFormChange(form.variable, item.value as string)}