parse-community / parse-dashboard

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

Use Analytics Adapter to populate Analytics Tab #1331

Open mrmarcsmith opened 5 years ago

mrmarcsmith commented 5 years ago

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.

mrmarcsmith commented 5 years ago

@douglasmuraoka @davimacedo @alencarlucas are any of you guys interested in teaming up for this? I’ve got the Parse Server side if you can help with dashboard.

zanderisrael commented 4 years ago

I'm new to this project but I can try and help, is A-C ready for me to work with?

mrmarcsmith commented 4 years ago

Hi @zanderisrael nope! There was no point without someone to help with D. Dashboard.

zanderisrael commented 4 years ago

Ok, so keep me posted, im ready :)

pmmlo commented 2 years ago

@mrmarcsmith Does anybody have an updated link to the conversation? Or, does anybody have a copy or can recount the thread? Couldn't find anything cached in wayback.