Add slug utility function - #27
Open
Traves-Theberge wants to merge 7 commits into
Open
Conversation
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 by normalizing unicode, lowercasing, replacing non-alphanumeric chars with hyphens, and trimming. Includes 10 unit tests covering unicode, special chars, multiple spaces, leading/trailing dashes, and edge cases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Split camelCase and PascalCase boundaries into hyphens so inputs like myVariableName become my-variable-name. Includes tests for camelCase, PascalCase, and acronym handling (e.g. getHTTPResponse). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🔍 openlens Review✅ No issues found. |
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.
URL-safe slug with unicode support.
🤖 Orchestra