fix(knowledge): add toaster notifications, centralized error handling, and file upload hooks (#9024)#9058
Merged
preetriti1 merged 1 commit intohotfix/v5.294from Apr 14, 2026
Merged
Conversation
…dling, and file upload hooks (#9024) * fix(knowledge): Error handling and content changes for knowledge wizard and designer * chore(deps): bump lodash from 4.17.21 to 4.18.1 (#8996) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.21...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Castro <ccastrotrejo@microsoft.com> * fix(designer): Only populate deploymentModelProperties for MicrosoftFoundry (#9012) fixed deploymentModelProperties not updating properly issue * fix(DesignerV2): Fixed nested workflow clickthrough button (#9018) * Fixed child run issue in standard logic apps * Fixed duplicate IO requests * Fixed data import issue with io * Added clickthrough to context menu * Fixing issues found in knowledge hub creation * Fixing tests --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Priti Sambandam <psamband@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Castro <ccastrotrejo@microsoft.com> Co-authored-by: Elaina Lee <144840522+Elaina-Lee@users.noreply.github.com> Co-authored-by: Riley Evans <rllyy97@gmail.com>
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Optional: remove trailing (#9024) for cleanliness. |
| Commit Type | ✅ | No change needed. |
| Risk Level | ✅ (body/label matched) | Advised risk is HIGH — see below and update label if you accept that assessment. |
| What & Why | ✅ | Add explicit breaking/migration note for changed function semantics. |
| Impact of Change | ✅ | Add explicit list of changed exported functions and migration steps. |
| Test Plan | ✅ | Good unit tests present. Consider adding E2E or document manual scenarios. |
| Contributors | Add contributors or note none. | |
| Screenshots/Videos | Add screenshots/videos for the new toasts and message bars. |
Final notes and required actions
- PR body mostly follows the template and is well filled out — good job.
- Risk re-evaluation: I recommend bumping to risk:high. Rationale:
- createOrUpdateConnection signature changed (added isCreate flag) and multiple code paths now call it with that flag; this is a breaking API for any external consumers or internal callers not updated.
- createKnowledgeHub now throws errors instead of returning undefined on failures — that is a semantic change and callers must handle rejected Promises.
- Many UI/state files changed (optionsSlice notification state, dispatching notifications across multiple panels, new hooks) which increases surface area for regressions, especially in flows that cross module boundaries.
- The change set is large (33 files changed, ~1700 additions, ~1000 deletions) which implies non-trivial regression risk in runtime behavior.
- Recommendations before merging (minimum):
- Add an explicit Migration / Breaking Changes section in the PR body listing the changed exported functions (createOrUpdateConnection, createKnowledgeHub) and exactly what callers must change.
- Add screenshots / short video demonstrating the new toaster notification (success and failure) and message bars so reviewers and designers can confirm copy and placement.
- If you accept the higher risk assessment, either change the PR label to
risk:highor add a justification in the PR body that explains why it should remainrisk:medium. Ensure release managers are warned. - Add a short note in Test Plan describing manual test scenarios exercised and whether any integration/E2E tests are planned (and why not included if omitted).
- Remove the
needs-pr-updatelabel once you update the PR body with the migration notes and screenshots.
Please update the PR title/body with the migration notes and (optionally) screenshots. If you want, I can produce a concise migration bullet list based on the diff to paste into the PR description.
Summary decision: PR body/template PASS — but advised risk is higher than the submitter's selection (recommend risk:high).
Thank you for the thorough tests and coverage. Please make the small additions above (migration notes, screenshots, and a short justification if you keep risk:medium) before merging.
Last updated: Tue, 14 Apr 2026 15:20:27 GMT
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
takyyon
approved these changes
Apr 14, 2026
This was referenced Apr 15, 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
Added error handling and success / failure notification toasters during create calls.
Refactoring to reuse the code between add file from dialog and drawer
Impact of Change
Test Plan
Contributors
Screenshots/Videos