File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
front_end/panels/ai_assistance/components Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { ScrollPinHelper } from './ScrollPinHelper.js';
2424import * as Lit from '../../../ui/lit/lit.js' ;
2525import * as VisualLogging from '../../../ui/visual_logging/visual_logging.js' ;
2626import { PatchWidget } from '../PatchWidget.js' ;
27+ import { MarkdownRendererWithCodeBlock } from './MarkdownRendererWithCodeBlock.js' ;
2728
2829import chatViewStyles from './chatView.css.js' ;
2930import { UserActionRow } from './UserActionRow.js' ;
@@ -217,6 +218,8 @@ const lockedString = i18n.i18n.lockedString;
217218const SCROLL_ROUNDING_OFFSET = 1 ;
218219const RELEVANT_DATA_LINK_FOOTER_ID = 'relevant-data-link-footer' ;
219220const RELEVANT_DATA_LINK_CHAT_ID = 'relevant-data-link-chat' ;
221+ const RELEVANT_DATA_LINK_ID = 'relevant-data-link' ;
222+ const TOOLTIP_POPOVER_OFFSET = 8 ;
220223
221224export interface Step {
222225 isLoading : boolean ;
@@ -546,6 +549,8 @@ export class ChatView extends HTMLElement {
546549 ? renderRelevantDataDisclaimer ( {
547550 isLoading : this . #props. isLoading ,
548551 blockedByCrossOrigin : this . #props. blockedByCrossOrigin ,
552+ tooltipId : RELEVANT_DATA_LINK_FOOTER_ID ,
553+ disclaimerText : this . #props. disclaimerText ,
549554 } )
550555 : html `< p >
551556 ${ lockedString ( UIStringsNotTranslate . inputDisclaimerForEmptyState ) }
You can’t perform that action at this time.
0 commit comments