parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.39k forks source link

"At a glance" total user metric always displays "-" #2502

Closed theolundqvist closed 7 months ago

theolundqvist commented 1 year ago

New Issue Checklist

Issue Description

The metric at the "apps" dashboard always shows a "-" on both total users and total installations: image

I have a class called "_User" per the default with one user in right now on the testing DB. I have tried to search for anyone else having this issue but could not find any. Also tried going through the source code but did not find a solution. Have I missed a config setting or is it a bug?

Steps to reproduce

This is my config. Database has the default "_User" class. On the readme the dashboard prints total users: 0

const config = {
  apps: [
    {
      serverURL: env.publicServerURL,
      appId: env.appId,
      masterKey: env.masterKey,
      readOnlyMasterKey: env.readOnlyMasterKey,
      appName: env.appName,
      supportedPushLocales: ["en"],
      production: env.DB == "prod",
      iconName: "SuitClubs.svg",
    },
  ],
  users: [
    {
      user: "master",
      pass: env.dashWritePass,
    },
    {
      user: "moderator",
      readonly: true,
      pass: env.dashReadOnlyPass,
    },
  ],
  iconsFolder: "icons",
};

Actual Outcome

total users: -

Expected Outcome

total users: 1

Environment

Dashboard

Server

Database

Logs

Did not find any relevant logs.

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

parseplatformorg commented 7 months ago

🎉 This change has been released in version 5.4.0-alpha.6

parseplatformorg commented 4 months ago

🎉 This change has been released in version 6.0.0-beta.1