-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
I have checked the following:
- I have searched existing issues and found nothing related to my issue.
This bug is:
- making Bruno unusable for me
- slowing me down but I'm able to continue working
- annoying
- this feature was working in a previous version but is broken in the current release.
Bruno version
2.15.0
Operating System
Mac
Describe the bug
There are a couple of UX issues related to variable handling and hover behavior in the editor:
1. Invalid variable popup shown for valid variables
When hovering over {{ }} brackets, a popup indicating an invalid variable is shown even when the variable is valid.
This popup should not appear for valid variables, as it can be confusing.
2. Irrelevant link popup when accessing object properties
When a variable contains an object (e.g. person with properties like id, name) and is accessed in the request body as {{person.id}}, an popup suggesting to open a link is shown while editing the variable.
This popup is irrelevant in this context and should be ignored for variable expressions inside {{ }}.
.bru file to reproduce the bug
meta {
name: echo-req
type: http
seq: 1
tags: [
smoke
]
}
post {
url: https://echo.usebruno.com
body: json
auth: none
}
body:json {
{
"name":{{usebruno}},
"extract":{{perdon.id}}
}
}
vars:pre-request {
usebruno: rabdom
perdon.id: rand
}
assert {
res.body: isJson
res.body.name: isString
}
No response
Screenshots/Live demo link

Reactions are currently unavailable