Skip to content

Add confirmation step to Join Event button in Slack #10

@danieltott

Description

@danieltott

When joining our Co-Working Room, users are prompted with a nice confirmation step:

image

It would be great to add this to our Join Event slack buttons.

The co-working room prompt is contained in the button accessory - you can see that here:

accessory: {
type: 'button',
text: {
type: 'plain_text',
text: timestamp ? room.ButtonStartNew : room.ButtonJoin,
emoji: true,
},
value: 'join_meeting',
url: room.ZoomMeetingInviteUrl,
action_id: 'button-action',
style: 'primary',
confirm: {
title: {
type: 'plain_text',
text: room.NoticeTitle,
},
text: {
type: 'mrkdwn',
text: room.NoticeBody,
},
confirm: {
type: 'plain_text',
text: room.NoticeConfirm,
},
deny: {
type: 'plain_text',
text: room.NoticeCancel,
},
},
},
},

Here's the accessory button for the Join Event message:

titleBlock.accessory = {
type: 'button',
text: {
type: 'plain_text',
text: 'Join Event',
emoji: true,
},

The message text for the coworking room is:

Heads up!

This is a Zoom link - following it will most likely open Zoom and add you to our Co-Working Room.
Additionally, as always, our [Code of Conduct](https://virtualcoffee.io/code-of-conduct) is in effect.
Just want to make sure we're all on the same page :smiley:

However, not all of our events are Zoom links. So we could either just make this much more generic ("this is an external link...") or try to parse the event url and add some options canned options (Zoom, twitch, etc) plus a generic fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions