Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Create modal for message between pairs #2

Open
Fattimo opened this issue Dec 25, 2020 · 0 comments
Open

Create modal for message between pairs #2

Fattimo opened this issue Dec 25, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Fattimo
Copy link
Member

Fattimo commented Dec 25, 2020

If any referenced directories don't exist, create them

  • In src/plugins/dates/modals, create a typescript file called pairingMessage or something along those lines
  • Use the slack block kit builder to create a message between two individuals.
  • This message should have buttons to generate a random ice breaker or generate a random date idea. It doesn't need to have the functions linked yet, but just make sure the buttons are there
  • Copy paste this into your TS file, and export it as a function.
  • This function should take an array of user ids, and should populate the modal with the names of the users. You can find this info using the method here: https://api.slack.com/methods/users.info
  • Return this modal, then edit the scripts.ts file to call this method when pairings are made
@Fattimo Fattimo added this to the Sprint 1 (Dumpling Dates) milestone Dec 25, 2020
@Fattimo Fattimo added the good first issue Good for newcomers label Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant