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
Root cause is correctly identified and fixed. The linkedSignal was recomputing $shouldHideControls from $contenttypes — which goes transiently empty during loading/searching — so the search bar would disappear mid-search. Replacing it with a plain signal(true) driven by DotPaletteListStatus events is the right approach.
Issues
dot-uve.js deletion needs explanation
The deleted file is a build artifact (dotCMS/src/main/webapp/ext/uve/dot-uve.js) produced by the libs/sdk/uve build target. The pre-commit hook in .husky/pre-commit already auto-stages it when present. Removing it from source control is correct practice, but:
HTMLPageAssetRenderedAPIImpl.java has a regex that matches this path — it strips the <script src="/ext/uve/dot-uve.js"> tag during rendering. That remains intact.
ema-legacy-script-injection.ts exports SDK_EDITOR_SCRIPT_SOURCE = '/ext/uve/dot-uve.js' and injects it. This still works as long as the SDK build runs before the webapp is deployed.
Risk: if the SDK is not built before starting dotCMS (e.g. fresh clone, dev env), the /ext/uve/dot-uve.js URL will 404 and the UVE editor script won't load. The PR description should confirm the build pipeline guarantees this file exists at runtime.
This reads $contenttypes() synchronously after removeFavorite. Signal store mutations are synchronous, so the removed item should already be gone from the array — this works today. But it's a snapshot that bypasses the #updateControlsVisibility status-subscription path used everywhere else. A consistency concern, not a bug.
$shouldHideControls initial value of true on view change re-subscription
#updateControlsVisibility uses take(1) and subscribes fresh on every view change. If the view changes while a fetch is in-flight, the new subscription waits for the next EMPTY or LOADED status — this is correct. No issue here, just confirming it was checked.
Minor
JSDoc param rename contentTypeName → selectedContentType is correct and matches the actual parameter name.
linkedSignal import removal is clean.
PR description is the default template with no actual content filled in.
dario-daza
deleted the
35138-defect-content-palette-search-bar-disappears-after-performing-a-search
branch
April 2, 2026 00:00
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.
Proposed Changes
Checklist
Additional Info
** any additional useful context or info **
Screenshots