insomnium icon indicating copy to clipboard operation
insomnium copied to clipboard

Filter gets lost when selecting request

Open Digl opened this issue 1 year ago • 7 comments

Expected Behavior

When selecting a request the list or requests should stay filtered

Actual Behavior

When selecting a request the list of requests is not filtered anymore and all requests in a collection show up

Reproduction Steps

  1. Enter a filter in request collection
  2. Select a request

Is there an existing issue for this?

Additional Information

Thanks for the effort of this fork!!!

Insomnium Version

0.1.3-alpha.0

What operating system are you using?

macOS

Operating System Version

Ventura 13.6

Installation method

downloaded from releases

Last Known Working Insomnium version

No response

Digl avatar Oct 07 '23 11:10 Digl

hmm I wasn't able to replicate this on my Mac

the filter works across url of the request too (e.g. so not just name; so if you have 3 requests pointing to localhost with name A,B,C, the three req will still show up searching for localhost ) - could that be the cause in your case?

You could use Name Ascending in that case:

Screenshot 2023-10-08 at 12 03 05 AM

(here New Request shows up as it contains "g" in the url)

archywillhe avatar Oct 07 '23 16:10 archywillhe

I can reproduce this issue on 0.2.0 (Linux):

  1. filter list of requests image

  2. select a request image

Expected: List stays the same Actual: List shows all requests

mercutiodesign avatar Oct 08 '23 21:10 mercutiodesign

oh I see; I'm still not able to replicate it on my mac. Seems like an edge-case rendering bug from the old code base; will look more into it when I'm free

(& am also open to any pull-request on this)

archywillhe avatar Oct 09 '23 04:10 archywillhe

oh I can replicate it now; for me the bug only shows up if sorting is chosen as something other than "manual"

archywillhe avatar Oct 09 '23 04:10 archywillhe

for me it also happens when choosing manual

Digl avatar Oct 09 '23 13:10 Digl

i see.. I need to investigate more (I will also check if Kong has fixed it in their main branch)

archywillhe avatar Oct 10 '23 14:10 archywillhe

This is happening with on MacOS when running version 0.2.3-a. Name ascending sorting keeps reseting to manual whenever a request is selected.

Folder / request structure to reproduce:

image

ddnomad avatar Mar 08 '24 14:03 ddnomad