Tubaleviao / tuba.work

Open website to develop projects
https://tuba.work
5 stars 7 forks source link

Show total number of visits on dashboard #6 #18

Closed pierrolabo closed 4 years ago

pierrolabo commented 4 years ago

Hello everyone 🤗,

I did a method on mongo.js that get each unique visitors from the visits collection. Each unique visitors are distincted based on their ip address.

It's shown as a span inside the dashboard, maybe it could be shown in the footer,your choice :)

Tubaleviao commented 4 years ago

@pierrolabo Thanks for your pull request, I just want you to take a look into something: there's a tab called "Files changed" in this page bellow the title. Go there and take a look at the changes you made. Probably your IDE changed most of those spaces and indentation rules when you saved and because of this I don't really know what you have done exactly. There are 800 lines changes and I'll not go over all of it just to find what you actually did. Please disable your IDE indentation defaults, make your changes again and gimme another PR if you feel like doing it. That will help me! (you can use git diff to see what have been changed before you commit)