Repository navigation
Conversation
conventional-commits label colors for capitalized types|
This looks like an AI-generated PR, so we're preemptively closing it. If you're human and tested it, include a screenshot/video/gif of the working PR and we can reopen the PR. Don't open more PRs until this one is resolved. |
Contributor
Author
|
Tested locally — built the branch and loaded it on the page from #9765. Capitalized types (Fix, Refactor, Docs, Feature) get their label colors now instead of showing white/gray. Screenshot attached. |
conventional-commits label colors for capitalized types
conventional-commits label colors for capitalized typesconventional-commits - Support capitalized labels
conventional-commits - Support capitalized labelsconventional-commits - Support capitalized types
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.

Closes #9765
When upper-case types were added to the parser,
rawTypekept its original casing, but the CSS presets only match lowercase attribute values ([rgh-conventional-commits='fix']), soFix:/Feature:/Refactor:commits fell through to the default white/gray label.rawType's only consumer is this attribute, so this lowercases it at the attribute site — the CSS contract is lowercase, and the visible label text (commit.type) is unaffected. Also added the reporter's URL to the Test URLs list.Tested on:
Fix/Feature/Refactorcommits now get the preset colors (Update/Removestay unlabeled as before, not conventional types)