Skip to content

Develop#4

Merged
Zaiidmo merged 21 commits intomasterfrom
develop
Mar 30, 2026
Merged

Develop#4
Zaiidmo merged 21 commits intomasterfrom
develop

Conversation

@a-elkhiraooui-ciscode
Copy link
Copy Markdown
Contributor

Summary

  • What does this PR change?

Why

  • Why is this change needed?

Checklist

  • Added/updated tests (if behavior changed)
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes
  • npm run build passes
  • Added a changeset (npx changeset) if this affects consumers

Notes

  • Anything reviewers should pay attention to?

Zaiidmo and others added 14 commits February 24, 2026 10:47
- 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
- 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>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Zaiidmo added 4 commits March 30, 2026 10:42
…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
Copilot AI review requested due to automatic review settings March 30, 2026 09:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

y-aithnini
y-aithnini previously approved these changes Mar 30, 2026
Copilot AI review requested due to automatic review settings March 30, 2026 10:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Zaiidmo
Zaiidmo previously approved these changes Mar 30, 2026
@sonarqubecloud
Copy link
Copy Markdown

@Zaiidmo Zaiidmo merged commit 22cdf6e into master Mar 30, 2026
2 checks passed
@Zaiidmo Zaiidmo deleted the develop branch March 30, 2026 10:36
@Zaiidmo Zaiidmo restored the develop branch March 30, 2026 10:36
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.

4 participants