feat: persist bulk mode line wrap setting for request variables

- Show line wrap toggle only if entries are present under http request headers & URL encoded params body.
- Organize imports.
This commit is contained in:
jamesgeorge007
2024-03-07 10:03:11 +05:30
committed by Andrew Bastin
parent 1d93d9dabe
commit 40c8d7e4b7
5 changed files with 29 additions and 21 deletions

View File

@@ -38,6 +38,7 @@ export type SettingsDef = {
httpUrlEncoded: boolean
httpPreRequest: boolean
httpTest: boolean
httpRequestVariables: boolean
graphqlQuery: boolean
graphqlResponseBody: boolean
graphqlHeaders: boolean
@@ -79,6 +80,7 @@ export const getDefaultSettings = (): SettingsDef => ({
httpUrlEncoded: true,
httpPreRequest: true,
httpTest: true,
httpRequestVariables: true,
graphqlQuery: true,
graphqlResponseBody: true,
graphqlHeaders: false,