@iblai/iblai-js 2.30.0 → 2.32.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.
@@ -5,8 +5,8 @@ import { Locator, Page } from '@playwright/test';
5
5
  * Three surfaces, three groups of helpers:
6
6
  *
7
7
  * 1. **Header toggle** — the nav-bar `ChatPrivacyToggle` (`<HatGlasses />`
8
- * icon-button that morphs into the "Private Mode" pill).
9
- * 2. **User profile** — the "Private Mode" tab in `UserProfileModal`
8
+ * icon-button that morphs into the "Incognito" pill).
9
+ * 2. **User profile** — the "Privacy" tab in `UserProfileModal`
10
10
  * (three radio-card options: Normal / Anonymized / Disabled).
11
11
  * 3. **Tenant admin** — the "Allow users to control chat privacy" row in
12
12
  * the Advanced settings tab (`<Switch>`).
@@ -20,21 +20,21 @@ import { Locator, Page } from '@playwright/test';
20
20
  export declare const CHAT_PRIVACY_LABELS: {
21
21
  readonly toggle: {
22
22
  /** Title of the mid-session confirmation dialog. */
23
- readonly dialogTitle: "Enable Private Mode for this chat?";
23
+ readonly dialogTitle: "Enable Incognito for this chat?";
24
24
  /** Label on the dialog's confirm button (matches both idle + busy state via regex). */
25
25
  readonly dialogConfirm: RegExp;
26
26
  };
27
27
  readonly profileTab: {
28
- /** Tab name in the user profile modal sidebar. */
29
- readonly tabName: "Private Mode";
28
+ /** Rail entry in the user profile modal (the feature inside is called Incognito). */
29
+ readonly tabName: "Privacy";
30
30
  /** Section heading inside the tab body. */
31
- readonly sectionHeading: "Default Private Mode";
31
+ readonly sectionHeading: "Default Incognito Setting";
32
32
  /** Label text on each radio card. Kept in case the test wants to assert
33
33
  * copy explicitly — the click + read paths use the testid instead. */
34
34
  readonly cards: {
35
35
  readonly normal: "Normal";
36
36
  readonly anonymized: "Anonymized";
37
- readonly disabled: "Disabled";
37
+ readonly disabled: "Incognito";
38
38
  };
39
39
  };
40
40
  readonly tenantToggle: {
@@ -85,7 +85,7 @@ export declare function expectChatPrivacyConfirmDialogOpen(scope: Page | Locator
85
85
  /**
86
86
  * Mid-conversation enable flow:
87
87
  * 1. Click the toggle (opens the confirm dialog).
88
- * 2. Click the "Enable Private Mode" action.
88
+ * 2. Click the "Enable Incognito" action.
89
89
  * The session-level disable-chathistory POST is one-way per spec; the
90
90
  * helper resolves once the dialog closes after a successful confirm.
91
91
  */
@@ -93,7 +93,7 @@ export declare function confirmEnableChatPrivacyMidSession(scope: Page | Locator
93
93
  /** Cancel the confirm dialog without enabling. */
94
94
  export declare function cancelEnableChatPrivacyMidSession(scope: Page | Locator): Promise<void>;
95
95
  /**
96
- * Switch to the Private Mode tab inside the user profile modal. Assumes
96
+ * Switch to the Privacy tab inside the user profile modal. Assumes
97
97
  * the modal is already open. The tab only appears when the tenant has
98
98
  * `allow_user_chat_privacy_control` on, so a `false` return from
99
99
  * `isPrivateModeTabVisible` is a meaningful state, not an error.
@@ -5,8 +5,8 @@ import { Locator, Page } from '@playwright/test';
5
5
  * Three surfaces, three groups of helpers:
6
6
  *
7
7
  * 1. **Header toggle** — the nav-bar `ChatPrivacyToggle` (`<HatGlasses />`
8
- * icon-button that morphs into the "Private Mode" pill).
9
- * 2. **User profile** — the "Private Mode" tab in `UserProfileModal`
8
+ * icon-button that morphs into the "Incognito" pill).
9
+ * 2. **User profile** — the "Privacy" tab in `UserProfileModal`
10
10
  * (three radio-card options: Normal / Anonymized / Disabled).
11
11
  * 3. **Tenant admin** — the "Allow users to control chat privacy" row in
12
12
  * the Advanced settings tab (`<Switch>`).
@@ -20,21 +20,21 @@ import { Locator, Page } from '@playwright/test';
20
20
  export declare const CHAT_PRIVACY_LABELS: {
21
21
  readonly toggle: {
22
22
  /** Title of the mid-session confirmation dialog. */
23
- readonly dialogTitle: "Enable Private Mode for this chat?";
23
+ readonly dialogTitle: "Enable Incognito for this chat?";
24
24
  /** Label on the dialog's confirm button (matches both idle + busy state via regex). */
25
25
  readonly dialogConfirm: RegExp;
26
26
  };
27
27
  readonly profileTab: {
28
- /** Tab name in the user profile modal sidebar. */
29
- readonly tabName: "Private Mode";
28
+ /** Rail entry in the user profile modal (the feature inside is called Incognito). */
29
+ readonly tabName: "Privacy";
30
30
  /** Section heading inside the tab body. */
31
- readonly sectionHeading: "Default Private Mode";
31
+ readonly sectionHeading: "Default Incognito Setting";
32
32
  /** Label text on each radio card. Kept in case the test wants to assert
33
33
  * copy explicitly — the click + read paths use the testid instead. */
34
34
  readonly cards: {
35
35
  readonly normal: "Normal";
36
36
  readonly anonymized: "Anonymized";
37
- readonly disabled: "Disabled";
37
+ readonly disabled: "Incognito";
38
38
  };
39
39
  };
40
40
  readonly tenantToggle: {
@@ -85,7 +85,7 @@ export declare function expectChatPrivacyConfirmDialogOpen(scope: Page | Locator
85
85
  /**
86
86
  * Mid-conversation enable flow:
87
87
  * 1. Click the toggle (opens the confirm dialog).
88
- * 2. Click the "Enable Private Mode" action.
88
+ * 2. Click the "Enable Incognito" action.
89
89
  * The session-level disable-chathistory POST is one-way per spec; the
90
90
  * helper resolves once the dialog closes after a successful confirm.
91
91
  */
@@ -93,7 +93,7 @@ export declare function confirmEnableChatPrivacyMidSession(scope: Page | Locator
93
93
  /** Cancel the confirm dialog without enabling. */
94
94
  export declare function cancelEnableChatPrivacyMidSession(scope: Page | Locator): Promise<void>;
95
95
  /**
96
- * Switch to the Private Mode tab inside the user profile modal. Assumes
96
+ * Switch to the Privacy tab inside the user profile modal. Assumes
97
97
  * the modal is already open. The tab only appears when the tenant has
98
98
  * `allow_user_chat_privacy_control` on, so a `false` return from
99
99
  * `isPrivateModeTabVisible` is a meaningful state, not an error.
@@ -5,8 +5,8 @@ import { Locator, Page } from '@playwright/test';
5
5
  * Three surfaces, three groups of helpers:
6
6
  *
7
7
  * 1. **Header toggle** — the nav-bar `ChatPrivacyToggle` (`<HatGlasses />`
8
- * icon-button that morphs into the "Private Mode" pill).
9
- * 2. **User profile** — the "Private Mode" tab in `UserProfileModal`
8
+ * icon-button that morphs into the "Incognito" pill).
9
+ * 2. **User profile** — the "Privacy" tab in `UserProfileModal`
10
10
  * (three radio-card options: Normal / Anonymized / Disabled).
11
11
  * 3. **Tenant admin** — the "Allow users to control chat privacy" row in
12
12
  * the Advanced settings tab (`<Switch>`).
@@ -20,21 +20,21 @@ import { Locator, Page } from '@playwright/test';
20
20
  export declare const CHAT_PRIVACY_LABELS: {
21
21
  readonly toggle: {
22
22
  /** Title of the mid-session confirmation dialog. */
23
- readonly dialogTitle: "Enable Private Mode for this chat?";
23
+ readonly dialogTitle: "Enable Incognito for this chat?";
24
24
  /** Label on the dialog's confirm button (matches both idle + busy state via regex). */
25
25
  readonly dialogConfirm: RegExp;
26
26
  };
27
27
  readonly profileTab: {
28
- /** Tab name in the user profile modal sidebar. */
29
- readonly tabName: "Private Mode";
28
+ /** Rail entry in the user profile modal (the feature inside is called Incognito). */
29
+ readonly tabName: "Privacy";
30
30
  /** Section heading inside the tab body. */
31
- readonly sectionHeading: "Default Private Mode";
31
+ readonly sectionHeading: "Default Incognito Setting";
32
32
  /** Label text on each radio card. Kept in case the test wants to assert
33
33
  * copy explicitly — the click + read paths use the testid instead. */
34
34
  readonly cards: {
35
35
  readonly normal: "Normal";
36
36
  readonly anonymized: "Anonymized";
37
- readonly disabled: "Disabled";
37
+ readonly disabled: "Incognito";
38
38
  };
39
39
  };
40
40
  readonly tenantToggle: {
@@ -85,7 +85,7 @@ export declare function expectChatPrivacyConfirmDialogOpen(scope: Page | Locator
85
85
  /**
86
86
  * Mid-conversation enable flow:
87
87
  * 1. Click the toggle (opens the confirm dialog).
88
- * 2. Click the "Enable Private Mode" action.
88
+ * 2. Click the "Enable Incognito" action.
89
89
  * The session-level disable-chathistory POST is one-way per spec; the
90
90
  * helper resolves once the dialog closes after a successful confirm.
91
91
  */
@@ -93,7 +93,7 @@ export declare function confirmEnableChatPrivacyMidSession(scope: Page | Locator
93
93
  /** Cancel the confirm dialog without enabling. */
94
94
  export declare function cancelEnableChatPrivacyMidSession(scope: Page | Locator): Promise<void>;
95
95
  /**
96
- * Switch to the Private Mode tab inside the user profile modal. Assumes
96
+ * Switch to the Privacy tab inside the user profile modal. Assumes
97
97
  * the modal is already open. The tab only appears when the tenant has
98
98
  * `allow_user_chat_privacy_control` on, so a `false` return from
99
99
  * `isPrivateModeTabVisible` is a meaningful state, not an error.