Closed eryc-cc closed 2 years ago
@bdougie @chadstewart
What kind of data are we looking to show on reports? Is it granular data? Is it an expanded version of the Dashboard?
Should we wait for DigitalOcean to tell us what they need to be reporting, so we can implement what they need?
We will need to design for two options. The first is
This will more likely be shareable infographics similar to the octoverse. For this we will provide our opinions and only 1 or 2 options.
side note: I grabbed the url oss.fyi to potentially make that the short URL for the shareable infographics.
Ok, here is my thought. We can leverage the above to provide an SQL builder similar to Supabase (pictured below).
The thought is that we can let you generate your own CSVs, but provide some templates to get started. Let me know your thoughts @pixelsbyeryc
This might mean the info graphics are one-off and non-editable queries, but folks could potentially start there.
@bdougie I have some other questions:
In terms of the UI and the flow, how should we approach it?
Hopefully this is helpful and not more confusing.
@bdougie from Slack:
to start, we want contributions grouped by contributor.
There is a natural timeout in SQL, so the limit would be 10k rows (or similar). We should probably encourage folks to narrow thee repos or data in a tool tip or warning.
I’m thinking about the flow of the page… Should it be:
Is it on-demand, like PayPal does (screenshot below)?
In this case, we would need to store the PDF/CSV they requested, and show a list of previous exports in the UI, right?
And it’d be best to indicate whether they can generate reports or not, based on their rate limit (eg: they just clicked to export, so they can’t generate new reports until their current report has done processing)
I just double checked and it's 1000 rows not 10k limitation. Just an fyi. It seemed high so I double checked.
1000 is also supabase limit atm
Quick follow up. I spoke with Terrence today and he mentioned that we will receive a raw postgres URL that we can pass to SQL queries. Basically this mean that we can generate reports on just about anything we have data for. So we are in moving in the right direction by eventually providing a custom SQL editor.
I think we will provide this feature to only paying customers. Custom SQL scripts will be a higher paid feature, mainly because we will provide them dedicated indexing (every minute, but we will see when we get there).
@bdougie @chadstewart
I have 3 screens for the reports, let me know if I need any others.
Here's the thought process:
I think this is a good first pass. Here are my initial thoughts.
For these "Contributor insights," reminder this is what we are providing.
For these "Contributor insights," reminder this is what we are providing.
- Contributor growth over time (up or down)
- New contributors over time
- Contributions from org members vs outside contributors
I created new issues... We need to scope the information we want to show on our PDF Reports, and then design them:
When we say “contributor growth over time”, how much time are we scoping? Last 30 days? Last 90 days?
I think we should limit all results to 30days or MTD (month to date starting with the 1st of the month)
For now (because scope) no customer date picker or further options.
Okay @bdougie I'll get it polished for tomorrow. 🙏
According to a conversation me and @bdougie had, we're going to ship 2 versions of the Reports Page:
Ideal:
What we want to be able to do:
To scope: