You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The add-node panel's search input showed a generic "Search" placeholder. Per the Flow building experience content audit, search placeholders should describe what will be searched.
AddNodePanel now defaults its search placeholder to "Search nodes" (new lingui message addNodePanel.searchNodes).
Both AddNodePanel and Toolbox expose an optional searchPlaceholder prop so hosts can pass scoped copy ("Search agents", "Search data nodes") per menu context.
Changes
Toolbox: new optional searchPlaceholder prop; default behavior unchanged (lingui toolbox.search = "Search"), so other Toolbox consumers (e.g. StageNode) are unaffected
AddNodePanel + AddNodePanel.types: pass-through prop, defaulting to "Search nodes"
src/canvas/locales/en.json: addNodePanel.searchNodes entry (English only; translated catalogs land via the usual translator flow)
Testing
Toolbox + AddNodePanel test suites pass (146 tests)
turbo run typecheck --filter=@uipath/apollo-react green; biome lint shows only pre-existing warnings
Note: pnpm run i18n:extract currently fails repo-wide on a pre-existing duplicate id in ap-chat (autopilot-chat.error.multiple-files has two different default texts) — the catalog entry was added by hand and verified with i18n:compile
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates the canvas add-node search UX copy in @uipath/apollo-react so the placeholder describes what the user is searching, aligning with the referenced content audit guidance.
Changes:
Added a new Lingui message id for the add-node search placeholder and defaulted it to “Search nodes” in AddNodePanel.
Extended Toolbox with an optional searchPlaceholder prop (default remains the existing generic “Search”).
Plumbed the optional searchPlaceholder through AddNodePanel so hosts can override it with context-specific copy.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
File
Description
packages/apollo-react/src/canvas/locales/en.json
Adds addNodePanel.searchNodes English catalog entry (“Search nodes”).
Per-package coverage and bundle size on this PR. New-line coverage = of the source lines this PR adds or changes, the % hit by tests.
Package
Coverage
New-line coverage
Packed (gzip)
Unpacked
vs main
@uipath/apollo-core
9.0%
—
43.82 MB
57.31 MB
±0
@uipath/apollo-react
34.5%
100.0% (3/3)
7.27 MB
27.60 MB
+224 B
@uipath/apollo-wind
40.1%
—
392.5 KB
2.55 MB
+1 B
@uipath/ap-chat
85.8%
—
43.41 MB
55.85 MB
−10 B
"Coverage" is each package's own coverage.include scope (e.g. apollo-core instruments only scripts/). "Packed"/"Unpacked" come from npm pack --dry-run and only cover built packages — "—" means not measured this run (package not affected / not built). "vs main" is the packed (gzipped) delta against the last successful main build (the package-sizes artifact from the Release workflow); "—" there means no main baseline was available this run. The baseline is main's latest build, not this PR's exact merge-base, so it includes any drift since the branch diverged. Packages with no vitest config are omitted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AddNodePanelnow defaults its search placeholder to "Search nodes" (new lingui messageaddNodePanel.searchNodes).AddNodePanelandToolboxexpose an optionalsearchPlaceholderprop so hosts can pass scoped copy ("Search agents", "Search data nodes") per menu context.Changes
Toolbox: new optionalsearchPlaceholderprop; default behavior unchanged (linguitoolbox.search= "Search"), so other Toolbox consumers (e.g. StageNode) are unaffectedAddNodePanel+AddNodePanel.types: pass-through prop, defaulting to "Search nodes"src/canvas/locales/en.json:addNodePanel.searchNodesentry (English only; translated catalogs land via the usual translator flow)Testing
turbo run typecheck --filter=@uipath/apollo-reactgreen; biome lint shows only pre-existing warningspnpm run i18n:extractcurrently fails repo-wide on a pre-existing duplicate id in ap-chat (autopilot-chat.error.multiple-fileshas two different default texts) — the catalog entry was added by hand and verified withi18n:compile