Skip to content

Commit

Permalink
Merge pull request #180 from hussaino03/develop
Browse files Browse the repository at this point in the history
Fixes #176: Analytics Dashboard
  • Loading branch information
hussaino03 authored Dec 21, 2024
2 parents 530ce66 + 050c6e1 commit 68a8da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/getUserCount.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ async function getUserCount() {
// Read file
let readme = await fs.readFile(readmePath, 'utf8');

// Update regex and replacement
const statsRegex = /!\[.*?\]\(https:\/\/img\.shields\.io\/badge\/.*?\)(?:\s*!\[.*?\]\(https:\/\/img\.shields\.io\/badge\/.*?\))?/;
const statsRegex = /!\[Current Authorized Users\].*?\) !\[Total User XP\].*?\)/;
const newBadges =
`![Current Authorized Users](https://img.shields.io/badge/Current%20Authorized%20Users-${userCount}-blue?logo=mongodb&logoColor=white) ` +
`![Total User XP](https://img.shields.io/badge/Total%20User%20XP-${totalXP.toLocaleString()}-red?logo=zap&logoColor=white)`;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# QuestLog

![Current Authorized Users](https://img.shields.io/badge/Current%20Authorized%20Users-204-blue?logo=mongodb&logoColor=white) ![Total User XP](https://img.shields.io/badge/Total%20User%20XP-309,896-red?logo=zap&logoColor=white)
![Current Authorized Users](https://img.shields.io/badge/Current%20Authorized%20Users-204-blue?logo=mongodb&logoColor=white) ![Total User XP](https://img.shields.io/badge/Total%20User%20XP-309,896-red?logo=zap&logoColor=white) ![Vercel Deploy](https://deploy-badge.vercel.app/vercel/smart-listapp)
<!-- These values update automatically every 1st and 15th of the month -->

QuestLog is a AI-powered gamified productivity platform that turns your tasks and projects into achievement-driven experiences. Built with React and MongoDB, it enhances work management through XP points, levels, and badges while integrating seamlessly with different app integrations!
Expand Down

0 comments on commit 68a8da2

Please sign in to comment.