Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

GitHub inbox: make triage suggestion pills actionable buttons

Chiusa
#13,193 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@atomantic ci sta già lavorando.

Dal 23/10/2026.

  • #13230 di @atomantic — chiusa senza merge
  • #13232 di @atomantic — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area:devtools effort:medium enhancement model:light plan ux

Problem

Inbox rows show triage suggestions as passive pills: "Suggest Do:Review", "Suggest Untrusted:Review", "Suggest done", "Suggest mute", "Closed or merged", "Worth a look". To act on one, the operator has to hunt for the matching control (Done, the overflow menu, or the PR tab for Untrusted:Review), so the suggestion is not actionable where it is shown (DECISION_VIEW in client/src/components/github/githubTriageLabels.js, rendered by NotificationRow in GitHubInboxTab.jsx).

Decision

A suggestion pill becomes a button that performs its suggestion. Purely informational decisions stay pills.

Decision Button Does
suggest-review Do:Review Resolve with agent (do-review lane)
suggest-untrusted-review Untrusted:Review Resolve with agent (pr-reviewer lane)
suggest-done, suggest-mark-read, duplicate Mark done done action
suggest-mute Mute mute action
surface / surface-high (pill) Informational; Resolve with agent sits beside it
  • When the lane behind a button is refused (for example a Private account with agents off), the button is disabled and shows the existing AGENT_REFUSED_LABELS reason. It is not hidden.
  • Resolve with agent here uses the lane selection from #13191.
  • Each button keeps the text label (not color alone) and is a real <button> with at least 36px height, matching the row's other actions.
  • Acting from a suggestion goes through applyNotificationAction, so it is logged and, for done/mute, teaches the learned rule exactly as the plain buttons do.

Affected files

  • client/src/components/github/githubTriageLabels.js (a DECISION_ACTIONS map)
  • client/src/components/github/GitHubInboxTab.jsx (NotificationRow)
  • client/src/components/github/GitHubInboxTab.test.jsx (or the page test)

Acceptance criteria

  • Clicking "Mark done" on a suggest-done row issues the done action and removes the row from Needs you.
  • Clicking "Untrusted:Review" on a suggest-untrusted-review row calls the resolve route. When the plan is refused, the button renders disabled with the reason.
  • Informational decisions still render as non-interactive pills.

model:light / effort:medium: a mechanical client mapping over existing actions; medium effort for the refused/disabled states and the test matrix.

Lingua principale
JavaScript
Stelle
38
Fork
32
Merge medio
40m
PR unite (30g)
988

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 atomantic/PortOS

Tutte le issue di atomantic/PortOS

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.