Add detailed statistics page #74

Closed
opened 1 year ago by l0nax · 11 comments
l0nax commented 1 year ago

Context

Comment from a Chrome Web Store Review (link):

Please add a statistics page to demonstrate how many requests were redirect, how many requests per day (avg) and how much data has been saved for last 24hr, 7 days, 1 month and 1 year

It would be nice if there were a page where detailed statistics could be viewed.

Those statistics should be "categorizable" into the following few "categories":

  • No. of daily injections (avg)
  • No. of injections in the last 24h
  • No. of injections in the last 7 days
  • No. of injections in the last month
  • No. of injections in the last year

I will map the process/ answer then into the review page in the Chrome Web Store, so the requestor will get updated about the process (with the additinal link to the source repository, but I think this person doesn't know how to use it so I "manually" created this issue).

### Context Comment from a _Chrome Web Store Review_ ([link](https://chrome.google.com/webstore/detail/localcdn/njdfdhgcmkocbgbhcioffdbicglldapd)): > Please add a statistics page to demonstrate how many requests were redirect, how many requests per day (avg) and how much data has been saved for last 24hr, 7 days, 1 month and 1 year It would be nice if there were a page where _detailed_ statistics could be viewed. Those statistics should be "categorizable" into the following few "categories": * No. of daily injections (avg) * No. of injections in the last _24h_ * No. of injections in the last _7 days_ * No. of injections in the last _month_ * No. of injections in the last _year_ ----- <sub>I will map the process/ answer then into the _review page_ in the _Chrome Web Store_, so the requestor will get updated about the process (with the additinal link to the source repository, but I think this person doesn't know how to use it so I "manually" created this issue).</sub>

Also, showing the number of blocked queries, and what the CDN had the largest insert.

Also, showing the number of blocked queries, and what the CDN had the largest insert.
nobody added the
enhancement
label 1 year ago
Owner

Yeah, that's a good idea. 👍

Yeah, that's a good idea. 👍
nobody referenced this issue from a commit 1 year ago
nobody referenced this issue from a commit 1 year ago
nobody referenced this issue from a commit 1 year ago
nobody referenced this issue from a commit 1 year ago
nobody referenced this issue from a commit 1 year ago
Owner

Just a short preview:

For testing: Running the code as temporary extension

The link to the statistics page is at the bottom of the options.

Just a short preview: [<img src="https://www.localcdn.org/img/screenshots/screenshot9896.png" alt="" width="400"/>](https://www.localcdn.org/img/screenshots/screenshot9896.png) For testing: [Running the code as temporary extension](https://codeberg.org/nobody/LocalCDN/wiki/Running-the-code-as-temporary-extension) The link to the statistics page is at the bottom of the options.

Looks good so far!

Looks good so far!
nobody referenced this issue from a commit 1 year ago
nobody referenced this issue from a commit 1 year ago

@nobody Quantity sounds over-formal, would Count work better? :P
Edit: Or now that I think about it, Total would work even better.
Edit2: And maybe Statistics (plural) would work well.
Sorry for being pedantic! I'm trying my best to improve this awesome project :)

@nobody Quantity sounds over-formal, would Count work better? :P Edit: Or now that I think about it, Total would work even better. Edit2: And maybe Statistics (plural) would work well. Sorry for being pedantic! I'm trying my best to improve this awesome project :)
nobody referenced this issue from a commit 1 year ago
Owner

@btdmaster: Thanks for the feedback. Yesterday I removed the column header 'Quantity' and other changes. I don't know which is better, but I'm completely flexible. I know what the column contains. 😁

Sorry for being pedantic!

No problem. It's absolutely okay. 👍


A current screenshot (normal and dark mode)

@btdmaster: Thanks for the feedback. Yesterday I removed the column header 'Quantity' and other changes. I don't know which is better, but I'm completely flexible. I know what the column contains. :grin: > Sorry for being pedantic! No problem. It's absolutely okay. 👍 --- A current screenshot (normal and dark mode) [<img src="https://www.localcdn.org/img/screenshots/screenshot9897_dark.png" alt="" width="300"/>](https://www.localcdn.org/img/screenshots/screenshot9897_dark.png) [<img src="https://www.localcdn.org/img/screenshots/screenshot9897_light.png" alt="" width="300"/>](https://www.localcdn.org/img/screenshots/screenshot9897_light.png)
Poster

@nobody the statistics site looks great!

@nobody the statistics site looks great!
nobody referenced this issue from a commit 1 year ago
Owner

@l0nax Thanks for the feedback.


Everyone who is interested and wants to test can use the beta version. The XPI file is signed by Mozilla. Existing beta versions are updated automatically.

LocalCDN BETA v2.2.18.3


Maybe helpful: Tab Reloader (page auto refresh) by James Fray (addons.mozilla.org)

@l0nax Thanks for the feedback. --- Everyone who is interested and wants to test can use the beta version. The XPI file is signed by Mozilla. Existing beta versions are updated automatically. [LocalCDN BETA v2.2.18.3](https://codeberg.org/nobody/LocalCDN/releases/tag/v2.2.18.3) --- Maybe helpful: [Tab Reloader (page auto refresh) by James Fray](https://addons.mozilla.org/de/firefox/addon/tab-reloader/?src=search) (addons.mozilla.org)
nobody added the
help wanted
label 1 year ago

How about adding a link to the statistics in the popup?

How about adding a link to the statistics in the popup?
nobody referenced this issue from a commit 1 year ago
Owner

[<img src="https://www.localcdn.org/img/screenshots/screenshot9898_dark.png" alt="" width="300"/>](https://www.localcdn.org/img/screenshots/screenshot9898_dark.png) [<img src="https://www.localcdn.org/img/screenshots/screenshot9898_light.png" alt="" width="300"/>](https://www.localcdn.org/img/screenshots/screenshot9898_light.png)
nobody referenced this issue from a commit 1 year ago
nobody removed the
help wanted
label 1 year ago
Owner

🎉 LocalCDN v2.3.0 released 🎉

Thanks to all for the feedback! 👍 👍 👍

:tada: [LocalCDN v2.3.0](https://codeberg.org/nobody/LocalCDN/releases/tag/v2.3.0) released :tada: Thanks to all for the feedback! 👍 👍 👍
nobody closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.