Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions BOOKMARKS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Bookmarks

Progressive disclosure for task-specific documentation and references.

## Table of Contents
- [PatternFly Documentation](#patternfly-documentation)
- [Virtualization & Performance](#virtualization--performance)
- [Development Resources](#development-resources)

---

## PatternFly Documentation

### [PatternFly 6 React Docs](https://www.patternfly.org/v6/)

Official PatternFly 6 React component documentation and API reference.

**Added by**: Initial setup | **Date**: 2026-03-18

### [PatternFly MCP Server](https://www.npmjs.com/package/@patternfly/patternfly-mcp)

MCP server for PatternFly development rules and documentation - use with Ambient/Claude for inline guidance.

**Added by**: Initial setup | **Date**: 2026-03-18

---

## Virtualization & Performance

### [react-window Documentation](https://react-window.vercel.app/)

Original react-window library - basis for our fork with custom virtualization needs.

**Added by**: Initial setup | **Date**: 2026-03-18 | **Note**: We maintain a fork in packages/module/src/react-window/

### [react-window GitHub](https://github.com/bvaughn/react-window)

Source repository for react-window - useful for understanding virtualization patterns and updates.

**Added by**: Initial setup | **Date**: 2026-03-18

---

## Development Resources

### [Log Viewer Documentation (Local)](./packages/module/patternfly-docs/content/extensions/react-log-viewer/)

Local documentation with examples, design guidelines, and usage patterns for the log viewer.

**Added by**: Initial setup | **Date**: 2026-03-18

---

**Tip**: Use `/bookmark <url> <description>` in Ambient to add to this list collaboratively with your team.
39 changes: 39 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# react-log-viewer

A virtualized React component for viewing, searching, and filtering application logs. Built with React, TypeScript, PatternFly, Webpack, and memoize-one (for virtualization).

## Structure

- `packages/module/src/react-window/` - Forked react-window for custom virtualization
- `packages/module/src/LogViewer/` - Log viewer components and custom CSS (additional to PatternFly)
- `packages/module/patternfly-docs/content/extensions/react-log-viewer/` - MD files, live code examples, design guidelines, and documentation content

## Key Files

- Library package: `packages/module/package.json`
- Setup instructions: `/README.md`
- Main component: `packages/module/src/LogViewer/LogViewer.tsx`
- Monorepo root: `package.json`

## Commands

```bash
yarn build # Build the library
yarn test # Run unit tests
yarn lint # Lint the codebase
```

For accessibility testing:
```bash
yarn build:docs && yarn serve:docs # Start docs server
yarn test:a11y # Run a11y tests (in separate terminal)
```

## Important Context

- **Uses forked react-window** for custom virtualization needs
- **Large log files require virtualization** - performance is critical for handling large datasets

## More Info

See [BOOKMARKS.md](BOOKMARKS.md) for react-window, virtualization, and PatternFly documentation.
Loading