pi-web icon indicating copy to clipboard operation
pi-web copied to clipboard

User/Assistant search to find specific user/agent message to filter things

Open deadcoder0904 opened this issue 4 months ago • 3 comments

I love this project.

I'd like a search filter at the right side where I see user & assistant messages so I can find particular user or assistant message.

For example, I use this Chrome Extension (https://github.com/asker-kurtelli/scroll/) which does this brilliantly:

Image

For now, I can't even hover over that right sidebar because it automatically closes. Maybe give it c different colours so I can see which one is user message, which one is assistant. Currently there is no way to differentiate between them either.

Another thing I would like is a search bar for searching chats as well. Can use this directly - https://derodero24.github.io/rapid-fuzzy/

deadcoder0904 avatar Jul 23 '26 15:07 deadcoder0904

I've opened a PR for this added color differentiation (blue/orange) and a hover-flicker fix to the minimap, plus a new message search feature. Would appreciate a look

Hamzaa6296 avatar Jul 23 '26 18:07 Hamzaa6296

@Hamzaa6296 Best way is to upload image screenshot or 2-5 seconds video with the PR itself but the code does look good enough :)

2 recommendations:

  1. Pi.dev has an /export command which exports a .html file (I love how it allows you to choose between User, Assistant, Tools, etc..)
  2. Filter search hasn't been implemented I think (didn't look too closely but correct me if I'm wrong). Like the library rapid-fuzzy I mentioned above

deadcoder0904 avatar Jul 24 '26 05:07 deadcoder0904

scroll-like minimap: dbd583b3af7afc59f2ecc6a972bcedf05ffcb31c

agegr avatar Jul 29 '26 12:07 agegr