question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Store request sending settings locally (not globally)

See original GitHub issue
  • Insomnia Version: 6.5.3
  • Operating System: Windows 10 (Build 1903)

Details

Currently Insomnia stores request settings like 'ā€˜send on interval’ globally for all requests. It would be better and also allow more use cases if this were per request.

Quoting @gschier

It wouldn’t be difficult, no. You’d have to create a new property on the RequestMeta model to store the preference, then change the sending code to use that instead of the globally-stored value

See following files: https://github.com/getinsomnia/insomnia/blob/92641f872a616a2a85b1c9e295197a57ac8d0842/packages/insomnia-app/app/models/request-meta.js#L20

https://github.com/getinsomnia/insomnia/blob/92641f872a616a2a85b1c9e295197a57ac8d0842/packages/insomnia-app/app/ui/components/request-url-bar.js#L128

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gschiercommented, May 21, 2019

Feel free @develohpanda!

You already have experience modifying the RequestMeta model so it shouldn’t be too difficult. Let me know if you need some guidance though šŸ˜„

My initial thought to achieve this would be to move the preference out of the component state and into the RequestMeta model. We should probably just start with downloadPath for now because making the ā€œRepeat on Intervalā€ one work would require some refactoring to the way requests are currently sent.

0reactions
ThaDaVoscommented, May 21, 2019

I would say go ahead @develohpanda - I would have done it myself but really don’t have the time, except the 15 minutes yesterday which I needed to even find the method called šŸ˜‚

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Ask to Buy isn't working - Apple Support
If your Ask to Buy requests are missing Ā· Open Notification Center on your iPhone, iPad, or iPod touch Ā· Open Notification Center...
Read more >
Configuration - Rapido - Ex Libris Knowledge Center
Any borrowing request created in Rapido is automatically sent to a matching lender, either based on a Rapido offer or based on locally...
Read more >
Client-side storage - Learn web development | MDN
The Cache API is designed for storing HTTP responses to specific requests, and is very useful for doing things like storing website assetsĀ ......
Read more >
Work with Azure Functions Core Tools | Microsoft Learn
Azure Functions Core Tools lets you develop and test your functions on your local computer from the command prompt or terminal.
Read more >
How CloudFront delivers content - AWS Documentation
For objects not cached at either the POP or the regional edge cache location, CloudFront compares the request with the specifications in your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found