Skip to content

feat(ui): add messages-and-notifications intent skill set - #2195

Open
franzheidl wants to merge 2 commits into
mainfrom
franz-messages-notifications-skills-2194
Open

franzheidl wants to merge 2 commits into
mainfrom
franz-messages-notifications-skills-2194

Conversation

@franzheidl

@franzheidl franzheidl commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a messages-and-notifications intent skill set.

Changes Made

Adds a third Intent skill set, messages-and-notifications, to @cloudoperators/juno-ui-components, alongside the existing datagrid and status sets. It covers Juno's two feedback mechanisms: 1.) Message (static, inline) and Toast/NotificationManager (transient, via the toast() API), and 2.) the decision for choosing between them.

It also closes a gap in status-spec, which pointed readers at "dedicated components (Toast, Message)" without defining their correct use. The rule set is lifted from the existing UX doc docs/ux/messages-and-notifications.md.

What's included

  • messages-and-notifications-spec — the single source of truth: the two-mechanism model, the Message-vs-Notification selection table, the Message and notification APIs, and invariants MN-1–MN-10.
  • messages-and-notifications-build — generates correct usage from a described situation.
  • messages-and-notifications-validate — audits an existing usage and reports MN-* violations.
  • Registered under a new Intent domain, feedback (the first beyond data-display).

Both task skills require the spec and cite its rule IDs — they never restate rules.

Status boundary

status-spec now cites MN-1/MN-9 at its handoff, and MN-9 points back at status-spec INV-1, so the three feedback surfaces (Status, Message, Notification) share one coherent decision model.

Out of scope

Semantic variant meaning is deferred to the UX doc and a future cross-cutting semantic-variants topic skill; this set only cross-references it.

Checks

intent validate / maintainer review / maintainer check all pass; review outcomes recorded in .intent/review-state.json. Changeset: minor.

Related Issues

Closes #2194

Testing Instructions

None as no runtime changes are included with this PR.

Checklist

  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have made corresponding changes to the documentation (if applicable).
  • My changes generate no new warnings or errors.
  • I have created a changeset for my changes.
  • I have run intent maintainer review/check and committed the result (if applicable)

PR Manifesto

Review the PR Manifesto for best practises.

Signed-off-by: Franz Heidl <franz.heidl@sap.com>
@changeset-bot

changeset-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 68783ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@cloudoperators/juno-ui-components Minor
@cloudoperators/juno-app-doop Patch
@cloudoperators/juno-app-greenhouse Patch
@cloudoperators/juno-app-heureka Patch
@cloudoperators/juno-app-supernova Patch
@cloudoperators/juno-app-template Patch
@cloudoperators/juno-messages-provider Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2

🚀 View preview at
https://cloudoperators.github.io/juno/pr-preview/pr-2195/

Built to branch gh-pages at 2026-11-20 15:24 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@franzheidl
franzheidl marked this pull request as ready for review November 20, 2026 10:59
@franzheidl
franzheidl requested a review from a team as a code owner November 20, 2026 10:59
@franzheidl franzheidl added ai Anything ai-related. ui-components All tasks related to juno-ui-components library documentation Improvements or additions to documentation labels Nov 20, 2026
@franzheidl franzheidl moved this from New to In progress in Juno Roadmap Nov 20, 2026
…essages-and-notifications specs

Signed-off-by: Franz Heidl <franz.heidl@sap.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai Anything ai-related. documentation Improvements or additions to documentation ui-components All tasks related to juno-ui-components library

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

feat(ui): add messages-and-notifications intent skill set

1 participant