Skip to content

Conversation

@Priyanka-Microsoft
Copy link
Contributor

@Priyanka-Microsoft Priyanka-Microsoft commented Oct 8, 2025

Purpose

  • ...
    This pull request updates the logic for rewriting citation URLs in the CitationPanel.tsx component. The main improvement is that it now distinguishes between internal blob storage URLs and external URLs, ensuring citations link appropriately.

URL handling improvements:

  • Updated the rewriteCitationUrl function to check if the URL is from the blob storage host (blob.core.windows.net). Internal blob storage URLs are rewritten to use the local /api/files/ endpoint, while external URLs are left unchanged and linked directly.

Bug Link
https://dev.azure.com/CSACTOSOL/CSA%20Solutioning/_workitems/edit/24546/

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit f2976be into Azure-Samples:dev Oct 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants