Skip to content

Add slug utility function - #25

Closed
Traves-Theberge wants to merge 7 commits into
mainfrom
openlens-1
Closed

Add slug utility function#25
Traves-Theberge wants to merge 7 commits into
mainfrom
openlens-1

Conversation

@Traves-Theberge

Copy link
Copy Markdown
Owner

URL-safe slug utility with unicode support.

🤖 Orchestra

Traves-Theberge and others added 6 commits March 28, 2026 12:29
Implemented by CLAUDE agent via Orchestra
Add 66 new E2E tests across 7 test files covering previously untested areas:
- Rules discovery (CLAUDE.md, AGENTS.md, .openlens/rules.md)
- Branch mode with three-dot diff and CI auto-detection
- Suppression system (.openlensignore, config patterns)
- Agent test subcommand validation
- Config edge cases (XDG_CONFIG_HOME, env overrides, JSONC, precedence)
- Library API (loadConfig, loadAgents, getDiff, formatters, event bus)
- Hook content validation (OPENLENS_SKIP, shebang, permissions)

Update CI workflow to run E2E tests as a dedicated step.

Total E2E coverage: 110 → 176 tests (60% increase)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… and CLI edge cases

Adds 29 new E2E tests across 3 test files:
- server-errors: POST /review handling, invalid endpoints, hostname binding
- plugin: module structure validation, debug mode, GitHub review formatter
- cli-edge-cases: conflicting flags, env var precedence, large files, special chars

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Implemented by CLAUDE agent via Orchestra
Add slug() that converts strings to URL-safe slugs with unicode
normalization, diacritics stripping, and special character handling.
Includes comprehensive unit tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add optional camelCase splitting so inputs like myVariableName
become my-variable-name. Handles PascalCase, acronyms (XMLParser),
and mixed camelCase with spaces. Includes 7 new tests.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🔍 openlens Review

No issues found.

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.

1 participant