-
Notifications
You must be signed in to change notification settings - Fork 887
Insights: Show weekly active users instead of daily #9495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I agree. WAU is a better indication of usage. If we go with this, our default views will change. The X-axis becomes weeks and we should show at least previous ten weeks. Currently, we are only showing data from the last 30 days. |
In the design and FE part, this is not very challenging but it can be for the BE. cc.: @mafredri |
We currently support I would suggest making the interval selection automatic based on the selected time range, not template creation. There is, however, a question of how to represent/request the data when the user has selected 2 weeks + 2 days, this may be an inherent problem with "intelligent" selection of interval. I think when the interval is set to week, a user should only be allowed to select increments of 7 days. |
I'm working on this now 👍
I agree, it could be caught as a simple precondition at request validation. |
@BrunoQuaresma |
To accommodate this I see the following tasks that can take quite long:
|
|
If it is not the previous Thursday, what should be displayed? |
@BrunoQuaresma, I do not understand. It may also depend on how the stats are aggregated.
|
wondering if it would not make the user think it is about that day specifically |
We could show Monday for the axis and Monday - Sunday on hover? |
Idk, having multiple Mondays on the x-axis sounds... confusing. Something like "1 - 8" would not be better? Wondering which other apps aggregate data like this so we could use them as reference. |
@BrunoQuaresma We are not showing the date we show the date on that day |
I'm very confused about this haha. Can you please mock something on Figma or any other image editor to show me how you are visualizing this? I think it will be just easier this way |
To be honest, for me the most logical thing would be to display the start date on the graph axis. E.g. if it's last weeks Monday to this Monday, we'd show |
@BrunoQuaresma something like |
@BrunoQuaresma posted this on slack:
I'm going to take a look at this today. |
@BrunoQuaresma I did a bit of QA work around this implementation, and found following problems:
![]()
![]() |
Background
Coder has a "template insights" page and a "deployment insights" page, both of which show the number of daily active users. For the deployment, this is calculated by users who perform any API request (e.g. visiting the dashboard, connecting to workspace, viewing the users list, etc). For the template, this is calculated by any users who establish a connection to their workspace (e.g. SSH, opening code-server, connecting with VS Code Remote).
Both views show DAU (daily active users), which is a good metric, but not the best metric for measuring how many people are actively using a development platform. Here's why:
Product Requirements
Must have
By default, the deployment insights page shows weekly active usersShould have
Nice to have
The text was updated successfully, but these errors were encountered: