Skip to content

Conversation

@adriaandotcom
Copy link
Contributor

@adriaandotcom adriaandotcom commented Nov 11, 2025

Note

Adds a composable that fetches/caches the live user count and updates Capterra and signup pages to use it.

  • Composables:
    • composables/useUserCount.js: New composable that fetches userCount from DASHBOARD_URL/api/utils/total-users, caches for 5 minutes, provides fallback 30000, and exposes userCount (readonly) and fetchUserCount.
  • Frontend:
    • components/Capterra.vue: Replace static import with useUserCount; call fetchUserCount() on mount to show live count.
    • pages/signup/get-to-know-each-other.vue: Integrate useUserCount and fetch on mount to display live user count in copy.

Written by Cursor Bugbot for commit e0233f1. This will update automatically on new commits. Configure here.

@adriaandotcom adriaandotcom merged commit c9cde30 into main Nov 11, 2025
5 checks passed
@adriaandotcom adriaandotcom deleted the add-user-count branch November 11, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant