Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Closing the only Sessions match hides the nothing-matches message

Ouverte
#1,473 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
75/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
go

Piste de recherche

Run make demo-home and reproduce the single-result filter case in Sessions. Inspect internal/tui3/place_sessions.go:1573 and the close-note assignment in internal/tui3/taskrowverbs.go:97, then find the filtered-place note test and add the one-result and multi-result cases. Done means the acknowledgement and no-match state are both visible, with the Sessions manual and invalidates updated if wording changes.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area:chat bug sev:papercut

Seen on dev@debffabf6. Surfaced while verifying #1425; introduced by it.

What happened

Closing the only task matched by a Sessions filter removes the row, but the place's action notice takes the line where nothing matches would appear. The body is blank, leaving no immediate account that the filter has no visible result.

Replication

Deterministic (no model). Run make demo-home, open Sessions, type a filter matching exactly one task, then close it. The list becomes blank and the note says task closed · find it by typing its name in tasks; nothing matches is absent. Clear the action notice and the expected no-match line returns.

Where

internal/tui3/place_sessions.go:1573 at dev@debffabf6, tasksPlace.note, returns actionNote before checking the empty filtered reading. The close action sets the note in internal/tui3/taskrowverbs.go:97.

The fix

Keep the close acknowledgement without suppressing the filter's no-match state, by giving them separate lines or combining them into one clear sentence.

Acceptance

  • e2e: closing the sole Sessions result shows both that the task closed and that the current filter matches nothing.
  • Unit: the filtered-place note test covers one-result closure and a multi-result control.
  • Update the Sessions manual if the wording changes and record the former blank state in invalidates.
Langage dominant
Go
Étoiles
115
Forks
14
Merge moyen
12 h 24 min
PR mergées (30 j)
310

Préparer son environnement

Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Agent-Field/CodeAF

Toutes les issues de Agent-Field/CodeAF

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.