Skip to content

feat: add command-result notification middleware - #11

Merged
tyrsson merged 5 commits into
1.0.xfrom
feat/notification-capable-interface
Sep 3, 2026
Merged

tyrsson merged 5 commits into
1.0.xfrom
feat/notification-capable-interface

Conversation

@tyrsson

@tyrsson tyrsson commented Sep 3, 2026

Copy link
Copy Markdown
Member

Adds NotificationCapableInterface (success/failure message property hooks) and a centralized NotificationMiddleware that reads the message-bus CommandResult request attribute and pushes a success/warning flash notification when the command implements the interface. This moves per-dispatch SystemMessage handling out of the Process* middleware into this package.

Also bumps webware/webware-tools to the mago 1.47.3 pin and fixes a package-name typo in one copyright header.

Refs webinertia/webware-acl#22

Centralizes SystemMessage dispatch. The middleware reads the message-bus CommandResult request attribute and pushes a success/warning flash notification when the command implements NotificationCapableInterface. Refs webinertia/webware-acl#22
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tyrsson
tyrsson merged commit e2a10f4 into 1.0.x Sep 3, 2026
11 checks passed
@tyrsson
tyrsson deleted the feat/notification-capable-interface branch September 3, 2026 08:42
@tyrsson tyrsson linked an issue Sep 3, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide centralized CommandResult to SystemMessage HTTP middleware

1 participant