riok / Kreya

Kreya is a GUI client for gRPC and REST APIs with innovative features for environments, authorizations and more.
https://kreya.app
288 stars 5 forks source link

Popup for collection "Add operation" sometimes shows duplicated values #260

Open tweidema opened 3 days ago

tweidema commented 3 days ago

Describe the bug Popup for collection "Add operation" sometimes shows duplicated values

To Reproduce Clicking the "Add operation" button at the buttom of an existing collection shows a list of available operations. This list is not scrollable, which might be considered a separate bug. But searching to limit the displayed values, I sometimes see duplicated entries. I have a suspicion it happens after I have duplicated and renamed an existing operation.

Expected behavior No duplicates

Screenshots Here is an example. But sometimes I even see 3 with the same name. duplicate_operations

Note that at the time of this screenshot these where the relevant files in the project:

thw@Snow:~/kreya/buapi_attribute_poc$ find . -name 'update scope*'|sort
./update scope 1.js
./update scope 1.krop
./update scope 1-request.json
./update scope 2.js
./update scope 2.krop
./update scope 2-request.json

Environment (if possible, copy the information from the error dialog or the About menu):

CommonGuy commented 2 days ago

Thanks for the detailed bug report! We'll take a look at those two bugs

tweidema commented 2 days ago

@CommonGuy And thank you for being so quick to respond. It reflects positively on the project.