Restore quick delete action in the sessions view
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### Describe the feature or problem you'd like to solve
The sessions list used to support deleting a session directly from the list (a quick delete/keyboard action on the highlighted row). That option is gone, and there is now no good way to delete sessions.
### Proposed solution
• Re-add a delete action in the sessions view that operates on the highlighted session without opening it (e.g. d or Del key, with a confirmation prompt).
• Support deleting multiple sessions in one pass (multi-select, or stay in the list after each delete).
• Deleting from the list should not create a new session; the user should remain in the sessions view with the deleted entry removed.
### Example prompts or workflows
_No response_
### Additional context
The only remaining path is /session delete , which has two significant problems:
1. It requires opening a session first. You must resume/enter a session before you can delete it, so cleaning up several stale sessions means repeatedly opening sessions you have no interest in.
2. It spawns a replacement session. After deleting, the CLI immediately creates a brand-new session. So deleting N sessions leaves you with N new empty sessions to clean up, which is extremely frustrating.
Guia de contribuição
Direção de pesquisa
Comece rastreando a visualização de sessões e o comando existente `/session delete`, especialmente como a linha destacada, as ações do teclado, a confirmação e a criação de sessões são tratadas. Verifique primeiro o fluxo de exclusão atual. Considera-se concluído quando uma ou mais sessões destacadas são excluídas da lista, sem abri-las nem criar sessões substitutas, e o usuário permanece na visualização de sessões.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100