Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,20 @@


async def overview_context_provider(request: Request, ctx: PluginContext):
workspace_name = "Unknown workspace"
try:
# Fetch workspace name from Slack API
team_info = await slack_app.client.team_info()
if team_info and team_info.get("ok"):
workspace_name = team_info["team"]["name"]
except Exception:
# Fallback to env var if API call fails
workspace_name = os.getenv("SLACK_TEAM_NAME", "Unknown workspace")

return {
"plugins": plugin_manager.plugins,
"socket_status": "running",
"workspace": os.getenv("SLACK_TEAM_NAME", "Unknown workspace"),
"workspace": workspace_name,
}


Expand Down
2 changes: 1 addition & 1 deletion plugins/autoresponder/templates/greeter_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ <h2>AI-Powered Greetings</h2>

<div class="card">
<h2>AI Configuration</h2>
<form method="post" action="/admin/tabs/autoresponder_greeter/ai/settings">
<form method="post" action="/admin/tabs/autoresponder_greeter/ai/settings" style="max-width: 640px;">
<div class="form-group">
<label class="checkbox-label">
<input type="checkbox" name="enabled" {% if ai_settings.enabled %}checked{% endif %}>
Expand Down
Binary file modified static/img/mod-log-where-to-find-channel-id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.