Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate tab for value editing instead of dialog #1

Open
mitasov-ra opened this issue Apr 12, 2023 · 1 comment
Open

Separate tab for value editing instead of dialog #1

mitasov-ra opened this issue Apr 12, 2023 · 1 comment

Comments

@mitasov-ra
Copy link

Your plugin looks great but it's very unhandy to work with as each time I need to adjust the value I need to click on tag.

Is it possible to create another tab in request settings, same as "Query" or "Headers" but with value editing?

I'm looking for something like https://insomnia.rest/plugins/insomnia-plugin-path-parameters but with separate tab to avoid name collisions.

@ts14ic
Copy link
Owner

ts14ic commented Apr 12, 2023

Hi

My motivation to play around with Insomnia has rapidly declined after I made the plugin :D.
Writing plugins for Insomnia is very easy (you can see there's very little code in this plugin).

But as far as I am aware, there's no way to add new tabs into Insomnia via plugins.
That's why that other plugin reuses the existing "Query" tab.
And I didn't like to mix query & path variables in a single tab, that's why I've created this plugin for me which doesn't reuse "Query", but still allows to parameterize the path.

It's like a compromise.

Ideally yes, I would also love to have a separate tab for path parameters, but 2 3 buts:

  • The original maintainer of Insomnia has sold the product to a company that still seems like it doesn't know what to do with the project, or at least felt like they didn't do any development back then (which contributed to may lack of motivation)
  • Insomnia community is already waiting for several years for a different solution for this problem: per-request variables to have actual variables in the request path, with a separate tab for those per-request variables, and actual variables inside the url (instead of the Postman approach). This solution was proposed by the original maintainer, and now it's abandoned.
  • You can find a PR in Insomnia repository which introduces an actual query tab (plugins can't add it, but modifying the actual Insomnia - possible). But that PR has some conflicts or other problems already, and it was declined because everyone was waiting for the above solution with per-request variables.

@ts14ic ts14ic mentioned this issue Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants