npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

hale-commenting-system

v3.4.1

Published

A commenting system for PatternFly React applications that allows designers and developers to add comments directly on design pages, sync with GitHub Issues, and link Jira tickets.

Readme

Hale Commenting System

A commenting system for PatternFly React applications that allows designers and developers to add comments directly on design pages, sync with GitHub Issues, and link Jira tickets.

Features

  • Pin-based commenting - Click anywhere on a page to add a comment pin
  • Thread discussions - Organize comments into threads with replies
  • GitHub Integration - Sync comments with GitHub Issues automatically
  • Jira Integration - Link Jira tickets to specific pages or sections
  • PatternFly Design - Built with PatternFly React components
  • Responsive - Works on desktop and mobile devices
  • Easy Integration - Automated setup script for seamless installation

Prerequisites

This package was developed for PatternFly React Seed projects, but can be used with similar PatternFly React applications that have:

  • Webpack-based setup with webpack.dev.js
  • src/app/ directory structure
  • PatternFly React Core and Icons dependencies

The automated integration script (npx hale-commenting-system init) works best with PatternFly React Seed or projects with a similar structure.

Installation

npm install hale-commenting-system

Quick Start

  1. Install the package:

    npm install hale-commenting-system
  2. Run the integration script:

    npx hale-commenting-system init
  3. Follow the interactive setup:

    • The script will guide you through project setup
    • Optionally configure GitHub OAuth integration
    • Optionally configure Jira integration
    • Configuration files (.env and .env.server) will be created automatically
  4. Start your dev server:

    npm run start:dev

Usage

After running the integration script, the commenting system will be available in your PatternFly React Seed application.

Adding Comments

  • Click anywhere on a page to add a comment pin
  • View all comments in the "Comments" menu item in the sidebar
  • Reply to comments to create discussion threads
  • Navigate to pins using the "Go to pin" button in the comments view

GitHub Integration (Optional)

When configured, comments automatically sync with GitHub Issues:

  • Each comment thread becomes a GitHub Issue
  • Replies sync as Issue comments
  • Status changes (open/closed) sync between the app and GitHub

Jira Integration (Optional)

When configured, you can:

  • Link Jira tickets to specific pages or sections
  • View ticket details in the commenting panel
  • Track design work alongside development tickets

Configuration

The integration script creates two configuration files:

.env

Contains client-side configuration (safe to commit):

  • GitHub OAuth client ID
  • Jira base URL
  • Other public configuration

.env.server

Contains server-side secrets (should NOT be committed):

  • GitHub OAuth client secret
  • Jira API tokens
  • Other sensitive credentials

Important: The .env.server file is automatically added to .gitignore to prevent committing secrets.

See the generated files for detailed setup instructions.

Requirements

  • PatternFly React Seed project (or compatible PatternFly React application)
  • Node.js 18+ (required for webpack middleware with native fetch() support)
  • React 18+

What Gets Integrated

The integration script automatically modifies your project:

  1. src/app/index.tsx - Adds CommentProvider and GitHubAuthProvider
  2. src/app/routes.tsx - Adds "Comments" route group with "View all" route
  3. src/app/AppLayout/AppLayout.tsx - Adds CommentPanel and CommentOverlay components
  4. webpack.dev.js - Adds middleware for GitHub OAuth and Jira API proxying
  5. src/app/Comments/Comments.tsx - Creates the Comments view component
  6. .env and .env.server - Creates configuration files

Development

Running Locally

# Install dependencies
npm install

# Start development server
npm run start:dev

Building for Production

# Run production build
npm run build

# Start production server
npm run start

License

MIT

Support

For issues or questions, please open an issue on npm or contact the package maintainer.