-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add vale rule for product UI naming (#2044)
* add product ui rule * test non-preferred terms * fix syntax issues * modify error message * add drop-down menu entry * remove test terms * Update vale/styles/spectrocloud/product-ui.yml Co-authored-by: Karl Cardenas <[email protected]> --------- Co-authored-by: Lenny Chen <[email protected]> Co-authored-by: Karl Cardenas <[email protected]>
- Loading branch information
1 parent
9894100
commit 38000f7
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
extends: substitution | ||
message: "Use the approved UI element term '%s' instead of '%s'" | ||
ignorecase: true | ||
level: error | ||
swap: | ||
"navbar": "Main Menu" | ||
"nav bar": "Main Menu" | ||
"user dropdown": "User Menu" | ||
"nested navbar": "<feature> Menu" | ||
"nested nav bar": "<feature> Menu" | ||
"three dots": "three-dot Menu" | ||
"dropdown menu": "drop-down Menu" |