Kong / Kong/insomnia

[Bug] The uncover variables shortcut breaks the url input field

Open
#1,925 3 comments 0 reactions 0 assignees View on GitHub
B-bug B-crash waiting-for-author
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

# Describe the bug
Using the uncover variables shortcut results in an error: `Render Failure: Cannot read property 'removeChild' of null`, displayed in the url field.
The rest of the application stays responsive
![Screenshot from 2020-02-05 13-01-20](https://user-images.githubusercontent.com/12500559/73840057-a3562180-4817-11ea-8346-c906a1270cd0.png)

# To Reproduce
use the uncover variables shortcut (alt + shift + u)

# Expected behavior
The application is shows variables

# Desktop
Distributor ID: Ubuntu
Description: Pop!_OS 19.10
Release: 19.10
Codename: eoan
Installation Method: snap
App Version: 7.0.6

# Additional context
I currently have following variables set:
```
{
"test_endpoint": "https://test.XXXXX.com/v1",
"live_endpoint": "https://api.XXXXX.com/v1",
"now": "{% now 'unix', '' %}"
}
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the desktop app with the reported variables, then trigger the uncover variables shortcut with Alt+Shift+U and observe the URL field. Trace the shortcut and URL-input rendering path; done means variables are shown without a removeChild render failure and the rest of the application remains responsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.