chore: replace ➡️ with 🔀 to align the words (#1595)

* remove unexpected extra space before Path Items

Signed-off-by: arkbriar <arkbriar@gmail.com>

* Use 🔀 instead of ➡️

Signed-off-by: arkbriar <arkbriar@gmail.com>

* chore: add a changeset

---------

Signed-off-by: arkbriar <arkbriar@gmail.com>
Co-authored-by: Lorna Mitchell <lorna.mitchell@redocly.com>
This commit is contained in:
ArkBriar
2024-06-21 17:40:08 +08:00
committed by GitHub
parent ed848cd61b
commit 9456460f77
7 changed files with 14 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
---
"@redocly/cli": patch
---
Replace path items emoji with 🔀 so the width is consistent.

View File

@@ -91,7 +91,7 @@ Document: openapi.yaml stats:
📈 Schemas: 1
👉 Parameters: 0
🔗 Links: 0
➡️ Path Items: 2
🔀 Path Items: 2
👷 Operations: 2
🔖 Tags: 0

View File

@@ -23,7 +23,7 @@ exports[`E2E stats stats should produce correct JSON output 1`] = `
"total": 0
},
"pathItems": {
"metric": "➡️ Path Items",
"metric": "🔀 Path Items",
"total": 5
},
"operations": {

View File

@@ -8,7 +8,7 @@ exports[`E2E stats stats should produce correct Markdown format 1`] = `
| 📈 Schemas | 22 |
| 👉 Parameters | 6 |
| 🔗 Links | 0 |
| ➡️ Path Items | 5 |
| 🔀 Path Items | 5 |
| 👷 Operations | 8 |
| 🔖 Tags | 3 |

View File

@@ -9,7 +9,7 @@ Document: museum.yaml stats:
📈 Schemas: 22
👉 Parameters: 6
🔗 Links: 0
➡️ Path Items: 5
🔀 Path Items: 5
👷 Operations: 8
🔖 Tags: 3

View File

@@ -93,7 +93,7 @@ Document: museum.yaml stats:
📈 Schemas: 23
👉 Parameters: 6
🔗 Links: 0
➡️ Path Items: 5
🔀 Path Items: 5
👷 Operations: 8
🔖 Tags: 3
@@ -131,7 +131,7 @@ An example of the format is shown in the following example:
"total": 0
},
"pathItems": {
"metric": "➡️ Path Items",
"metric": "🔀 Path Items",
"total": 5
},
"operations": {
@@ -160,7 +160,7 @@ It uses a table format; there are examples of the source and the formatted outpu
| 📈 Schemas | 23 |
| 👉 Parameters | 6 |
| 🔗 Links | 0 |
| ➡️ Path Items | 5 |
| 🔀 Path Items | 5 |
| 👷 Operations | 8 |
| 🔖 Tags | 3 |
```
@@ -172,7 +172,7 @@ It uses a table format; there are examples of the source and the formatted outpu
| 📈 Schemas | 23 |
| 👉 Parameters | 6 |
| 🔗 Links | 0 |
| ➡️ Path Items | 5 |
| 🔀 Path Items | 5 |
| 👷 Operations | 8 |
| 🔖 Tags | 3 |

View File

@@ -23,7 +23,7 @@ const statsAccumulator: StatsAccumulator = {
schemas: { metric: '📈 Schemas', total: 0, color: 'white' },
parameters: { metric: '👉 Parameters', total: 0, color: 'yellow', items: new Set() },
links: { metric: '🔗 Links', total: 0, color: 'cyan', items: new Set() },
pathItems: { metric: '➡️ Path Items', total: 0, color: 'green' },
pathItems: { metric: '🔀 Path Items', total: 0, color: 'green' },
operations: { metric: '👷 Operations', total: 0, color: 'yellow' },
tags: { metric: '🔖 Tags', total: 0, color: 'white', items: new Set() },
};