fix(knowledge-designer): Hiding the knowledge hub parameter from new designer#9082
Merged
preetriti1 merged 3 commits intomainfrom Apr 21, 2026
Merged
fix(knowledge-designer): Hiding the knowledge hub parameter from new designer#9082preetriti1 merged 3 commits intomainfrom
preetriti1 merged 3 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Logic Apps designer UX to hide the Knowledge Hub/Knowledge Base parameter in the new (v2) designer, while also updating “Learn more” links in Knowledge Hub UI surfaces.
Changes:
- Hide parameters with editor type
knowledgebasefrom the v2 designer parameter list (toParameterInfoMap). - Update Knowledge Hub “Learn more” links to a single fwlink URL in multiple UI locations.
- Add unit tests validating that
knowledgebaseeditor parameters are excluded fromtoParameterInfoMap.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| libs/designer/src/lib/ui/knowledge/panel/files/uploadfile.tsx | Updates “Learn more” links in the Knowledge Hub file upload panel sections. |
| libs/designer/src/lib/ui/knowledge/editor/index.tsx | Updates the Knowledge Hub editor “Learn more” link URL. |
| libs/designer-v2/src/lib/core/utils/parameters/helper.ts | Filters out knowledgebase editor parameters when generating v2 parameter infos. |
| libs/designer-v2/src/lib/core/utils/parameters/test/helper-agentParams.spec.ts | Adds tests ensuring knowledgebase editor parameters are excluded. |
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
takyyon
approved these changes
Apr 21, 2026
along with some css updates
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:
|
| Section | Status | Recommendation |
|---|---|---|
| Title | Use imperative verb: fix(knowledge-designer): Hide knowledge hub parameter in new designer |
|
| Commit Type | ✅ | No change needed |
| Risk Level | ✅ | risk:medium is appropriate |
| What & Why | ✅ | Clarify difference between new designer (v2) and GA designer behavior in the description |
| Impact of Change | ✅ | Expand on user/dev impact and mention feature-flag behavior explicitly |
| Test Plan | ✅ | Unit tests present. Consider adding E2E UI coverage for visibility behavior (optional) |
| Contributors | ✅ | Credit other contributors if applicable (optional) |
| Screenshots/Videos | ✅ | Good coverage provided |
Final Notes and Action Items
- Please update the PR title to use the imperative form (suggestion above).
- In the PR body, explicitly call out that designer-v2 hides knowledgebase parameters unconditionally while the GA designer uses WorkflowService().isKnowledgeHubEnabled (default true) so GA behavior is unaffected — this prevents confusion for reviewers and future maintainers.
- Consider aligning the checks between designer-v2 and designer (or add a comment explaining why they differ). Also consider using the same constant/enum for the editor value in both places instead of a hard-coded string (
'knowledgebase') to avoid typos and maintain consistency. - Optional: add or note an E2E/UI test for the visibility change if you have E2E testing in this area.
Please update the PR title/body with the suggested clarifications and then this can be merged. Thank you for the thorough test coverage and screenshots — very helpful!
Last updated: Tue, 21 Apr 2026 07:17:08 GMT
This was referenced Apr 21, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Commit Type
Risk Level
What & Why
Hiding the newly added knowledge hub parameter from agent connector in new designer. This should not impact anything in current GA designer for this new feature to be released.
Also updated the learn more links from 3 places in knowledge hub UI
Impact of Change
Test Plan
Contributors
@divyaswarnkar
Screenshots/Videos
in V2

Before:
After:

in V1.

Feature flag on -
Feature flag off -

CSS fix for long name
