@gitlab/duo-ui 8.7.9 → 8.7.11

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [8.7.11](https://gitlab.com/gitlab-org/duo-ui/compare/v8.7.10...v8.7.11) (2025-03-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change Duo Chat default greeting ([aa002c9](https://gitlab.com/gitlab-org/duo-ui/commit/aa002c95fabe775219cd2049775a7658a5541648))
7
+
8
+ ## [8.7.10](https://gitlab.com/gitlab-org/duo-ui/compare/v8.7.9...v8.7.10) (2025-03-28)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * set focus to input field when creating a new chat ([2fa2b6a](https://gitlab.com/gitlab-org/duo-ui/commit/2fa2b6a97525f65060f05d28bc5fd381b0c793c5))
14
+
1
15
  ## [8.7.9](https://gitlab.com/gitlab-org/duo-ui/compare/v8.7.8...v8.7.9) (2025-03-27)
2
16
 
3
17
 
@@ -15,7 +15,7 @@ const i18n = {
15
15
  CHAT_DEFAULT_TITLE: translate('DuoChat.chatDefaultTitle', 'GitLab Duo Chat'),
16
16
  CHAT_HISTORY_TITLE: translate('GlDuoChat.chatHistoryTitle', 'Chat history'),
17
17
  CHAT_DISCLAMER: translate('GlDuoChat.chatDisclamer', 'Responses may be inaccurate. Verify before use.'),
18
- CHAT_EMPTY_STATE_TITLE: translate('DuoChat.chatEmptyStateTitle', '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?'),
18
+ CHAT_EMPTY_STATE_TITLE: translate('DuoChat.chatEmptyStateTitle', '👋 GitLab Duo Chat is your personal AI-powered assistant. How can Chat help you today?'),
19
19
  CHAT_PROMPT_PLACEHOLDER_DEFAULT: translate('DuoChat.chatPromptPlaceholderDefault', 'GitLab Duo Chat'),
20
20
  CHAT_PROMPT_PLACEHOLDER_WITH_COMMANDS: translate('DuoChat.chatPromptPlaceholderWithCommands', 'Type /help to learn more'),
21
21
  CHAT_SUBMIT_LABEL: translate('DuoChat.chatSubmitLabel', 'Send chat message.'),
@@ -376,6 +376,9 @@ var script = {
376
376
  },
377
377
  onNewChat() {
378
378
  this.$emit('new-chat');
379
+ this.$nextTick(() => {
380
+ this.focusChatInput();
381
+ });
379
382
  },
380
383
  updateSize(e) {
381
384
  this.$emit('chat-resize', e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/duo-ui",
3
- "version": "8.7.9",
3
+ "version": "8.7.11",
4
4
  "description": "Duo UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -41,7 +41,7 @@ export const i18n = {
41
41
  ),
42
42
  CHAT_EMPTY_STATE_TITLE: translate(
43
43
  'DuoChat.chatEmptyStateTitle',
44
- '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?'
44
+ '👋 GitLab Duo Chat is your personal AI-powered assistant. How can Chat help you today?'
45
45
  ),
46
46
  CHAT_PROMPT_PLACEHOLDER_DEFAULT: translate(
47
47
  'DuoChat.chatPromptPlaceholderDefault',
@@ -445,6 +445,10 @@ export default {
445
445
  },
446
446
  onNewChat() {
447
447
  this.$emit('new-chat');
448
+
449
+ this.$nextTick(() => {
450
+ this.focusChatInput();
451
+ });
448
452
  },
449
453
  updateSize(e) {
450
454
  this.$emit('chat-resize', e);
package/translations.js CHANGED
@@ -8,7 +8,7 @@ export default {
8
8
  'DuoChat.chatDefaultPredefinedPromptsForkProject': 'How do I fork a project?',
9
9
  'DuoChat.chatDefaultTitle': 'GitLab Duo Chat',
10
10
  'DuoChat.chatEmptyStateTitle':
11
- '👋 I am GitLab Duo Chat, your personal AI-powered assistant. How can I help you today?',
11
+ '👋 GitLab Duo Chat is your personal AI-powered assistant. How can Chat help you today?',
12
12
  'DuoChat.chatHistoryInfo': 'Chats with no activity in the last 30 days are deleted.',
13
13
  'DuoChat.chatHistoryToolTip': 'Chat History',
14
14
  'DuoChat.chatNewLabel': 'New Chat',