Show whose accounts a profile's agents use

Aperta
#288 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
desktop

Direzione di ricerca

Start by reading the profile picker and profile settings code that display the current account label, then trace how GET /api/profiles responses and failed entries are parsed. Check the service profile list fixtures and add coverage for machine_user, own, and failed entries without accounts. Done means both views show plain words for the known values and show nothing for unknown, null, or absent values.

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

Descrizione

What

Show, for each profile, whose accounts its agents use, from the Backbone service's own accounts field.

Why

#274 removes the app's old profile kinds. Today every served profile is labelled "your own sign-ins", which is not always true. With the kinds gone, the app no longer says whose CLI and GitHub accounts a profile's sessions use.

The service already reports this:

  • A served profile's entry in GET /api/profiles (the fields of its discovery file) carries accounts.
  • A profile the service could not serve carries accounts when its settings could be read, and null otherwise.
  • Values: machine_user (the accounts in the machine user's home directory), own (the profile's own, kept in its directory) and unknown. Values are only ever added, and a value the app does not know reads as unknown.

Acceptance

  • The profile picker and the profile's settings show whose accounts the profile uses, in plain words, for machine_user and own.
  • unknown, an unknown value or an absent field shows nothing; the app never shows the raw value.
  • Tested against fixtures of the service's profile list, including a failed entry without accounts.

Depends on #274.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
4h 30m
PR unite (30g)
193

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eandualem/agent-interface

Tutte le issue di eandualem/agent-interface

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.