You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/basecamp/actions/create-card/create-card.mjs
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ import app from "../../basecamp.app.mjs";
3
3
exportdefault{
4
4
key: "basecamp-create-card",
5
5
name: "Create a Card",
6
-
description: "Creates a card in the select column. [See the documentation](https://github.com/basecamp/bc3-api/blob/master/sections/card_table_cards.md#create-a-card)",
6
+
description: "Creates a card in a selected column. [See the documentation](https://github.com/basecamp/bc3-api/blob/master/sections/card_table_cards.md#create-a-card)",
7
7
type: "action",
8
8
version: "0.1.0",
9
9
props: {
@@ -51,25 +51,26 @@ export default {
51
51
title: {
52
52
type: "string",
53
53
label: "Title",
54
-
description: "Title of the card",
54
+
description: "The title of the new card.",
55
55
},
56
56
content: {
57
57
type: "string",
58
58
label: "Content",
59
-
description: "Content of the card",
59
+
description: "The content of the card. [See the documentation](https://github.com/basecamp/bc3-api/blob/master/sections/card_table_cards.md#create-a-card) for information on using HTML tags.",
60
60
optional: true,
61
61
},
62
62
dueOn: {
63
63
type: "string",
64
-
label: "Due on",
65
-
description: "Due date (ISO 8601) of the card, e.g.: `2023-12-12`",
64
+
label: "Due On",
65
+
description: "Due date (ISO 8601) of the card (e.g. `2023-12-12`).",
66
66
optional: true,
67
67
},
68
68
notify: {
69
69
type: "boolean",
70
-
label: "Notify",
71
-
description: "Whether to notify assignees. Defaults to false",
70
+
label: "Notify Assignees",
71
+
description: "Whether to notify assignees.",
72
72
optional: true,
73
+
default: false,
73
74
},
74
75
},
75
76
asyncrun({ $ }){
@@ -96,7 +97,7 @@ export default {
96
97
},
97
98
});
98
99
99
-
$.export("$summary",`Successfully created card with ID${card.id}`);
100
+
$.export("$summary",`Successfully created card (ID:${card.id}}`);
0 commit comments