[Bug]: Settings → Projects → All projects no longer shows Actions, so machine-wide default actions can't be edited

Aperta Adatta ai principianti
#32,519 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
desktop, frontend

Direzione di ricerca

Inizia in apps/web, nella pagina delle impostazioni dei progetti, e confronta la vista «Tutti i progetti» con quella di un singolo progetto, in cui attualmente viene visualizzato Actions. Leggi la gestione di defaultProjectScripts e le modifiche correlate in #9754 e #6523. Il lavoro è terminato quando gli utenti possono aggiungere e modificare azioni predefinite a livello di macchina in «Tutti i progetti» e i progetti senza una sovrascrittura continuano a ereditarle.

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

Descrizione

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open Settings → Projects.
  2. Set the "Project scope" picker to All projects.
  3. Look for the Actions section to add an action that applies to every project.
Expected behavior

With All projects selected, the page shows an Actions section that edits the machine-wide default actions (defaultProjectScripts), as introduced in #9754 ("All projects edits machine-wide defaults"; screenshot "all projects defaults"). Projects without their own action list then inherit these defaults. This is also how #6523 (user-level actions for every project) was resolved.

Actual behavior

With All projects selected, the page only shows "Choose a project to manage its name, icon, checkouts and actions." There is no Actions section and no "Add action" button. The Actions section only renders inside the single-project view.

The setting itself still exists and is still resolved: the client resolver falls back to settings.defaultProjectScripts when a project has no override, and the settings search entry "Actions" still points to /settings/projects. So the machine-wide default is still used at runtime, but there is no UI left to create or edit it. The only way to set it is to hand-edit ~/.t3/userdata/settings.json.

Users who run the same actions in many projects now have to recreate them per project.

Impact

Major degradation or frequent failure

Version or commit

0.1.8-nightly.20261105.4218 (desktop, nightly channel)

Environment

macOS 27.2, T3 Code desktop app (Nightly)

Workaround

Add each action per project via Settings → Projects → (pick a project) → Actions → Add action, or hand-edit defaultProjectScripts in settings.json.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
10h 38m
PR unite (30g)
130

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.