Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Free organizations can connect Slack, but no Slack notifications are ever sent

未关闭
#2,702 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
csharp
领域
backend, frontend

调研方向

Start with AddProjectSlack in src/Exceptionless.Web/Api/Handlers/ProjectHandler.cs and compare its plan checks with SetProjectIntegrationNotificationSettings; then inspect updateSlackNotificationSettings in src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/integrations/+page.svelte. Trace how the existing webhook flow handles plan-limit responses and confirm the Slack connection is rejected before its token is stored. Done means Free plan users see the upgrade dialog on both connection and settings changes.

由索引模型根据 Issue 内容生成。

描述

bug

A project in a Free plan organization can connect Slack, and the app reports success. Notifications are never queued for organizations without premium features, so the Slack channel never receives anything, and nothing in the UI says why. If the user changes the Slack notification switches afterwards, they get a generic error instead of the upgrade dialog.

Where

Steps to reproduce

  1. In an organization on the Free plan, open a project's Integrations page and click Connect Slack.
  2. Complete the Slack authorization. The app shows "Successfully connected Slack integration" and default Slack settings are saved.
  3. Send a new error to the project. Nothing arrives in Slack.
  4. Toggle any Slack notification setting. The app shows "Error updating Slack notification settings. Please try again." because the 426 isn't handled.

Expected

Connecting Slack on the Free plan returns the plan-limit error (426) before the OAuth token is stored, and the page shows the upgrade dialog, as it already does for webhooks. Settings changes also show the upgrade dialog instead of a generic error.

Suggested fix

  • In AddProjectSlack, load the organization and return the same PlanLimit validation result used in SetProjectIntegrationNotificationSettings when !organization.HasPremiumFeatures. Ideally check this before exchanging the code, or revoke the token afterwards.
  • In updateSlackNotificationSettings, call showBillingDialogOnUpgradeProblem.
  • Optionally show a notice on the Slack section for organizations already connected on the Free plan.
主要语言
C#
星标
2.5k
派生
508
平均合并
2 天 17 小时
30 天内合并 PR
40

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

exceptionless/Exceptionless 的其他 Issue

查看 exceptionless/Exceptionless 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。