Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confirmation step to Join Event button in Slack #10

Open
danieltott opened this issue Oct 10, 2022 · 0 comments
Open

Add confirmation step to Join Event button in Slack #10

danieltott opened this issue Oct 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@danieltott
Copy link
Member

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.

@danieltott danieltott added the enhancement New feature or request label Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant