pearai-app
pearai-app copied to clipboard
[Hard][App] Move chat history out of the chat panel
Context
- Currently, previous chats created are all displayed within the same chat panel, and when opened, hides the current chat with no preview aside from chat title.
- We want to be able to see the current chat, and previews of the other chats when the user clicks or arrow keys on them.
- The previous chat history should be seen on a side panel when toggled, that way current chat isn't blocked.
Current look:
Solution
-
Press
CMD+o
to show chat history (this shortcut command should be displayed right below the view history button (outside of tooltip)) so user can easily see. -
Chat history is displayed as separate panel on the left side of the chat.
-
Pressing the up and down arrow keys on keyboard should scroll through the previous chats, allowing the user to choose.
- This should also preview those chats in the chat panel. This task can optionally be in a separate PR.
Must find way to transport the current history UI into a separate window.
Example UI:
Image
Video