Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

When switching type, the type will change anyway regardless of the prompt result and delete the datas #125

Open
1 task done
Burrish opened this issue Dec 21, 2023 · 2 comments
Assignees

Comments

@Burrish
Copy link

Burrish commented Dec 21, 2023

Expected Behavior

The type should change only after selecting "Ok" or stay the same when clicking on Cancel

image

Actual Behavior

After Entering settings, when switching to any kind of type ( body type or authentication ) a prompt to avoid losing your settings appears as such
image

image

but right after clicking, the authentication / body type will instantly change, making the prompt useless and losing your settings and data anyway

Reproduction Steps

Example for the body:
After creating a request

  1. Click on multipart
  2. add a setting with any text
  3. switch to JSON
  4. the prompt appears and the data is lost

Is there an existing issue for this?

Additional Information

Version: Insomnium 0.2.3-a
Build date: 29/10/2023
OS: Windows_NT x64 10.0.19045
Electron: 25.8.1
Node: 18.15.0
Node ABI: 116
V8: 11.4.183.29-electron.0
Architecture: x64

Insomnium Version

0.2.3-a

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

Downloaded windows package from the github release tab of insomnium

Last Known Working Insomnium version

No response

@G0HAN3
Copy link

G0HAN3 commented Dec 24, 2023

Hey, can you assign this issue to me?

@archywillhe
Copy link
Member

archywillhe commented Jan 26, 2024

@Burrish aww this is a good catch.. really bad bug

@G0HAN3 my bad I had been radio-silence recently (catching some work & some stuff happened and now I'm back on github).. It will be real cool if you can sort it out!

I will assign this to you now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants