Skip to content
New issue

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

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

Already on GitHub? # to your account

Info panel not showing when some apps miss infoPanel config #2623

Open
4 tasks done
mtrezza opened this issue Oct 29, 2024 · 1 comment · May be fixed by #2627
Open
4 tasks done

Info panel not showing when some apps miss infoPanel config #2623

mtrezza opened this issue Oct 29, 2024 · 1 comment · May be fixed by #2627
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Oct 29, 2024

New Issue Checklist

Issue Description

Info panel not showing when some apps miss infoPanel config, for example when dashboard config contains 2 apps, but only of the them has a infoPanel set. Adding at least an empty "infoPanel": [], show to all remaining apps solves the issue.

Steps to reproduce

parse-dashboard-config.json:

{
  "apps": [
    {
      "serverURL": "https://app1.example.com",
      "appId": "appId1",
      "masterKey": "masterKey",
      "appName": "app1",
      "infoPanel": [
        {
          "title": "User Details",
          "classes": ["_User"],
          "cloudCodeFunction": "user"
        }
      ]
    },
    {
      "serverURL": "https://app2.example.com",
      "appId": "appId2",
      "masterKey": "masterKey",
      "appName": "app2"
    }
  ]
}

Actual Outcome

Info panel should does not show for app1 or app2.

Expected Outcome

Info panel should show for app1 and not for app2.

Environment

Dashboard

  • Parse Dashboard version: 6.0.0-alpha.19
Copy link

parse-github-assistant bot commented Oct 29, 2024

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.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Oct 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant