ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] Left and Right Back Buttons for Accessing Edit History and Continuing Conversations at Desired Points

Open
#6,130 1 comment 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 🥰 Feature Description

Is it possible to add back button features to the left and right, which would be very useful when users need to navigate back to any desired point? This is a basic feature present on chatgpt.com, but "nexchat" lacks it. It seems that for "nexchat," it deletes and replaces the content immediately, which sometimes causes me to mistakenly edit parts of the content editor incorrectly, resulting in previous questions and answers disappearing immediately and being unrecoverable, which happens to me frequently.

Additionally, I have noticed that when users have extensive conversation histories and scroll up to edit content at the top and then press "Confirm," it creates a new answer. However, why doesn't it clear the chat history below like 'chatgpt.com'? It shouldn't function this way.

### 🧐 Proposed Solution

1. **Implement Navigation (Back Button) Features:**
- **Dual-Side Back Navigation:** Add persistent “back” buttons on both the left and right sides of the interface. These should allow users to jump back to any previous point in the conversation history.
- **State Preservation:** Instead of immediately deleting or replacing content when navigating, the system should save the current state so that users can recover or review previous interactions without data loss.

2. **Revise the Behavior of Editing Historical Content:**
- **Editing and Confirmation Workflow:** When a user scrolls up to edit an earlier part of the conversation and then confirms the changes, the system should update that specific message and adjust the conversation history accordingly.
- **Consistent History Management:** Rather than appending a new answer at the bottom, the system should replace or modify the existing content. This ensures that the history below the edited section is either cleared or updated to reflect the new context, similar to how chatgpt.com handles conversation revisions.

This approach would prevent accidental loss of data, provide intuitive navigation through the conversation history, and ensure that any edits are integrated seamlessly without fragmenting the dialogue.

![Image](https://github.com/user-attachments/assets/b15f6f39-1e5b-449e-9b51-e13246b0dbd4)

When a user clicks the edit button to create a new response, the conversation history below should be cleared. However, the top section will remain intact when the user chooses to edit content between the upper and lower sections.
![Image](https://github.com/user-attachments/assets/8fdb239c-ace6-482e-b897-916531b965f7)

### 📝 Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.