Skip to content

Past chat histories in a side bar on desktop#5098

Merged
oobabooga merged 8 commits into
devfrom
history-sidebar
Jan 9, 2024
Merged

Past chat histories in a side bar on desktop#5098
oobabooga merged 8 commits into
devfrom
history-sidebar

Conversation

@oobabooga
Copy link
Copy Markdown
Owner

No description provided.

@oobabooga oobabooga marked this pull request as draft December 27, 2023 15:22
@bartowski1182
Copy link
Copy Markdown
Contributor

bartowski1182 commented Dec 30, 2023

would you be interested in also adding a "new chat" button in said side bar? would be a good inclusion to the UX

@TheInvisibleMage
Copy link
Copy Markdown
Contributor

Using the sidebars seems good to me; there's a lot of screen real estate that's currently just kinda left blank. However, it does make the whole thing look messy, especially as this implementation results in a lot of elements for bots with many chat histories. A few suggestions:

  • Allow the user to choose which "show controls" elements appear in the sidebar, and which appear below the text input, so they can customize the UI to their liking.
  • Add a mode switch for this particular element to toggle between dropdown and button views.
  • Add a button to pop the sidebar in and out. Possibly replacing the "show controls" toggle.

@oobabooga
Copy link
Copy Markdown
Owner Author

would you be interested in also adding a "new chat" button in said side bar? would be a good inclusion to the UX

@bartowski1182 Yes, that would be a great addition. That's how the ChatGPT UI does it too.

Add a button to pop the sidebar in and out. Possibly replacing the "show controls" toggle.

@TheInvisibleMage I think that would be the most important thing. In fact, there should be two collapsible sidebars, on the left and on the right. The left one should have the chat histories. The right one should contain the remaing settings that are currently below the chat input (like "start with" and "chat mode"). That would be much better than having to scroll up and down all the time to access menus.

Those side menus are kind of tricky to implement, as they have to be added with custom css/js, but they would be a major improvement to the chat UI.

I have the draft in this PR but it's very crude as you have noticed. @TheLounger had another draft as well. Any PRs to help get there are welcome (it should be possible to PR to this branch).

@oobabooga oobabooga marked this pull request as ready for review January 9, 2024 04:56
@oobabooga oobabooga merged commit 4f7e1ee into dev Jan 9, 2024
@oobabooga oobabooga deleted the history-sidebar branch January 17, 2024 22:53
PoetOnTheRun pushed a commit to PoetOnTheRun/text-generation-webui that referenced this pull request Feb 22, 2024
Lots of room for improvement, but that's a start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants