node-slack-interactive-messages icon indicating copy to clipboard operation
node-slack-interactive-messages copied to clipboard

Example app Glitch instructions, not great

Open aoberoi opened this issue 8 years ago • 4 comments

Description

  1. The SLACK_ACCESS_TOKEN variable is only available after install, but if you try to install the app in the order the instructions are presented, it will fail and say you need to add at least one scope.

  2. In enabling interactive components, where do I get the "Glitch URL"? Its in the "Share" menu, but it would be nice to be explicit. Maybe give an example.

  3. Where do I put the environment variables? If you know Glitch, you'll know its in 🗝.env, but many users don't know Glitch. Also, if you're running locally, its not clear that you can put this in .env.

  4. You need a description for the slash command.

  5. PORT needs to be commented out in .env

  6. In package.json, @slack/interactive-messages dependency version specifier should be set to "^0.3.0"

Maybe there should be 2 completely different sets of instructions for setup locally and on Glitch.

Requirements

  • [x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • [x] I've read and agree to the Code of Conduct.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

aoberoi avatar Apr 27 '18 18:04 aoberoi

Also, typo in the readme: /interactive-exmaple dialog: Creates a dialog with a user menu, should be example and not exmaple

adamcohen avatar May 05 '18 09:05 adamcohen

I'd like to see these changes happen. The pull request has been open for quite some time now. Shall I make another PR that includes just the points mentioned in this issue?

ErwinAI avatar Jan 12 '19 07:01 ErwinAI

@ErwinLengkeek we would very much appreciate that!

aoberoi avatar Jan 15 '19 15:01 aoberoi

If you'd like to pick this issue up, I've migrated it to the new repository where this package lives (and the example app that this issue references). Feel free to discuss it there https://github.com/slackapi/node-slack-sdk/issues/827

shaydewael avatar Jul 16 '19 20:07 shaydewael