slackapi / bolt-python

A framework to build Slack apps using Python
https://slack.dev/bolt-python/
MIT License
1.02k stars 236 forks source link

[Question] Is there a way to specify the default tab for an app #1079

Closed budbach closed 1 week ago

budbach commented 1 month ago

Under "Apps" on the left hand side of the GUI, when selecting the app, it seems to default to opening the home page. For an app I am working on, I'd prefer the app to open to the messages tab as that is where most of the apps functionality is. Ideally, there would be a way to set the default tab fo the app.

The slack_bolt version

slack-bolt==1.18.1 slack_sdk==3.27.1

Python runtime version

Python 3.9.16

Steps to reproduce:

  1. In the GUI, click an app name with a home tab and messages tab under Apps
  2. The app opens to the "Home" tab

Requirements

The app opens to the "Messages" tab

vegeris commented 1 month ago

Hi there,

The App view does indeed default to opening the Home tab by default, or the Messages tab if a user has unread messages from the app. I don't believe we support customizing which tab opens by default, but one can disable the App Home tab if it's not relevant to their app via the App Config UI (Features -> App Home -> Show Tabs), or one can deep-link to a particular tab.

eddyg commented 1 month ago

I also think this would be a great idea. I suggested exactly this as a Feature Request in the #feedback channel a couple years ago, but nothing ever came of it. 😐

budbach commented 1 month ago

Yeah, for this app the user mostly goes to the messages tab to interact conversationally with an AI backed chatbot. The home tab also has some features that are important but not the focus. Nearly everytime they open the app, they need to switch from the Home tab to the messages tab and it isn't a very good experience.

github-actions[bot] commented 3 weeks ago

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] commented 1 week ago

As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.