Repository navigation
Description
Credit to @coadler for distilling this issue from customer feedback.
Problem statement
The General deployment settings page (dev link) contains a graph of daily active users across the deployment. This graph is purely intended to measure the adoption of the product within an organization and summarize user activity. Here's what this graph looks like in our dogfood deployment:
However, for enterprise deployments with a license cap, a "user limit" bar appears at the top. This misleads admins into thinking this is a way to gauge license usage over time and judge whether expansion/contraction is necessary:
The (?) tooltip doesn't clarify the purpose of this graph to admins either, simply explaining how activity is calculated:
This ambiguity is a problem for administrators. To summarize
- The graph is only titled Active Users , which is also the terminology we use for license seats
- Nothing mentions this being DAU, except for hovering over a data point. The tool tip only explains what a user needs to do to be considered active
- The user limit bar on the top to me implies that this is connected to license usage
Proposal
We should clarify that this graph is purely to measure concurrent user activity.
Requirements:
Must have:
- Clearly display this as Daily Active Users
- Remove the user limit bar at the top for licensed deployments
- Explain in the tooltip that this is for measuring user activity and has no connection to license consumption
Should have:
- Add a new "Registered Users" chart as the first graph on the top with the upper limit bar, with the existing active users graph below it with no upper limit bar
Nice to have:
- On the registered users graph, overlay "suspended" and "dormant" users. We may want to be careful here since SCIM creates a ton of initial dormant users who never log in so we would want to filter those out and only have dormant users who logged in.
- Change Daily Active Users to configurable by day, week, and month just like template insights. Weekly is much more useful IMO



Activity
matifali commentedon Oct 31, 2024
Instead of calling it licensed utilization chart, I suggest we call registered users count graph. It's helpful to know how the total registered users go over time on both OSS and licensed deployments.
We can put a horizontal line to indicate the limit for licensed deployments.
bpmct commentedon Oct 31, 2024
I just added these to this issue as should have and nice to have. We want to remove the confusion quickly, but if the should haves are relatively easy we get to do that now too. If it is more difficult, we can extract to a separate issue.
I totally agree that with just the should have, many users may still confuse that chart as utilization and registered users would be a very useful chart.
bpmct commentedon Oct 31, 2024
@BrunoQuaresma do you think it is possible to do the "must have" part at least before the release? The "should have" can follow after the release as subsequent PRs?
BrunoQuaresma commentedon Oct 31, 2024
@bpmct sure thing. I just would need the copy for the "Explain in the tooltip that this is for measuring user activity and has no connection to license consumption".
BrunoQuaresma commentedon Oct 31, 2024
Since we are touching on this part of the UI, I think would be nice to have some thoughts from @chrifro on how to better display this data to the user.
matifali commentedon Oct 31, 2024
This should be on
/deployment/generalpage right?stirby commentedon Oct 31, 2024
I don't think we need much redesign, we can use the existing graph component for "registered users" IMO.
BrunoQuaresma commentedon Oct 31, 2024
We said the same about the forgot password 😆 I would like to have @chrifro decide.
23 remaining items
stirby commentedon Dec 18, 2024
Keeping open until we have a new time series graph for license utilization.
SasSwart commentedon Dec 19, 2024
Latest mockup for the next iteration:

Notes:
SasSwart commentedon Jan 3, 2025
Status update:
Backend work up for review:
#16019
Frontend work WIP, but visible here:
https://github.com/coder/coder/pull/15893/commits/494f1651ed6b4fe2eb3caa4159c87413[…]ilters%5B%5D=.ts&file-filters%5B%5D=.tsx&show-viewed-files=true
feat(coderd/database): track user status changes over time (#16019)
SasSwart commentedon Jan 13, 2025
Status update. Changes have been merged that allow the database and backend to support this feature. A frontend PR is ready, but designs have since shifted and some more work on the frontend is required. To my knowledge, @BrunoQuaresma has agreed to support here. I've co-assigned him to the issue.
mtojek commentedon Jan 13, 2025
@SasSwart @BrunoQuaresma Can you describe the scope of remaining changes for transparency purposes? Unless they are documented somewhere else.
BrunoQuaresma commentedon Jan 13, 2025
The design has been updated and should now follow the design outlined here.
chore: add Select component (#16121)
chore: add Chart component (#16118)
bartekgatzcoder commentedon Jan 16, 2025
The General page is going to use the old API, but we rename the series on the UI to unconfuse the users. We also add additional explanation box.
The new API that Sas created is for the License page. In scope of the discussion we decided to use only the "Active Users" series from the API, so the "dormant" and "suspended" users will not be displayed. But the active users there are in fact the "users consuming the license seats" which is different from the "General page", where we show the daily user engagement.
To sum up: