@bigbinary/neeto-assist-frontend 1.3.1 → 1.4.0-beta1
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/README.md +22 -20
- package/app/javascript/src/translations/en.json +3 -8
- package/dist/.ready +1 -1
- package/dist/NeetoAssistPane.js +158 -171
- package/dist/NeetoAssistPane.js.map +1 -1
- package/dist/cjs/NeetoAssistPane.js +156 -169
- package/dist/cjs/NeetoAssistPane.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +9 -9
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -88,12 +88,11 @@ export interface NeetoAssistButtonProps {
|
|
|
88
88
|
* show only "Copy".
|
|
89
89
|
*
|
|
90
90
|
* A reply that came in English and in the language the customer is sent it
|
|
91
|
-
* in
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* `suggestedReplyInEnglish`.
|
|
91
|
+
* in shows the two as tabs, the customer's language first. "Use reply" calls
|
|
92
|
+
* this with the reading of the tab that is showing, as `text` and as `html`
|
|
93
|
+
* made the same way, so a host has nothing more to do for it: the run's
|
|
94
|
+
* `suggestedReplyInCustomerLanguage`, which is the reply as written unless
|
|
95
|
+
* that was English, or its `suggestedReplyInEnglish`.
|
|
97
96
|
*
|
|
98
97
|
* @param text The reply as NeetoAssist wrote it, in light markdown
|
|
99
98
|
* (paragraphs, `**bold**`, `1.` and `-` lists, `## ` headings). A fenced
|
|
@@ -130,10 +129,11 @@ export const NeetoAssistButton: React.FC<NeetoAssistButtonProps>;
|
|
|
130
129
|
* the engine's list of runs says it can (`can_stop`). Another rep's questions
|
|
131
130
|
* are not shown.
|
|
132
131
|
* A suggested reply that came in English and in the language the customer is
|
|
133
|
-
* sent it in shows
|
|
134
|
-
*
|
|
132
|
+
* sent it in shows the two as tabs beside its heading, the customer's
|
|
133
|
+
* language first. That is a run with `suggestedReplyLanguage`, the tag of that
|
|
135
134
|
* language, and the reply both ways (`suggestedReplyInEnglish` and
|
|
136
|
-
* `suggestedReplyInCustomerLanguage`).
|
|
135
|
+
* `suggestedReplyInCustomerLanguage`). A reply in English with an English
|
|
136
|
+
* `suggestedReplyLanguage` alone shows its English tab alone. What the customer wrote shows in
|
|
137
137
|
* English the same way when the run has `questionInEnglish`, named by
|
|
138
138
|
* `customerLanguage`, the language the customer writes in, which can be
|
|
139
139
|
* missing or another than the reply's. A reading in a language written from
|