pprof icon indicating copy to clipboard operation
pprof copied to clipboard

webhtml: fill search input from url parameter

Open yktakaha4 opened this issue 2 years ago • 0 comments

Thank you for this great tool and maintainers.

I think it would be more convenient if the conditions were restored to the text box when performing a search in the webui. I think this fix will make exploratory searches easier.

This is a sample when accessing http://localhost:2345/ui/?f=%5Emain

image

Currently, search inputs are cleared every time the page is refreshed.

image

I checked CONTRIBUTING.md and wanted to write a test, but there was no existing test suite or framework, so I didn't create one.

The PR below seems to partially writing test on the front end, so should I refer to it? I would like to hear the opinions of reviewers. https://github.com/google/pprof/pull/802

yktakaha4 avatar Nov 24 '23 13:11 yktakaha4