Creating a Slack App Home View
Вставка
- Опубліковано 5 лют 2025
- In this video we look at creating a Slack App Home page view using Slack Block Kit Builder, enhancing our previous build in the 'Getting Started With Slack App Development'.
Pastebin source code - pastebin.com/g...
Create your app here - api.slack.com/...
We will use different packages throughout this video, they are below:
Build apps with JavaScript in Node.js (nodejs.org/en/)
Install packages with npm (www.npmjs.com/)
Expose our local host environment using ngrok (ngrok.com/)
Automatically restart the app with Nodemon (www.npmjs.com/...)
Build Slack apps fast with Bolt (slack.dev/bolt...)
Build views easy with Slack Block Kit Builder (app.slack.com/...)
Hi there, thanks for the video! Is there a way to make the home tab persistent? As in, using something else than the app_home_opened event.
The app_home_opened event is needed for the app to know you’ve opened it in order to serve the correct data
@@JFoxUK I’ve tried to find event when the app is installed, but I couldn’t find it.
I’m trying to make a drop-down persistent in the home tab (to select where a bot would post a recurring message).
I’ve seen other apps do it, but I’m not sure how they achieve it. Do you know how that could be achievable?
@@kennyalami4262 you’d need to save the users preferences or persisted data in some sort of memory cache or DB
@@JFoxUK That makes sense! Thanks for the help, appreciate it!