Change default display mode name to detailed for achievements

This commit is contained in:
lowlighter
2021-08-12 20:46:15 +02:00
parent 2b555e5f73
commit 8f49d1076a
4 changed files with 13 additions and 9 deletions

View File

@@ -199,10 +199,12 @@ And you can customize these heavily with plugins, templates and hundreds of opti
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
<td align="center"> <td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.svg"> <details open><summary>Compact display</summary>
<details><summary>Compact display</summary>
<img alt="" width="400" src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.compact.svg"> <img alt="" width="400" src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.compact.svg">
</details> </details>
<details open><summary>Detailed display</summary>
<img alt="" width="400" src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.svg">
</details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</tr> </tr>
@@ -422,7 +424,7 @@ Choose `📊 Metrics embed` if you want to customize your GitHub profile and `
### 🐙 Features ### 🐙 Features
* Create infographics from **34 plugins**, **4 templates** and **197 options** * Create infographics from **34 plugins**, **4 templates** and **198 options**
* Even more **customization** with [community templates](source/templates/community) or by [forking this repository](https://github.com/lowlighter/metrics/network/members) and editing HTML/CSS/EJS * Even more **customization** with [community templates](source/templates/community) or by [forking this repository](https://github.com/lowlighter/metrics/network/members) and editing HTML/CSS/EJS
* Support **users**, **organizations** and even **repositories** * Support **users**, **organizations** and even **repositories**
* Transparent by default so it'll blend well whether light or dark mode is used * Transparent by default so it'll blend well whether light or dark mode is used

2
action.yml generated
View File

@@ -741,7 +741,7 @@ inputs:
# Achievements display style # Achievements display style
plugin_achievements_display: plugin_achievements_display:
description: Achievements display style description: Achievements display style
default: normal default: detailed
# Number of achievements events to display # Number of achievements events to display
# Set to 0 to disable limitations # Set to 0 to disable limitations

View File

@@ -4,10 +4,12 @@ The *achievements* plugin displays several highlights about what you achieved on
<table> <table>
<td align="center"> <td align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.svg"> <details open><summary>Compact display</summary>
<details><summary>Compact display</summary>
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.compact.svg"> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.compact.svg">
</details> </details>
<details open><summary>Detailed display</summary>
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.achievements.svg">
</details>
<img width="900" height="1" alt=""> <img width="900" height="1" alt="">
</td> </td>
</table> </table>

View File

@@ -35,10 +35,10 @@ inputs:
plugin_achievements_display: plugin_achievements_display:
description: Achievements display style description: Achievements display style
type: string type: string
default: normal default: detailed
values: values:
- normal # Normal display - detailed # Detailed display
- compact # Compact display (only icon, name and value are displayed) - compact # Compact display (only icon, name and value are displayed)
# Number of achievements events to display # Number of achievements events to display
# Set to 0 to disable limitations # Set to 0 to disable limitations