feat(FN-813): add project-aware ntfy deep links

- Thread real project context (projectName, projectId) into ntfy notification deep links
- Dashboard deep-link URL now honors project context with /project/:name/task/:id pattern
- Update App.tsx routing to handle project-scoped deep link navigation
- Add project info to NtfyNotifier types and wire through notification payload
- Add changeset for published @gsxdsm/fusion package
- Add tests for notifier project context and dashboard routing
This commit is contained in:
gsxdsm
2026-04-03 21:34:39 -07:00
parent ac6522c2f7
commit 2fad82ea14
7 changed files with 227 additions and 8 deletions

View File

@@ -760,6 +760,18 @@ Terminates and retries tasks with no agent activity for the specified duration (
```
Get notified when tasks complete, merge, or fail. Requires [ntfy.sh](https://ntfy.sh) app.
**Dashboard Deep Links in Notifications:**
```json
{
"settings": {
"ntfyEnabled": true,
"ntfyTopic": "my-kb-notifications",
"ntfyDashboardHost": "https://fusion.example.com"
}
}
```
When `ntfyDashboardHost` is set, notifications include a clickable deep link that opens the specific task in the dashboard. In multi-project setups, the link includes both `?project=<id>&task=<id>` parameters so the dashboard opens the correct task in the correct project. For single-project or unregistered projects, links use `?task=<id>` only.
**Plan Approval:**
```json
{