Conversation
- Fix SONAR_PROJECT_KEY (critical bug fix) - Add dependabot.yml for dependency management - Add sonarqube_mcp.instructions.md - Standardize branch triggers and Actions versions - Pin SonarQube actions to commit SHA
- Add comprehensive copilot-instructions.md guiding notification UI development - Align documentation with other frontend packages - Establish clear naming conventions and testing standards - Define module structure and development workflow
… clean, verify, prepublishOnly)
- Add comprehensive instruction files in .github/instructions/ - Includes copilot, testing, bugfix, features, general guidelines - Standardize documentation across all repositories
- Change trigger from tag push to master branch push - Add tag validation using 'git describe --exact-match' - Prevent failed workflows on feature branch tag pushes - Maintain semantic versioning with mandatory tags
* Develop (#1) * ops: updated workflows and unit tests coverage rules * chore: update test coverage rules * chore: setting up env * chore: fixed prettier format errors * ops: updated workflow trigger * 0.0.1 * first version * fixed a style issue and added changeset --------- Co-authored-by: Zaiid Moumni <141942826+Zaiidmo@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR turns the repository from a template into a functional notification/toast component library (@ciscode/ui-notification-kit), adding the notification store/provider + UI components, styling pipeline (Tailwind), tests, and CI/release automation.
Changes:
- Implement notification models, store, React context/provider, hooks, and UI components (including portal-based viewport rendering).
- Add Tailwind/PostCSS build pipeline and publishable CSS asset export (
./style.css). - Add Vitest + RTL test setup and CI workflows for PR validation/release checks/publishing.
Reviewed changes
Copilot reviewed 55 out of 57 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| vitest.config.ts | Expands Vitest config (jsdom, setup, coverage). |
| tsup.config.ts | Normalizes tsup config + formatting. |
| tailwind.config.mjs | Adds Tailwind config (RTL plugin, zIndex scale). |
| tailwind.config.js | Duplicate Tailwind config file (same as .mjs). |
| src/utils/noop.ts | Removes noop utility. |
| src/utils/index.ts | Removes placeholder utils exports (now empty export). |
| src/store/notificationStore.ts | Adds core notification store logic (state/history, lifecycle). |
| src/store/index.ts | Exports store entrypoint. |
| src/models/notification.ts | Adds notification types/config models. |
| src/models/index.ts | Exports models entrypoint. |
| src/index.ts | Updates public API exports (adds models/store, explicit .js). |
| src/hooks/useNotification.ts | Adds consumer hook for NotificationContext. |
| src/hooks/useNoop.ts | Removes noop hook. |
| src/hooks/useClearOnNavigate.ts | Adds navigation-clearing hook. |
| src/hooks/useAccessibility.ts | Adds focus trap + live region hooks. |
| src/hooks/index.ts | Replaces placeholder hook exports with real hooks. |
| src/context/NotificationContext.tsx | Adds notification context types + provider context object. |
| src/components/index.ts | Replaces placeholder exports with notification components. |
| src/components/index.css | Adds CSS entry that imports Tailwind input + component CSS. |
| src/components/NotificationViewport.tsx | Adds portal-based viewport rendering. |
| src/components/NotificationProvider.tsx | Adds provider wiring store + context + viewport. |
| src/components/NotificationProgress.tsx | Adds progress bar component. |
| src/components/NotificationItem.tsx | Adds notification item UI + timers + a11y behavior. |
| src/components/NotificationIcons.css | Adds keyframes/animation utility classes. |
| src/components/NotificationIcon.tsx | Adds icon rendering logic (type-based + custom icons). |
| src/components/NotificationContainer.tsx | Adds positioning container + grouping by position. |
| src/components/NotificationActionList.tsx | Adds action button list for notifications. |
| src/components/NoopButton.tsx | Removes noop button component. |
| src/assets/styles/style.css | Adds Tailwind directives + sr-only utility. |
| src/tests/setup.ts | Adds RTL cleanup + jest-dom setup for Vitest. |
| src/tests/notificationStore.test.ts | Adds unit tests for NotificationStore behavior. |
| src/tests/NotificationProvider.test.tsx | Adds provider integration tests. |
| src/tests/NotificationItem.a11y.test.tsx | Adds basic a11y assertions for NotificationItem. |
| postcss.config.mjs | Adds PostCSS config (Tailwind + autoprefixer). |
| postcss.config.js | Duplicate PostCSS config file (same as .mjs). |
| package.json | Renames package, adds scripts, exports, deps/devDeps updates. |
| package-lock.json | Updates lockfile for new dependencies/tooling. |
| eslint.config.js | Updates ignored paths + relaxes/adjusts TS/React rules. |
| README.md | Replaces template README with library documentation/usage. |
| .prettierrc.json | Expands Prettier settings. |
| .husky/_/.gitignore | Adjusts husky internal gitignore. |
| .github/workflows/release-check.yml | Adds release-check workflow (optional Sonar). |
| .github/workflows/publish.yml | Adds publish workflow to NPM. |
| .github/workflows/pr-validation.yml | Updates PR validation trigger behavior. |
| .github/workflows/ci-release-check.yml | Removes old release check workflow. |
| .github/workflows/cd-release.yml | Removes old publish workflow. |
| .github/sonarqube_mcp.instructions.md | Adds SonarQube MCP instructions doc. |
| .github/instructions/testing.instructions.md | Adds detailed testing guidelines. |
| .github/instructions/sonarqube_mcp.instructions.md | Adds SonarQube MCP instructions (instructions folder). |
| .github/instructions/general.instructions.md | Adds general module engineering guidelines. |
| .github/instructions/features.instructions.md | Adds feature development workflow guidelines. |
| .github/instructions/copilot-instructions.md | Adds Copilot usage guidelines (instructions folder). |
| .github/instructions/components.instructions.md | Adds component development standards. |
| .github/instructions/bugfix.instructions.md | Adds bugfix workflow guidelines. |
| .github/dependabot.yml | Adds Dependabot config for npm/actions. |
| .github/copilot-instructions.md | Adds top-level Copilot guidelines doc. |
| .changeset/bright-owls-approve.md | Adds changeset for first functional release. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ckages - Replace git tag --list strategy with package.json-driven tag validation in all 16 publish workflows; use git rev-parse to verify the exact tag exists rather than guessing the latest repo-wide tag - Update error guidance to reflect feat/** → develop → master flow - Standardize dependabot to npm-only, grouped, monthly cadence across all 16 packages; remove github-actions ecosystem updates - Add missing dependabot.yml to AuthKit-UI, ChartKit-UI, HealthKit, HooksKit, paymentkit, StorageKit
y-aithnini
previously approved these changes
Mar 30, 2026
Zaiidmo
previously approved these changes
Mar 30, 2026
Zaiidmo
approved these changes
Mar 30, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Why
Checklist
npm run lintpassesnpm run typecheckpassesnpm testpassesnpm run buildpassesnpx changeset) if this affects consumersNotes