coder / coder/internal

Return `connected` pill to evaluate activity refactor

Open
#192 3 comments 0 reactions 0 assignees View on GitHub
design needed
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We need to bring back the `connected` pill on the workspace page to evaluate the consistency of activity reporting.

![connected](https://github.com/user-attachments/assets/253ea5a2-90f7-48e6-95f5-24c523a4757a)

Previously, it always showed `connected` as opening a workspace in the dashboard was recorded as user activity. When returned, it should only report user activity as outlined in the [internal RFC](https://www.notion.so/coderhq/Definitions-of-Workspace-Usage-Autostop-Dormancy-e7fa8ff782a948c19bbe4ef8315c26cb):

Actions qualifying as usage:
- Starting, stopping, or restarting a workspace,
- Accessing a `coder_app` running inside a workspace through the Web UI (e.g. `code-server` or Web Terminal),
- Connecting to a workspace via `coder ssh`
- Connecting to an application inside the workspace via `coder port-forward`, or via shared port.

---

We will associate the pill with the workspace activity refactor experiment (currently enables the feature, should revert the feature before 2.15 release).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.