parse-community / parse-community/parse-dashboard

Use Analytics Adapter to populate Analytics Tab

Open
#1,331 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
JavaScript
Stars
3.8k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I have already read #1031 and this conversations on the community forum. This proposed solution is a simple and universal way to make the Analytics Tab usable with parse dashboard while keeping in step with the direction of the Parse Community.

For this example I will use reading the "AppOpened" Analytics event.

  1. Parse-Dashboard calls GET (not POST) on "/parse/events/AppOpened" on Parse Server (requires master key).

  2. Parse Server then calls the new optional functions "getEvent(){}" or "getAppOpened(){}" on the Analytics Adapter passing the params from the request.

  3. The Analytics Adapter then queries its "raw data source" source using the params from the request (Google Analytics or Mixpanel or even a Mongo instance).

  4. The Analytics Adapter translates the "raw source" data into a universal response object used by Parse Dashboard to display pretty graphs.

This is going to require modifications to
A. Parse REST Docs (adding the "GET")
B. Parse Server
C. Any desired Analytics Adapter
D. Parse Dashboard

I'm able to do A, B, and C but I would struggle in the react native for the parse dashboard. is there anyone willing to help me with the modifications required for parse dashboard? From what I saw most of it is already written from the old Parse days and we just need to uncomment it and work to inject data into it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #1031 and the linked community discussion, then trace the Analytics Tab and the proposed GET /parse/events/AppOpened flow across the REST docs, Parse Server, Analytics Adapter, and dashboard. Done means the dashboard can receive the adapter's universal response and display analytics data while the endpoint and adapter changes remain compatible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
analytics, api, documentation, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.