@red-hat-developer-hub/backstage-plugin-lightspeed 2.8.5 → 2.9.1
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 +20 -0
- package/dist/alpha.d.ts +3 -0
- package/dist/components/LightSpeedChat.esm.js +2 -3
- package/dist/components/LightSpeedChat.esm.js.map +1 -1
- package/dist/components/PermissionRequiredIcon.esm.js +2 -1
- package/dist/components/PermissionRequiredIcon.esm.js.map +1 -1
- package/dist/components/PermissionRequiredState.esm.js +42 -7
- package/dist/components/PermissionRequiredState.esm.js.map +1 -1
- package/dist/components/notebooks/AddDocumentModal.esm.js +3 -1
- package/dist/components/notebooks/AddDocumentModal.esm.js.map +1 -1
- package/dist/components/notebooks/DocumentSidebar.esm.js +3 -2
- package/dist/components/notebooks/DocumentSidebar.esm.js.map +1 -1
- package/dist/components/notebooks/NotebookView.esm.js +23 -7
- package/dist/components/notebooks/NotebookView.esm.js.map +1 -1
- package/dist/components/notebooks/UploadResourceScreen.esm.js +33 -15
- package/dist/components/notebooks/UploadResourceScreen.esm.js.map +1 -1
- package/dist/images/permission-required.svg +319 -48
- package/dist/index.esm.js +5 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/translations/de.esm.js +2 -0
- package/dist/translations/de.esm.js.map +1 -1
- package/dist/translations/es.esm.js +2 -0
- package/dist/translations/es.esm.js.map +1 -1
- package/dist/translations/fr.esm.js +2 -0
- package/dist/translations/fr.esm.js.map +1 -1
- package/dist/translations/it.esm.js +2 -0
- package/dist/translations/it.esm.js.map +1 -1
- package/dist/translations/ja.esm.js +2 -0
- package/dist/translations/ja.esm.js.map +1 -1
- package/dist/translations/ref.esm.js +3 -0
- package/dist/translations/ref.esm.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
## @red-hat-developer-hub/backstage-plugin-lightspeed
|
|
2
2
|
|
|
3
|
+
## 2.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b5bb972: fix(lightspeed): Update missing permission view with responsive layout and new illustration
|
|
8
|
+
- 5bc0a03: add processing resources loading state for first-time notebook uploads
|
|
9
|
+
- d0f4682: Updated dependency `@patternfly/chatbot` to `6.6.0`.
|
|
10
|
+
- 9a0f571: Fixes background color of the remove/delete buttons
|
|
11
|
+
- @red-hat-developer-hub/backstage-plugin-lightspeed-common@2.9.1
|
|
12
|
+
|
|
13
|
+
## 2.9.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- 824efa9: documents cannot be uploaded when a document processing is in progress
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- @red-hat-developer-hub/backstage-plugin-lightspeed-common@2.9.0
|
|
22
|
+
|
|
3
23
|
## 2.8.5
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -70,6 +70,8 @@ declare const lightspeedTranslationRef: _backstage_frontend_plugin_api.Translati
|
|
|
70
70
|
readonly "notebook.view.documents.add": string;
|
|
71
71
|
readonly "notebook.view.upload.heading": string;
|
|
72
72
|
readonly "notebook.view.upload.action": string;
|
|
73
|
+
readonly "notebook.view.processing.heading": string;
|
|
74
|
+
readonly "notebook.view.processing.description": string;
|
|
73
75
|
readonly "notebook.view.input.placeholder": string;
|
|
74
76
|
readonly "notebook.view.input.disabledTooltip": string;
|
|
75
77
|
readonly "notebook.view.sidebar.collapse": string;
|
|
@@ -77,6 +79,7 @@ declare const lightspeedTranslationRef: _backstage_frontend_plugin_api.Translati
|
|
|
77
79
|
readonly "notebook.view.sidebar.resize": string;
|
|
78
80
|
readonly "notebook.view.documents.uploading": string;
|
|
79
81
|
readonly "notebook.view.documents.maxReached": string;
|
|
82
|
+
readonly "notebook.view.documents.uploadsInProgress": string;
|
|
80
83
|
readonly "notebook.upload.failed": string;
|
|
81
84
|
readonly "notebook.upload.modal.title": string;
|
|
82
85
|
readonly "notebook.upload.modal.dragDropTitle": string;
|
|
@@ -571,9 +571,7 @@ const LightspeedChat = ({
|
|
|
571
571
|
[]
|
|
572
572
|
);
|
|
573
573
|
const createNotebookMutation = useCreateNotebook();
|
|
574
|
-
const { data: notebookDocuments = [] } = useNotebookDocuments(
|
|
575
|
-
activeNotebook?.session_id
|
|
576
|
-
);
|
|
574
|
+
const { data: notebookDocuments = [], isFetching: isDocumentsFetching } = useNotebookDocuments(activeNotebook?.session_id);
|
|
577
575
|
const [conversationId, setConversationId] = useState("");
|
|
578
576
|
const [requestId, setRequestId] = useState("");
|
|
579
577
|
const [newChatCreated, setNewChatCreated] = useState(false);
|
|
@@ -1775,6 +1773,7 @@ const LightspeedChat = ({
|
|
|
1775
1773
|
sessionId: activeNotebook.session_id,
|
|
1776
1774
|
notebookName: activeNotebook.name,
|
|
1777
1775
|
documents: notebookDocuments,
|
|
1776
|
+
isDocumentsFetching,
|
|
1778
1777
|
metadata: activeNotebook.metadata,
|
|
1779
1778
|
topicSummary: conversations.find(
|
|
1780
1779
|
(c) => c.conversation_id === activeNotebook.metadata?.conversation_id
|