jackMort / jackMort/ChatGPT.nvim

enhancement: Selecting session history workflow

Open
#482 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

# Feature Request: Selecting Session History Quality of Life Improvement

## Description

When opening chat history, the focus should automatically shift to the sessions section. Upon selecting a session, the focus should return to the input area and optionally close the sessions list.

### Current Flow

1. Open the sessions panel
2. Navigate through the output panel to the session panel
3. Navigate back to the input
4. Close the session panel

This process is unnecessarily long and cumbersome.

### Proposed Improvement

- **Automatic Focus**: When opening chat history, the focus should automatically be on the sessions panel.
- **Refocus on Input**: After selecting a session, the focus should return to the input area.
- **Optional Closure**: Optionally, the sessions list should close after a session is selected.

This improvement aims to streamline the process and enhance user experience.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Locate the chat history entry point, sessions panel, session-selection handler, and input focus handling; done means opening history focuses the sessions panel, selecting a session returns focus to the input, and the list can optionally close.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.