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.
-
Parse-Dashboard calls GET (not POST) on "/parse/events/AppOpened" on Parse Server (requires master key).
-
Parse Server then calls the new optional functions "getEvent(){}" or "getAppOpened(){}" on the Analytics Adapter passing the params from the request.
-
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).
-
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.