@W-21315017 feat(grpc): adjust badge styling to match HTTP method labels#78
Merged
@W-21315017 feat(grpc): adjust badge styling to match HTTP method labels#78
Conversation
- Replace transparent stream-type-badge with solid badges matching HTTP style - Reorganize gRPC template: badge first, then method name - Remove brackets from badges (UNARY, CLIENT, SERVER, BIDIRECTIONAL) - Reuse data-method colors for consistency with existing HTTP badges - Add grpc-method-name class for method name styling - Update tests to verify new structure Visual result: - UNARY → Purple badge (like PATCH) - CLIENT → Green badge (like publish) - SERVER → Blue badge (like subscribe) - BIDIRECTIONAL → Gray badge (like OPTIONS) Tests: 277/277 passing in Chromium and Firefox Coverage: 96.81%
spezzirriemiliano
approved these changes
Mar 2, 2026
- Updated the JSON structure to enhance clarity and organization. - Removed redundant fields and streamlined the representation of gRPC methods and requests. - Introduced new properties for better documentation and linkage within the schema. This refactor aims to improve maintainability and readability of the gRPC API definitions.
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.
Visual result:
Tests: 277/277 passing in Chromium and Firefox
Coverage: 96.81%