@mgamadeus/ddd-agents 0.11.10 → 0.11.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/dist/files/widgets/ContinueInPersonalSpaceConversationWidget/continue-in-personal-space.preview-fixtures.json +19 -0
- package/dist/files/widgets/ExtendConnectionPermissionConversationWidget/extend-connection-permission.preview-fixtures.json +30 -0
- package/dist/files/widgets/MailDraftPreviewConversationWidget/mail-draft-preview.preview-fixtures.json +51 -0
- package/package.json +4 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wireName": "ContinueInPersonalSpace",
|
|
3
|
+
"fixtures": [
|
|
4
|
+
{
|
|
5
|
+
"name": "default",
|
|
6
|
+
"description": "The owner asked in a team conversation for their own mailbox: the notice that only they may use the connection, and the button that continues in their personal space (the preview's stand-in logs the click).",
|
|
7
|
+
"payload": {
|
|
8
|
+
"request": "Was steht heute in meinem Postfach?",
|
|
9
|
+
"reason": "The step needs a connection only its owner may use, and others read this conversation."
|
|
10
|
+
},
|
|
11
|
+
"locale": "de",
|
|
12
|
+
"expectedState": "data",
|
|
13
|
+
"width": 528,
|
|
14
|
+
"interactions": [
|
|
15
|
+
{ "name": "continue", "click": { "selector": "[data-testid=\"continue-in-personal-space-widget-button\"]" }, "expectedState": "data" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wireName": "ExtendConnectionPermission",
|
|
3
|
+
"fixtures": [
|
|
4
|
+
{
|
|
5
|
+
"name": "default",
|
|
6
|
+
"description": "A send step needs a higher mail level than the connection has: the open-lock notice and the button that opens the connection's settings with that permission preselected (the preview's stand-in logs the click).",
|
|
7
|
+
"payload": {
|
|
8
|
+
"connectionId": 7,
|
|
9
|
+
"capability": "MAIL",
|
|
10
|
+
"level": "SEND_WITH_APPROVAL",
|
|
11
|
+
"reason": "Sending mail needs the level SEND_WITH_APPROVAL; the connection allows DRAFT."
|
|
12
|
+
},
|
|
13
|
+
"locale": "de",
|
|
14
|
+
"expectedState": "data",
|
|
15
|
+
"width": 528
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "calendar-in-english",
|
|
19
|
+
"description": "The same notice for a calendar write, for an English-speaking owner.",
|
|
20
|
+
"payload": {
|
|
21
|
+
"connectionId": 9,
|
|
22
|
+
"capability": "CALENDAR",
|
|
23
|
+
"level": "WRITE_WITH_APPROVAL"
|
|
24
|
+
},
|
|
25
|
+
"locale": "en",
|
|
26
|
+
"expectedState": "data",
|
|
27
|
+
"width": 528
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wireName": "MailDraftPreview",
|
|
3
|
+
"fixtures": [
|
|
4
|
+
{
|
|
5
|
+
"name": "draft",
|
|
6
|
+
"description": "The draft the send step waits on: sender, two recipients, a copy, subject and a markdown body with a list, before the owner's yes.",
|
|
7
|
+
"payload": {
|
|
8
|
+
"status": "DRAFT",
|
|
9
|
+
"connectionId": 7,
|
|
10
|
+
"from": "praxis@example.org",
|
|
11
|
+
"to": ["anna@example.org", "ben@example.org"],
|
|
12
|
+
"cc": ["team@example.org"],
|
|
13
|
+
"subject": "Termine nächste Woche",
|
|
14
|
+
"bodyText": "Hallo Anna, hallo Ben,\n\nfür nächste Woche sind diese Termine frei:\n\n- Dienstag, 10:00\n- Donnerstag, 14:30\n\nViele Grüße",
|
|
15
|
+
"contentHash": "preview-draft"
|
|
16
|
+
},
|
|
17
|
+
"locale": "de",
|
|
18
|
+
"expectedState": "data",
|
|
19
|
+
"width": 528
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "sent",
|
|
23
|
+
"description": "The same mail after it went out: the card marks it sent.",
|
|
24
|
+
"payload": {
|
|
25
|
+
"status": "SENT",
|
|
26
|
+
"connectionId": 7,
|
|
27
|
+
"from": "praxis@example.org",
|
|
28
|
+
"to": ["anna@example.org", "ben@example.org"],
|
|
29
|
+
"subject": "Termine nächste Woche",
|
|
30
|
+
"bodyText": "Hallo Anna, hallo Ben,\n\nfür nächste Woche sind Dienstag, 10:00 und Donnerstag, 14:30 frei.\n\nViele Grüße",
|
|
31
|
+
"contentHash": "preview-sent"
|
|
32
|
+
},
|
|
33
|
+
"locale": "de",
|
|
34
|
+
"expectedState": "data",
|
|
35
|
+
"width": 528
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "table-and-image",
|
|
39
|
+
"description": "A body with a table and a markdown image: the table renders, the image shows only its alt text (no remote load).",
|
|
40
|
+
"payload": {
|
|
41
|
+
"status": "DRAFT",
|
|
42
|
+
"to": ["einkauf@example.org"],
|
|
43
|
+
"subject": "Bestellung",
|
|
44
|
+
"bodyText": "| Artikel | Menge |\n|---|---|\n| Handschuhe | 200 |\n| Masken | 500 |\n\n"
|
|
45
|
+
},
|
|
46
|
+
"locale": "de",
|
|
47
|
+
"expectedState": "data",
|
|
48
|
+
"width": 528
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mgamadeus/ddd-agents",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.11",
|
|
4
4
|
"description": "The web frontend of the ddd-agents module: the agent chat, the widget renderer and the composed-view kit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"./widgets/ClockConversationWidget/ClockConversationWidget.md": "./dist/files/widgets/ClockConversationWidget/ClockConversationWidget.md",
|
|
96
96
|
"./widgets/ConceptExplainerConversationWidget/ConceptExplainerConversationWidget.md": "./dist/files/widgets/ConceptExplainerConversationWidget/ConceptExplainerConversationWidget.md",
|
|
97
97
|
"./widgets/ContinueInPersonalSpaceConversationWidget/ContinueInPersonalSpaceConversationWidget.md": "./dist/files/widgets/ContinueInPersonalSpaceConversationWidget/ContinueInPersonalSpaceConversationWidget.md",
|
|
98
|
+
"./widgets/ContinueInPersonalSpaceConversationWidget/continue-in-personal-space.preview-fixtures.json": "./dist/files/widgets/ContinueInPersonalSpaceConversationWidget/continue-in-personal-space.preview-fixtures.json",
|
|
98
99
|
"./widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsConversationWidget.md": "./dist/files/widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsConversationWidget.md",
|
|
99
100
|
"./widgets/CurrencyConverterConversationWidget/CurrencyConverterConversationWidget.md": "./dist/files/widgets/CurrencyConverterConversationWidget/CurrencyConverterConversationWidget.md",
|
|
100
101
|
"./widgets/CustomVisualizationConversationWidget/CustomVisualizationConversationWidget.md": "./dist/files/widgets/CustomVisualizationConversationWidget/CustomVisualizationConversationWidget.md",
|
|
@@ -102,6 +103,8 @@
|
|
|
102
103
|
"./widgets/EntityMentionConversationWidget/EntityMentionConversationWidget.md": "./dist/files/widgets/EntityMentionConversationWidget/EntityMentionConversationWidget.md",
|
|
103
104
|
"./widgets/ExtendConnectionPermissionConversationWidget/ExtendConnectionPermissionConversationWidget.md": "./dist/files/widgets/ExtendConnectionPermissionConversationWidget/ExtendConnectionPermissionConversationWidget.md",
|
|
104
105
|
"./widgets/MailDraftPreviewConversationWidget/MailDraftPreviewConversationWidget.md": "./dist/files/widgets/MailDraftPreviewConversationWidget/MailDraftPreviewConversationWidget.md",
|
|
106
|
+
"./widgets/ExtendConnectionPermissionConversationWidget/extend-connection-permission.preview-fixtures.json": "./dist/files/widgets/ExtendConnectionPermissionConversationWidget/extend-connection-permission.preview-fixtures.json",
|
|
107
|
+
"./widgets/MailDraftPreviewConversationWidget/mail-draft-preview.preview-fixtures.json": "./dist/files/widgets/MailDraftPreviewConversationWidget/mail-draft-preview.preview-fixtures.json",
|
|
105
108
|
"./widgets/MultiChoiceConversationWidget/MultiChoiceConversationWidget.md": "./dist/files/widgets/MultiChoiceConversationWidget/MultiChoiceConversationWidget.md",
|
|
106
109
|
"./widgets/QuickRepliesConversationWidget/QuickRepliesConversationWidget.md": "./dist/files/widgets/QuickRepliesConversationWidget/QuickRepliesConversationWidget.md",
|
|
107
110
|
"./widgets/SuggestedActions/SuggestedActions.md": "./dist/files/widgets/SuggestedActions/SuggestedActions.md",
|