Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroslavPodorvanov committed Jan 31, 2024
1 parent a45e483 commit 3508e0c
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 7 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,30 @@ FROM (
) AS time
) AS g;
```

### Stats
```sql
SELECT DATE_TRUNC('MONTH', time) AS month,
COUNT(*) AS views,
COUNT(DISTINCT (user_id)) AS users
FROM profile_hourly_views_stats
GROUP BY 1
ORDER BY 1;

```
| Month | Views | Users |
|------------|-------|-------|
| 2023-01-01 | 15 | 3 |
| 2023-02-01 | 438 | 18 |
| 2023-03-01 | 951 | 32 |
| 2023-04-01 | 1110 | 36 |
| 2023-05-01 | 2191 | 43 |
| 2023-06-01 | 3433 | 57 |
| 2023-07-01 | 3331 | 54 |
| 2023-08-01 | 4539 | 69 |
| 2023-09-01 | 4519 | 77 |
| 2023-10-01 | 4473 | 78 |
| 2023-11-01 | 4919 | 96 |
| 2023-12-01 | 5525 | 115 |
| 2024-01-01 | 11130 | 231 |

2 changes: 1 addition & 1 deletion internal/templates/v2/instruction.qtpl
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
</div>
<div class="step__view">
<h2 class="step__title">
View and analyze view statistics for your GitHub profile
View and analyze views statistics for your GitHub profile
</h2>
<div class="step__subtitle">
You can also see referral registration statistics from your profile
Expand Down
2 changes: 1 addition & 1 deletion internal/templates/v2/instruction.qtpl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/templates/v2/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

const (
appVersion = 1
appVersion = 2
)

type ProfileView struct {
Expand Down
2 changes: 1 addition & 1 deletion public/design/v2/index-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ <h4 class="step-4__popular-title">
</div>
<div class="step__view">
<h2 class="step__title">
View and analyze view statistics for your GitHub profile
View and analyze views statistics for your GitHub profile
</h2>
<div class="step__subtitle">
You can also see referral registration statistics from your profile
Expand Down
2 changes: 1 addition & 1 deletion public/design/v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ <h4 class="step-4__popular-title">
</div>
<div class="step__view">
<h2 class="step__title">
View and analyze view statistics for your GitHub profile
View and analyze views statistics for your GitHub profile
</h2>
<div class="step__subtitle">
You can also see referral registration statistics from your profile
Expand Down
2 changes: 1 addition & 1 deletion public/design/v2/profile-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ <h4 class="step-4__popular-title">
</div>
<div class="step__view">
<h2 class="step__title">
View and analyze view statistics for your GitHub profile
View and analyze views statistics for your GitHub profile
</h2>
<div class="step__subtitle">
You can also see referral registration statistics from your profile
Expand Down
2 changes: 1 addition & 1 deletion public/design/v2/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ <h4 class="step-4__popular-title">
</div>
<div class="step__view">
<h2 class="step__title">
View and analyze view statistics for your GitHub profile
View and analyze views statistics for your GitHub profile
</h2>
<div class="step__subtitle">
You can also see referral registration statistics from your profile
Expand Down

0 comments on commit 3508e0c

Please sign in to comment.