@gitlab/duo-ui 10.23.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,11 +83,11 @@ export default {
83
83
  class="markdown-code-block duo-chat gl-align-items gl-bottom-0 gl-flex gl-h-full gl-max-h-full gl-flex-row gl-bg-strong gl-py-3 gl-pl-3"
84
84
  >
85
85
  <main
86
- class="content flex-none gl-flex gl-h-full gl-min-w-0 gl-grow gl-overflow-y-auto gl-rounded-[1rem] gl-bg-neutral-0"
86
+ class="content flex-none gl-h-full gl-min-w-0 gl-grow gl-overflow-y-auto gl-rounded-[1rem] gl-bg-neutral-0"
87
87
  >
88
88
  <slot name="mainview"></slot>
89
89
  </main>
90
- <aside class="gl-h-full gl-min-h-full gl-bg-strong gl-px-3 gl-py-2">
90
+ <aside class="gl-flex gl-h-full gl-min-h-full gl-bg-strong gl-px-3 gl-py-2">
91
91
  <slot name="siderail"></slot>
92
92
  </aside>
93
93
  </aside>
package/src/index.js CHANGED
@@ -42,7 +42,10 @@ export { InsertCodeSnippetElement as DuoChatInsertCodeSnippetElement } from './c
42
42
  export { default as DuoNavigationBar } from './components/ui/duo_navigation_bar/duo_navigation_bar.vue';
43
43
  export { default as DuoRecentCollapsible } from './components/ui/duo_recent_collapsible/duo_recent_collapsible.vue';
44
44
  export { default as DuoRecentContent } from './components/ui/duo_recent_content/duo_recent_content.vue';
45
- export { default as DuoLayout } from './components/ui/duo_layout/duo_layout.vue';
46
- export { default as SideRail } from './components/ui/side_rail/side_rail.vue';
47
45
 
48
46
  export { addDuoMarkdownPlugin } from './components/chat/markdown_renderer';
47
+
48
+ export { default as DuoLayout } from './components/ui/duo_layout/duo_layout.vue';
49
+ export { default as SideRail } from './components/ui/side_rail/side_rail.vue';
50
+ export { default as WebDuoChat } from './components/chat/web_duo_chat.vue';
51
+ export { default as WebAgenticDuoChat } from './components/agentic_chat/web_agentic_duo_chat.vue';
package/translations.js CHANGED
@@ -7,12 +7,12 @@ export default {
7
7
  'AgenticDuoChat.chatDefaultPredefinedPromptsCreateTemplate': 'How do I create a template?',
8
8
  'AgenticDuoChat.chatDefaultPredefinedPromptsForkProject': 'How do I fork a project?',
9
9
  'AgenticDuoChat.chatDefaultTitle': 'GitLab Duo Agentic Chat',
10
- 'AgenticDuoChat.chatDisclamer': 'Responses may be inaccurate. Verify before use.',
10
+ 'AgenticDuoChat.chatDisclamer':
11
+ 'Chat can autonomously change code. Responses and changes can be inaccurate. Review carefully.',
11
12
  'AgenticDuoChat.chatEmptyStateTitle':
12
13
  '👋 I am GitLab Duo Agentic Chat, your personal AI-powered assistant. How can I help you today?',
13
14
  'AgenticDuoChat.chatHistoryTitle': 'Chat history',
14
- 'AgenticDuoChat.chatModelPlaceholder': 'GitLab Duo Agentic Chat',
15
- 'AgenticDuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
15
+ 'AgenticDuoChat.chatPromptPlaceholderDefault': 'GitLab Duo Agentic Chat',
16
16
  'AgenticDuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
17
17
  'AgenticDuoChat.chatSubmitLabel': 'Send chat message.',
18
18
  'AgenticDuoChat.overLimitCharacterCountMessage': null,
@@ -67,10 +67,9 @@ export default {
67
67
  '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?',
68
68
  'DuoChat.chatHistoryInfo': 'Inactive chats are deleted after 30 days.',
69
69
  'DuoChat.chatHistoryToolTip': 'Chat history',
70
- 'DuoChat.chatModelPlaceholder': 'GitLab Duo Chat',
71
70
  'DuoChat.chatNewLabel': 'New chat',
72
71
  'DuoChat.chatNewToolTip': 'New chat',
73
- 'DuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
72
+ 'DuoChat.chatPromptPlaceholderDefault': 'GitLab Duo Chat',
74
73
  'DuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
75
74
  'DuoChat.chatSubmitLabel': 'Send chat message.',
76
75
  'DuoChat.chatTitle': 'GitLab Duo Chat',
@@ -143,4 +142,46 @@ export default {
143
142
  'MessageToolApproval.toolLabel': 'Tool:',
144
143
  'MessageToolApproval.toolStatus': 'Pending',
145
144
  'MessageToolApproval.toolUnknown': 'Unknown',
145
+ 'WebAgenticDuoChat.chatCancelLabel': 'Cancel',
146
+ 'WebAgenticDuoChat.chatDefaultPredefinedPromptsChangePassword':
147
+ 'How do I change my password in GitLab?',
148
+ 'WebAgenticDuoChat.chatDefaultPredefinedPromptsCloneRepository': 'How do I clone a repository?',
149
+ 'WebAgenticDuoChat.chatDefaultPredefinedPromptsCreateTemplate': 'How do I create a template?',
150
+ 'WebAgenticDuoChat.chatDefaultPredefinedPromptsForkProject': 'How do I fork a project?',
151
+ 'WebAgenticDuoChat.chatDefaultTitle': 'GitLab Duo Agentic Chat',
152
+ 'WebAgenticDuoChat.chatDisclamer': 'Responses may be inaccurate. Verify before use.',
153
+ 'WebAgenticDuoChat.chatEmptyStateTitle':
154
+ '👋 I am GitLab Duo Agentic Chat, your personal AI-powered assistant. How can I help you today?',
155
+ 'WebAgenticDuoChat.chatHistoryTitle': 'Chat history',
156
+ 'WebAgenticDuoChat.chatModelPlaceholder': 'GitLab Duo Agentic Chat',
157
+ 'WebAgenticDuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
158
+ 'WebAgenticDuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
159
+ 'WebAgenticDuoChat.chatSubmitLabel': 'Send chat message.',
160
+ 'WebAgenticDuoChat.overLimitCharacterCountMessage': null,
161
+ 'WebAgenticDuoChat.remainingCharacterCountMessage': null,
162
+ 'WebDuoChat.chatBackLabel': 'Back to history',
163
+ 'WebDuoChat.chatBackToChatToolTip': 'Back to chat',
164
+ 'WebDuoChat.chatCancelLabel': 'Cancel',
165
+ 'WebDuoChat.chatDefaultPredefinedPromptsChangePassword': 'How do I change my password in GitLab?',
166
+ 'WebDuoChat.chatDefaultPredefinedPromptsCloneRepository': 'How do I clone a repository?',
167
+ 'WebDuoChat.chatDefaultPredefinedPromptsCreateTemplate': 'How do I create a template?',
168
+ 'WebDuoChat.chatDefaultPredefinedPromptsForkProject': 'How do I fork a project?',
169
+ 'WebDuoChat.chatDefaultTitle': 'GitLab Duo Chat',
170
+ 'WebDuoChat.chatDisclamer': 'Responses may be inaccurate. Verify before use.',
171
+ 'WebDuoChat.chatDropdownMoreOptions': 'More options',
172
+ 'WebDuoChat.chatEmptyStateTitle':
173
+ '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?',
174
+ 'WebDuoChat.chatHistoryTitle': 'Chat history',
175
+ 'WebDuoChat.chatHistoryToolTip': 'Chat history',
176
+ 'WebDuoChat.chatModelPlaceholder': 'GitLab Duo Chat',
177
+ 'WebDuoChat.chatNewLabel': 'New chat',
178
+ 'WebDuoChat.chatNewToolTip': 'New chat',
179
+ 'WebDuoChat.chatPromptPlaceholderDefault': "Let's work through this together...",
180
+ 'WebDuoChat.chatPromptPlaceholderWithCommands': 'Type /help to learn more',
181
+ 'WebDuoChat.chatSubmitLabel': 'Send chat message.',
182
+ 'WebDuoChat.chatTitle': 'GitLab Duo Chat',
183
+ 'WebDuoChat.closeChatHeaderLabel': 'Close chat',
184
+ 'WebDuoChat.copySessionIdFailedToast': 'Could not copy session ID',
185
+ 'WebDuoChat.copySessionIdSuccessToast': 'Session ID copied to clipboard',
186
+ 'WebDuoChat.copySessionIdTooltip': 'Copy session ID',
146
187
  };