zap-hud icon indicating copy to clipboard operation
zap-hud copied to clipboard

Add option to clear history / websockets tab

Open psiinon opened this issue 6 years ago • 4 comments

This would allow users to ignore older messages they are no longer interested in.

psiinon avatar Feb 12 '19 10:02 psiinon

Would it be alright if I started working on this?

shamashel avatar Nov 07 '19 17:11 shamashel

@shamashel absolutely :) I was thinking we would add buttons in the relevant tools bars for the tabs, but feel free to suggest anything else.

psiinon avatar Nov 07 '19 17:11 psiinon

To confirm, when we're talking about "clearing" the tab, do you want the actual messages to be deleted, or should they just be hidden in the HUD?

If we are talking about deleting the messages; which API would you recommend using? The closest thing I found was deleteSiteNode in core, since deleting a node will also delete all the relevant requests.

shamashel avatar Nov 08 '19 00:11 shamashel

Yeah, I was thinking this would just hide the messages in the HUD rather than remove them from ZAP. The HUD caches the history messages so hopefully it shouldnt be too hard.

psiinon avatar Nov 08 '19 09:11 psiinon

@psiinon may I work on this? 🙂

VitikaSoni avatar Jan 13 '23 18:01 VitikaSoni

@Vitika9 you can! Let us know how you get an and if you have any problems setting your develepment environment up - the HUD is a bit complex and no one is focussing on it right now. However it would be very good to have someone working on it 😁

psiinon avatar Jan 16 '23 10:01 psiinon