Skip to content

fix: re-initialize the parameter editor state when switching between requests#7005

Merged
gatzjames merged 3 commits intoKong:developfrom
gatzjames:fix/parameter-editor-restore-per-request
Jan 19, 2024
Merged

fix: re-initialize the parameter editor state when switching between requests#7005
gatzjames merged 3 commits intoKong:developfrom
gatzjames:fix/parameter-editor-restore-per-request

Conversation

@gatzjames
Copy link
Contributor

The issue:

  • When switching between requests that have the same parameter names the one-line editor keeps the same state and doesn't update.

Fix:

  • Re-initialize the one-line editor state when the request changes.

Closes #7000

@gatzjames gatzjames requested a review from a team January 19, 2024 16:48
@gatzjames gatzjames self-assigned this Jan 19, 2024
@gatzjames gatzjames force-pushed the fix/parameter-editor-restore-per-request branch from d3e803d to dcbc581 Compare January 19, 2024 17:18
@gatzjames gatzjames force-pushed the fix/parameter-editor-restore-per-request branch from 443953d to 0056e0c Compare January 19, 2024 17:22
@gatzjames gatzjames enabled auto-merge (squash) January 19, 2024 17:22
@gatzjames gatzjames merged commit df0a791 into Kong:develop Jan 19, 2024
@gatzjames gatzjames deleted the fix/parameter-editor-restore-per-request branch January 19, 2024 17:31
jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
…requests (Kong#7005)

* re-initialize the one-line editor when the request changes

* fix lint?

* cleanup lint
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

Successfully merging this pull request may close these issues.

8.6.0's new "Query Parameters" function: sticky mismatch between Nunchucks element, and internal state of requests when switching

3 participants