name: pull request
about: submit changes to the project
title: implement chatgpt-like search history sidebar for search pipe
description
implements a chatgpt-like search history feature for the search pipe with a collapsible sidebar interface. fixes broken history saving and adds complete search restoration functionality.
/claim #1382
related issue: #1382
key changes:
- new
SearchHistorySidebar
component with clean, modern ui following project style
- fixed broken history saving by re-enabling
addSearch()
call in search handler
- added toggle sidebar with history icon in top-left corner
- full search restoration including query parameters, results, and ai chat messages
- delete functionality for individual search entries
- uses existing
useSearchHistory
hook for persistence
how to test
add a few steps to test the pr in the most time efficient way.
- open search pipe and perform a few different searches with ai responses
- click the history icon (top-left) to open the sidebar
- verify searches appear in the history list with timestamps and ai indicators
- click on any previous search to restore it completely (query + results + chat)
- test delete functionality by hovering over search items and clicking trash icon
- verify sidebar toggle works (open/close) and history persists across sessions