Skip to content

Commit 05f3d34

Browse files
author
copybara-service
committed
deploy: 849e791
1 parent e00c819 commit 05f3d34

54 files changed

Lines changed: 545 additions & 439 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

front_end/core/i18n/locales/generated/collected-ui-strings.d

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

front_end/models/ai_code_completion/AiCodeCompletion.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export declare class AiCodeCompletion {
3838
}>;
3939
remove(): void;
4040
static isAiCodeCompletionEnabled(locale: string): boolean;
41+
static isAiCodeCompletionStylesEnabled(locale: string): boolean;
4142
}
4243
export declare const enum ContextFlavor {
4344
CONSOLE = "console",// generated code can contain console specific APIs like `$0`.

front_end/models/ai_code_completion/AiCodeCompletion.js

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/models/ai_code_completion/AiCodeCompletion.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/models/ai_code_completion/ai_code_completion.js

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/models/ai_code_completion/ai_code_completion.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/panels/ai_assistance/ai_assistance.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/panels/ai_assistance/components/ChatView.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ interface ChatWidgetInput extends Props {
4747
handleSuggestionClick: (title: string) => void;
4848
handleMessageContainerRef: (el: Element | undefined) => void;
4949
}
50+
/**
51+
* ChatView is a web component for historical reasons and generally should not
52+
* exist because it barely has any presenter logic and it is definitely not
53+
* re-usable as a custom element. Instead, the template from ChatView should be
54+
* embdedded into the AiAssistancePanel (the sole host of chat interfaces) and
55+
* the scroll handling logic should be implemented in view functions using refs
56+
* or re-usable custom elements. Currently, the ChatView just combines the
57+
* interfaces of ChatMessage and ChatInput presenters and passes most of the
58+
* properties down to those presenters as-is.
59+
*
60+
* @deprecated
61+
*/
5062
export declare class ChatView extends HTMLElement {
5163
#private;
5264
constructor(props: Props, view?: View);

front_end/panels/ai_assistance/components/ChatView.js

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/panels/ai_assistance/components/ChatView.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)