ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.36k stars 139 forks source link

Filter gets lost when selecting request #26

Open Digl opened 10 months ago

Digl commented 10 months ago

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

archywillhe commented 10 months ago

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)

mercutiodesign commented 10 months ago

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

archywillhe commented 10 months ago

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 commented 10 months ago

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

Digl commented 10 months ago

for me it also happens when choosing manual

archywillhe commented 10 months ago

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

ddnomad commented 5 months ago

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