frankmarra / DLCM

0 stars 0 forks source link

started to implement statistics for releases #181

Closed frankmarra closed 11 months ago

frankmarra commented 1 year ago

This PR is going to add the statistics view to each release card for pro subscribers.

Upon click on the stats button, it will open up a dialog that will provide you with a view showing various stats about the release. How many codes have been uploaded, redeemed, etc.

There will also be filter buttons to view this info on a chart, mainly past redemptions. Will have options such as 'codes redeemed today', 'yesterday', 'this week', 'last week', etc.

Will continue to update this as more features are thought of and implemented.

netlify[bot] commented 1 year ago

Deploy Preview for unrivaled-pie-1255ea ready!

Name Link
Latest commit 32c7328470944213c81726ad71d805b88526d27a
Latest deploy log https://app.netlify.com/sites/unrivaled-pie-1255ea/deploys/65308082d077130008f46917
Deploy Preview https://deploy-preview-181--unrivaled-pie-1255ea.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

frankmarra commented 11 months ago

DLCM.app stats and favicon testing This testing is for the new stats that we will be implementing for paid users, as well as looking at an issue that was causing favicons to 404.

Favicon test Problem: On public profile and release pages, I have been seeing 404 errors for favicons. I believe this is also one of the things contributing to our high function count in Netlify. Screen Shot 2023-10-08 at 10 10 24 PM Screen Shot 2023-10-08 at 10 10 35 PM

It looks like its searching for the favicon in the wrong place. I think I fixed it on the deploy preview I sent you, but on prod, it is giving the 404.

In the console, look for any errors. If there is an error, please copy and paste it at the end of this document for review.

With dev tools still open, click on the network tab and look for any errors. The text for these will be red. Copy and paste at the end of this document for review.

Click on a few releases and check for the same things on the release page.

Stats testing Go to your dashboard. Each release will now have a stats button. Click on a stats button for a release.

Open dev tools (option + cmd + J), and navigate to the network tab. Click on the circle with the line through it to clear the console. Screen Shot 2023-10-08 at 5 08 30 PM

Once the dev tools are open, click on a few of the different stats time periods. You will see the network section populate. It should have a name that starts with β€˜codes?select=’. Please write down the value in the size column. I have been seeing this to be about 400 - 500 B(ytes).

hexagoncircle commented 11 months ago

I understand this is a work in progress, but I don't find it very useful without a visual way to compare code redemption across time.

Total
Today 2
Yesterday 8
Last 7 days 24
Last 14 days 50
Last 30 days 95
image