feat: add new stats entry for March 2026 and update stats calculation logic
- Added a new stats entry for March 12, 2026, including total posts, downloads, views, upvotes, saves, followers, points, contributions, and detailed post statistics. - Updated the stats calculation logic in `openwebui_stats.py` to only count views for posts with actual downloads, excluding post and review types. - Introduced a new script `zed-ai-tabs.sh` for batch-launching and orchestrating multiple AI CLI tools as tabs, including a single-instance lock mechanism and automatic tool discovery.
This commit is contained in:
@@ -639,8 +639,8 @@ class OpenWebUIStats:
|
||||
stats["total_saves"] += post.get("saveCount", 0)
|
||||
stats["total_comments"] += post.get("commentCount", 0)
|
||||
|
||||
# Key: exclude post and review types from stats (only count plugins)
|
||||
if post_type not in ("post", "review"):
|
||||
# Key: only count views for posts with actual downloads (exclude post/review types)
|
||||
if post_type not in ("post", "review") and post_downloads > 0:
|
||||
stats["total_views"] += post_views
|
||||
if post_type not in stats["by_type"]:
|
||||
stats["by_type"][post_type] = 0
|
||||
|
||||
Reference in New Issue
Block a user