@jskit-ai/workspaces-web 0.2.61 → 0.2.63
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 +1 -0
- package/locales/en.json +1 -1
- package/package.json +9 -9
- package/test/workspaceMembersActions.test.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- The notice for a logged invitation reads "Invite created. Outside production its email is logged, not sent: copy the link to share it."
|
|
5
6
|
- After **Send invite**, the members panel has a notice for the delivery status `held`, an invitation whose email the application keeps and sends once its email is set up: "Invite created. Email isn't set up yet, so it will be sent once it is: copy the link to share it now." (`jskit.workspaces.members.inviteCreatedHeld`), a success like the other statuses that send the person to the invite link. A status the panel does not know now shows the delivery result's own `message`, in the person's language when its `messageCode` has a translation, and the general "Invite created. Copy the invite link to share it." only when the result has none. Before, both showed the general notice, which said nothing of an email the application will still send, or of what the mailer reported.
|
|
6
7
|
- A workspace's bootstrap answer applies when the person has moved to another page of the same workspace before it arrives. It was dropped because the page had changed, and a move within a workspace asks nothing again, so a person who tapped another page while the first one loaded kept no permissions until a reload: a short menu, and every command that needs a permission refused. The answer belongs to the workspace, not to a page (its request names only the workspace slug, and nothing in it depends on the page), so an answer for the workspace the route is in now applies, and one for a workspace the route has left is still dropped, as the move there asked again. A 403 or 404 for the workspace applies after such a move too. The bootstrap request's `meta` no longer carries the page's `path`, which nothing reads.
|
|
7
8
|
- After **Send invite**, the members panel's notice says whether an email went out. In a test copy (whose invitation emails are only simulated) and in an app with no invite mailer, it showed the general success "Invite created. Copy the invite link to share it.", which never said that no email had gone out, so an administrator could believe the invitation had been emailed. It now says "Invite created. This is a test copy, so no email was sent: copy the link to share it." and "Invite created. Email isn't set up, so no email was sent: copy the link to share it.". A failed email ("Invite created, but email delivery failed. …") is shown as a warning instead of a success. In each case the invite link and its Copy button stay under the form, as before. A delivery status the panel does not know still says only "Invite created. Copy the invite link to share it.". The notices come from the package's own catalog, not from the server's English: `jskit.workspaces.members.inviteCreatedSimulated` and `jskit.workspaces.members.inviteCreatedMailerUnconfigured` are new message keys. The warning uses `@jskit-ai/http-web`'s new `useUiFeedback().warning()`.
|
package/locales/en.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"memberIdInvalid": "Member user id is invalid.",
|
|
38
38
|
"inviteSent": "Invite sent.",
|
|
39
39
|
"inviteCreatedDeliveryFailed": "Invite created, but email delivery failed. Copy the invite link to share it.",
|
|
40
|
-
"inviteCreatedSimulated": "Invite created.
|
|
40
|
+
"inviteCreatedSimulated": "Invite created. Outside production its email is logged, not sent: copy the link to share it.",
|
|
41
41
|
"inviteCreatedMailerUnconfigured": "Invite created. Email isn't set up, so no email was sent: copy the link to share it.",
|
|
42
42
|
"inviteCreatedHeld": "Invite created. Email isn't set up yet, so it will be sent once it is: copy the link to share it now.",
|
|
43
43
|
"inviteCreated": "Invite created. Copy the invite link to share it.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/workspaces-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jskit test"
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"./locales/en.json": "./locales/en.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@jskit-ai/users-core": "0.2.
|
|
20
|
-
"@jskit-ai/workspaces-core": "0.2.
|
|
19
|
+
"@jskit-ai/users-core": "0.2.50",
|
|
20
|
+
"@jskit-ai/workspaces-core": "0.2.50"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@jskit-ai/auth-web": "0.2.
|
|
24
|
-
"@jskit-ai/http-web": "0.2.
|
|
25
|
-
"@jskit-ai/kernel": "0.2.
|
|
26
|
-
"@jskit-ai/shell-web": "0.2.
|
|
27
|
-
"@jskit-ai/users-web": "0.2.
|
|
23
|
+
"@jskit-ai/auth-web": "0.2.45",
|
|
24
|
+
"@jskit-ai/http-web": "0.2.46",
|
|
25
|
+
"@jskit-ai/kernel": "0.2.27",
|
|
26
|
+
"@jskit-ai/shell-web": "0.2.39",
|
|
27
|
+
"@jskit-ai/users-web": "0.2.63",
|
|
28
28
|
"@tanstack/vue-query": "^5.90.5",
|
|
29
29
|
"vue": "^3.5.13",
|
|
30
30
|
"vue-router": "^5.0.4",
|
|
@@ -276,6 +276,6 @@
|
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"devDependencies": {
|
|
279
|
-
"@jskit-ai/material-web": "0.1.
|
|
279
|
+
"@jskit-ai/material-web": "0.1.9"
|
|
280
280
|
}
|
|
281
281
|
}
|
|
@@ -78,12 +78,12 @@ const INVITE_NOTICES = Object.freeze([
|
|
|
78
78
|
{
|
|
79
79
|
delivery: {
|
|
80
80
|
status: "simulated",
|
|
81
|
-
message: "
|
|
81
|
+
message: "Outside production the invitation email was logged, not sent. Copy the invite link to share it.",
|
|
82
82
|
messageCode: "workspaces.invite.simulated"
|
|
83
83
|
},
|
|
84
84
|
notice: {
|
|
85
85
|
style: "success",
|
|
86
|
-
message: "Invite created.
|
|
86
|
+
message: "Invite created. Outside production its email is logged, not sent: copy the link to share it."
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
{
|