[SIS-16] additional features for meetups to:

define a location
update properties
being able to define which type of decisions should receive meetup notifications
reference the meetup in a notification

preparing for release
This commit is contained in:
Sheldan
2023-01-12 01:43:24 +01:00
parent d080292e85
commit 09c113c6bc
40 changed files with 430 additions and 26 deletions

View File

@@ -0,0 +1,6 @@
{
"additionalMessage": "<@safe_include "changeMeetup_response_text"/>",
"messageConfig": {
"ephemeral": true
}
}

View File

@@ -8,6 +8,14 @@
},
"description": "<@format_instant_date_time instant=meetupTime/>
${description?json_string}"
<#if location?? && location != "%22%22">,
"fields": [
{
"name": "<@safe_include "createMeetup_confirmation_location_field_title"/>",
"value": "https://www.google.com/maps?q=${location?json_string}"
}
]
</#if>
}
],
"buttons": [

View File

@@ -2,4 +2,7 @@
<#assign userMentions><#list participants as user>${user.memberMention}<#sep>, </#list></#assign>
"additionalMessage": "${userMentions?json_string}
${notificationMessage}"
<#if meetupMessageId??>,
"referencedMessageId": ${meetupMessageId?c}
</#if>
}

View File

@@ -20,7 +20,6 @@
"description": "<#if cancelled>~~</#if><@safe_include "meetup_display_description"/><#if cancelled>~~</#if>"
}
],
<#if yesId?has_content && noId?has_content && maybeId?has_content && !cancelled>
"buttons": [
{
"label": "<@safe_include "meetup_message_yes_button_label"/>",
@@ -42,8 +41,14 @@
"id": "${noId}",
"buttonStyle": "danger"
}
<#if location?? && location != "%22%22">,
{
"label": "<@safe_include "meetup_message_location_button_label"/>",
"url": "https://www.google.com/maps?q=${location?json_string}",
"buttonStyle": "link"
}
</#if>
],
</#if>
"messageConfig": {
"allowsRoleMention": true
}

View File

@@ -0,0 +1,3 @@
This command is used to change a property of a meetup.
That can include: description, topic and location.
In order to clear the location please enter "". It is not possible to clear the topic or the description.

View File

@@ -0,0 +1 @@
Where the meetup should be. This will be used with a Google Maps search link in the display.