mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Minor fixes
This commit is contained in:
@@ -40,8 +40,8 @@ export async function parseMentions(text: string, cwd: string, urlScraper?: UrlS
|
|||||||
return `'${mention}' (see below for site content)`
|
return `'${mention}' (see below for site content)`
|
||||||
} else if (mention.startsWith("/")) {
|
} else if (mention.startsWith("/")) {
|
||||||
return mention.endsWith("/")
|
return mention.endsWith("/")
|
||||||
? `'${mention}' (see below for folder contents)`
|
? `'${mention}' (see below for folder content)`
|
||||||
: `'${mention}' (see below for file contents)`
|
: `'${mention}' (see below for file content)`
|
||||||
} else if (mention === "problems") {
|
} else if (mention === "problems") {
|
||||||
return `Workspace Problems (see below for diagnostics)`
|
return `Workspace Problems (see below for diagnostics)`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -496,8 +496,8 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
|
|||||||
// }
|
// }
|
||||||
// return false
|
// return false
|
||||||
// }}
|
// }}
|
||||||
// increasing top by 1_000 to prevent jumping around when user collapses a row
|
// increasing top by 3_000 to prevent jumping around when user collapses a row
|
||||||
increaseViewportBy={{ top: 1_000, bottom: Number.MAX_SAFE_INTEGER }} // hack to make sure the last message is always rendered to get truly perfect scroll to bottom animation when new messages are added (Number.MAX_SAFE_INTEGER is safe for arithmetic operations, which is all virtuoso uses this value for in src/sizeRangeSystem.ts)
|
increaseViewportBy={{ top: 3_000, bottom: Number.MAX_SAFE_INTEGER }} // hack to make sure the last message is always rendered to get truly perfect scroll to bottom animation when new messages are added (Number.MAX_SAFE_INTEGER is safe for arithmetic operations, which is all virtuoso uses this value for in src/sizeRangeSystem.ts)
|
||||||
data={visibleMessages} // messages is the raw format returned by extension, modifiedMessages is the manipulated structure that combines certain messages of related type, and visibleMessages is the filtered structure that removes messages that should not be rendered
|
data={visibleMessages} // messages is the raw format returned by extension, modifiedMessages is the manipulated structure that combines certain messages of related type, and visibleMessages is the filtered structure that removes messages that should not be rendered
|
||||||
itemContent={itemContent}
|
itemContent={itemContent}
|
||||||
atBottomStateChange={setIsAtBottom}
|
atBottomStateChange={setIsAtBottom}
|
||||||
|
|||||||
Reference in New Issue
Block a user