Repository navigation
Fix Microsoft 365 citation cards and Outlook links - #1728
Merged
Paul Lizer (paullizer) merged 1 commit intoOct 8, 2026
Merged
Paul Lizer (paullizer) merged 1 commit into
Paul Lizer (paullizer) merged 1 commit into
Conversation
Retain Graph source metadata, reuse the accessible source modal, and add safe Outlook actions for recalled email and calendar items. Align Microsoft 365 answer guidance and regression coverage. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer)
merged commit Oct 8, 2026
b2dd375
into
paullizer-react-v2-ui
11 checks passed
Paul Lizer (paullizer)
added a commit
to paullizer/simplechat
that referenced
this pull request
Oct 9, 2026
…o the plan-replay branch Merged with rerere off. The only conflict was docs/explanation/release_notes.md: V2's file is kept byte-identical and this PR's section sits on top of it as a pure insertion. chat-controls.md and the two route-policy tests auto-merged with independent hunks. config.py merged cleanly because both sides are at 0.261.306; this PR's references move to 0.261.307 in the following commit. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
14 of 24 tasks
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.
Summary
webLinkwith custom selections. Email and calendar items now have safe Open in Outlook new-tab actions in the popup, Documents sidebar, and Sources panel; SharePoint and OneDrive links are unchanged.Saved history remains unchanged. Older records without a safe online URL need a fresh recall. No additional Graph requests, OAuth permissions, or history migration are introduced.
Linked issue
N/A. No associated GitHub issue.
Release Notes & Latest Features
Is this visible to end users?
Is this admin-facing (Admin Settings, governance, deployment, config)?
Should this become a Latest Feature card?
Screenshot needed for the card?
This refines existing citation functionality; no Latest Feature card is proposed. Release notes remain deferred pending administrator review.
Version bump
application/single_app/config.pyVERSIONthird segment bumped, or not needed because this is docs-onlydeployers/version.txtbumped, or not needed becausedeployers/was not changedApplication version:
0.261.304->0.261.305. No deployer files changed.Testing / validation
python -m pytest .\functional_tests\test_m365_source_citations.py .\functional_tests\test_m365_mail_calendar_search.py -q- passed: 59 tests.npm --prefix .\application\v2_ui run build- passed: TypeScript and production build; existing large-chunk warning remains.python .\functional_tests\test_docs_app_surface_coverage.py- passed: 7/7 checks, including inventory synchronization.python .\functional_tests\test_docs_site_quality.py- passed: 6/6 checks.python .\scripts\check_xss_sinks.py --full-file .\application\v2_ui\src\components\chat\M365CitationChip.tsx .\application\v2_ui\src\components\chat\ConversationDrawer.tsx .\application\v2_ui\src\components\chat\MessageInspector.tsx- passed for all three components.git --no-pager -c 'core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol' diff --cached --check- passed.Browser validation command:
Passed: 17 tests, 23 deselected. Coverage includes production-CSS contrast of at least 4.5:1, both themes and desktop/phone layouts, focus containment/restoration, safe URLs, unavailable links, and exact Outlook new-tab destinations. Light/dark desktop/mobile captures were also inspected during implementation. Outlook pages are intercepted synthetic fixtures, not real mailboxes.
Known pre-existing limitation: the broader
test_mixed_source_manifest_contracts.pysuite has 9 failures and 6 passes in this environment. The same failures were reproduced with the pre-change orchestration module and network access blocked, due to legacy authorization fixtures and missing Cosmos credentials. These unrelated fixtures and access controls are unchanged. No live Graph/mailbox or live-model evaluation was performed.Documentation
Updated the Microsoft 365 citation feature, chat-control reference, and email/calendar action references. Added fix details and validation. Release notes were not changed.
Security checklist
@swagger_route(security=get_auth_security())sanitize_settings_for_user()Route/settings entries are N/A: no routes or settings serialization were added or changed. Existing URL validation and
noopener noreferrerare retained; regression coverage verifies inert malicious-looking source metadata.