coder / coder/internal

Return `connected` pill to evaluate activity refactor

Aperta
#192 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
design needed
Lingua principale
Nessun dato sulla lingua
Stelle
3
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start with the workspace page and the existing activity refactor experiment, then read the linked internal RFC for the qualifying usage actions. Find the previous `connected` pill implementation and verify that the pill returns while only the listed workspace and connection actions report activity.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
full-stack
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.