fix(stats): stabilize Top6 version badges and fix Excel version display [skip release]
- replace rank-based p{idx}_version usage with per-post static version badge generation
- set Export to Excel version badge to v0.3.7 in home README and README_CN
This commit is contained in:
@@ -29,7 +29,7 @@ A collection of enhancements, plugins, and prompts for [OpenWebUI](https://githu
|
||||
| 🥉 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) |  |  |  |  |
|
||||
| 4️⃣ | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) |  |  |  |  |
|
||||
| 5️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 6️⃣ | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) |  |  |  |  |
|
||||
| 6️⃣ | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) |  |  |  |  |
|
||||
|
||||
### 📈 Total Downloads Trend
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ OpenWebUI 增强功能集合。包含个人开发与收集的插件、提示词
|
||||
| 🥉 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) |  |  |  |  |
|
||||
| 4️⃣ | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) |  |  |  |  |
|
||||
| 5️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 6️⃣ | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) |  |  |  |  |
|
||||
| 6️⃣ | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) |  |  |  |  |
|
||||
|
||||
### 📈 总下载量累计趋势
|
||||
|
||||
|
||||
@@ -1263,9 +1263,11 @@ class OpenWebUIStats:
|
||||
dl_cell = self.get_badge(f"p{idx}_dl", stats, user, delta, is_post=True)
|
||||
vw_cell = self.get_badge(f"p{idx}_vw", stats, user, delta, is_post=True)
|
||||
|
||||
# 版本号使用动态 Shields.io 徽章
|
||||
ver_badge = self.get_badge(
|
||||
f"p{idx}_version", stats, user, delta, is_post=True
|
||||
# 版本号使用静态 Shields.io 徽章,避免按排名位次 badge 产生错位
|
||||
ver = post.get("version", "N/A") or "N/A"
|
||||
ver_color = "blue" if post.get("version") else "gray"
|
||||
ver_badge = (
|
||||
f""
|
||||
)
|
||||
|
||||
# 更新时间使用静态 Shields.io 徽章
|
||||
|
||||
Reference in New Issue
Block a user