Skip to content

Commit 03b04cc

Browse files
committed
fix build
1 parent d482826 commit 03b04cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

front_end/panels/ai_assistance/components/ChatView.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { ScrollPinHelper } from './ScrollPinHelper.js';
2424
import * as Lit from '../../../ui/lit/lit.js';
2525
import * as VisualLogging from '../../../ui/visual_logging/visual_logging.js';
2626
import {PatchWidget} from '../PatchWidget.js';
27+
import {MarkdownRendererWithCodeBlock} from './MarkdownRendererWithCodeBlock.js';
2728

2829
import chatViewStyles from './chatView.css.js';
2930
import {UserActionRow} from './UserActionRow.js';
@@ -217,6 +218,8 @@ const lockedString = i18n.i18n.lockedString;
217218
const SCROLL_ROUNDING_OFFSET = 1;
218219
const RELEVANT_DATA_LINK_FOOTER_ID = 'relevant-data-link-footer';
219220
const 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

221224
export 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)}

0 commit comments

Comments
 (0)