• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zwave-js / zwave-js-ui / 22755858891
18%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2026 08:43AM UTC
Jobs 1
Files 70
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Mar 2026 08:42AM UTC coverage: 18.308%. Remained the same
22755858891

push

github

web-flow
fix(ui): fix background RSSI chart showing blank on second open (#4576)

Opening the controller's background RSSI fullscreen dialog a second time
renders a blank chart.

The root cause was that on the second open, the async component module
is already cached and renders synchronously — so `create()` runs before
browser layout, reading `offsetWidth = 0` and creating an invisible
0-width chart with no recovery path.
  Fixes in `BgRssiChart.vue`:  
- `create()`: if `container.offsetWidth === 0` at mount time, defer
chart creation by 50ms so layout has time to settle
- `setSize()`: when `fillSize=true`, use viewport height directly
instead of `container.offsetHeight`, preventing a ResizeObserver
feedback loop that would silently shrink the chart to nothing

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

> 
> ----
> 
> *This section details on the original issue you should resolve*
> 
> <issue_title>Opening the Controller's background RSSI chart twice does
not work</issue_title>
> <issue_description>### Checklist
> 
> - [ ] I am not using Home Assistant. Or: a developer has told me to
come here.
> - [ ] I have checked the troubleshooting section and my problem is not
described there.
> - [ ] I have read the changelog and my problem is not mentioned there.
> 
> ### Deploy method
> 
> Manually built (git clone - npm run build - npm install
> 
> ### Z-Wave JS UI version
> 
> master branch, 2025-03-05
> 
> ### ZwaveJS version
> 
> not relevant
> 
> ### Describe the bug
> 
> When opening the network map and clicking the controller node, a
dialog opens with the background RSSI chart.
> After closing that dialog and opening it again, the RSSI chart is
broken and shows no data:
> 
> <img width="539" height="961" alt="Image"
src="https://github.com/user-attachments/assets/dd76086d-f39e-4fe0-8e8c-9e0fa3880aa2"
/>
> 
> ### To Reproduce
> 
> see above
> 
> ### Expected behavior
> 
> it should not be broken
> 
> ### Additional ... (continued)

334 of 444 branches covered (75.23%)

Branch coverage included in aggregate %.

4054 of 23524 relevant lines covered (17.23%)

1.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22755858891.1 06 Mar 2026 08:43AM UTC 70
18.31
GitHub Action Run
Source Files on build 22755858891
  • Tree
  • List 70
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 82b8e928 on github
  • Prev Build on master (#22755423550)
  • Next Build on master (#22756228332)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc