Fix Sharepoint Folder Parsing (#3791)

This commit is contained in:
Yuhong Sun
2025-01-26 16:45:24 -08:00
committed by GitHub
parent 7a64a25ff4
commit 05ab94945b
3 changed files with 21 additions and 3 deletions

View File

@@ -77,7 +77,9 @@ export function LabelWithTooltip({
}
export function SubLabel({ children }: { children: string | JSX.Element }) {
return <div className="text-xs text-subtle">{children}</div>;
return (
<div className="text-xs text-subtle whitespace-pre-line">{children}</div>
);
}
export function ManualErrorMessage({ children }: { children: string }) {

View File

@@ -481,7 +481,9 @@ Hint: Use the singular form of the object name (e.g., 'Opportunity' instead of '
name: "sites",
optional: true,
description: `• If no sites are specified, all sites in your organization will be indexed (Sites.Read.All permission required).
• Specifying 'https://onyxai.sharepoint.com/sites/support' for example will only index documents within this site.
• Specifying 'https://onyxai.sharepoint.com/sites/support/subfolder' for example will only index documents within this folder.
`,
},