feat: standardize node output icons with TextSearch and Chevrons (#5600)
* ✨ (NodeInputField): Update styling to include padding-bottom when lastInput is true for better UI appearance 📝 (NodeOutputfield): Import TextSearch component from lucide-react library for future use 🔧 (RenderInputParameters): Simplify logic for determining lastInput in NodeInputField component 🔧 (GenericNode): Change icon displayed on HiddenOutputsButton based on showHiddenOutputs state 🔧 (GenericNode): Update tooltip content to include the number of hiddenOutputs when toggling visibility 🔧 (sliderComponent): Remove unnecessary padding-bottom from SliderComponent for better layout 📝 (constants.ts): Update tooltip text for better clarity and consistency with action names * ✨ (NodeOutputfield/index.tsx): Update import statement for IconComponent to include ForwardedIconComponent for better organization and clarity 🐛 (chatInputOutputUser-shard-0.spec.ts, chatInputOutputUser-shard-1.spec.ts): Fix references to 'ScanEye' icon to 'TextSearchIcon' for consistency and accuracy in tests
This commit is contained in:
parent
517961d281
commit
febae4b589
8 changed files with 21 additions and 19 deletions
|
|
@ -80,11 +80,11 @@ test(
|
|||
|
||||
await page.getByText("Close", { exact: true }).click();
|
||||
|
||||
await page.waitForSelector('[data-testid="icon-ScanEye"]', {
|
||||
await page.waitForSelector('[data-testid="icon-TextSearchIcon"]', {
|
||||
timeout: 30000,
|
||||
});
|
||||
|
||||
await page.getByTestId("icon-ScanEye").nth(4).click();
|
||||
await page.getByTestId("icon-TextSearchIcon").nth(4).click();
|
||||
|
||||
await page.getByText("Restart").isHidden();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -34,11 +34,11 @@ test(
|
|||
timeout: 15000,
|
||||
});
|
||||
|
||||
await page.waitForSelector('[data-testid="icon-ScanEye"]', {
|
||||
await page.waitForSelector('[data-testid="icon-TextSearchIcon"]', {
|
||||
timeout: 30000,
|
||||
});
|
||||
|
||||
await page.getByTestId("icon-ScanEye").nth(4).click();
|
||||
await page.getByTestId("icon-TextSearchIcon").nth(4).click();
|
||||
|
||||
await page.getByText("Sender", { exact: true }).isVisible();
|
||||
await page.getByText("Type", { exact: true }).isVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue