@bigbinary/neeto-assist-frontend 1.3.0 → 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.
Files changed (45) hide show
  1. package/README.md +22 -20
  2. package/app/javascript/src/translations/ar.json +40 -7
  3. package/app/javascript/src/translations/bg.json +40 -7
  4. package/app/javascript/src/translations/ca.json +40 -7
  5. package/app/javascript/src/translations/cs.json +40 -7
  6. package/app/javascript/src/translations/da.json +40 -7
  7. package/app/javascript/src/translations/de.json +40 -7
  8. package/app/javascript/src/translations/en.json +3 -8
  9. package/app/javascript/src/translations/es-MX.json +40 -7
  10. package/app/javascript/src/translations/es.json +40 -7
  11. package/app/javascript/src/translations/et.json +40 -7
  12. package/app/javascript/src/translations/fi.json +40 -7
  13. package/app/javascript/src/translations/fil.json +40 -7
  14. package/app/javascript/src/translations/fr.json +40 -7
  15. package/app/javascript/src/translations/he.json +40 -7
  16. package/app/javascript/src/translations/hi.json +40 -7
  17. package/app/javascript/src/translations/hr.json +40 -7
  18. package/app/javascript/src/translations/hu.json +40 -7
  19. package/app/javascript/src/translations/id.json +40 -7
  20. package/app/javascript/src/translations/it.json +40 -7
  21. package/app/javascript/src/translations/ja.json +40 -7
  22. package/app/javascript/src/translations/ko.json +40 -7
  23. package/app/javascript/src/translations/lv.json +40 -4
  24. package/app/javascript/src/translations/nl.json +40 -7
  25. package/app/javascript/src/translations/pl.json +40 -7
  26. package/app/javascript/src/translations/pt-BR.json +40 -7
  27. package/app/javascript/src/translations/pt.json +40 -7
  28. package/app/javascript/src/translations/ro.json +40 -7
  29. package/app/javascript/src/translations/ru.json +40 -7
  30. package/app/javascript/src/translations/sk.json +40 -7
  31. package/app/javascript/src/translations/sl.json +40 -7
  32. package/app/javascript/src/translations/sv.json +40 -7
  33. package/app/javascript/src/translations/th.json +40 -7
  34. package/app/javascript/src/translations/tr.json +40 -7
  35. package/app/javascript/src/translations/uk.json +40 -7
  36. package/app/javascript/src/translations/vi.json +40 -7
  37. package/app/javascript/src/translations/zh-CN.json +40 -7
  38. package/app/javascript/src/translations/zh-TW.json +40 -7
  39. package/dist/.ready +1 -1
  40. package/dist/NeetoAssistPane.js +158 -171
  41. package/dist/NeetoAssistPane.js.map +1 -1
  42. package/dist/cjs/NeetoAssistPane.js +156 -169
  43. package/dist/cjs/NeetoAssistPane.js.map +1 -1
  44. package/package.json +1 -1
  45. package/types.d.ts +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-assist-frontend",
3
- "version": "1.3.0",
3
+ "version": "1.4.0-beta1",
4
4
  "description": "NeetoAssist pane and helpers for Neeto products",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-assist-nano",
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 has two buttons in place of "Use reply", such as "Use in Spanish" and
92
- * "Use in English". Each calls this with the reading the rep picked, as
93
- * `text` and as `html` made the same way, so a host has nothing more to do
94
- * for it. The first hands over the run's `suggestedReplyInCustomerLanguage`,
95
- * which is the reply as written unless that was English, and the second its
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 in English, with a link that turns it to the other reading
134
- * and back. That is a run with `suggestedReplyLanguage`, the tag of that
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`). What the customer wrote shows in
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