Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
theolundqvist opened this issue Sep 27, 2023 · 4 comments · Fixed by #2528
Closed
4 tasks done

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

theolundqvist opened this issue Sep 27, 2023 · 4 comments · Fixed by #2528
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@theolundqvist
Copy link

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

  • Parse Dashboard version: 5.2.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Arc and Chrome
  • Browser version: latest, but also last 1-2 years while i've used parse on different configurations

Server

  • Parse Server version: 6.2.2
  • Operating system: macos Ventura 13.5.1
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local and fly.io and aws app runner and aws ec2

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: MongoDB Atlas prob. latest
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): MongoDB Atlas

Logs

Did not find any relevant logs.

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Feb 26, 2024
@parseplatformorg
Copy link
Contributor

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

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label May 16, 2024
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants