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

zwave-js / zwave-js-ui / 19273323451
20%

Build:
DEFAULT BRANCH: master
Ran 11 Nov 2025 05:18PM UTC
Jobs 1
Files 68
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

11 Nov 2025 05:17PM UTC coverage: 20.142%. Remained the same
19273323451

push

github

web-flow
fix(ui): add null check in setRoute to handle cancelled dialog (#4450)

When setting a priority route, cancelling the dialog caused a
destructuring error that prevented the operation from completing.

## Changes

- Added null check in `NodePanel.vue` `setRoute` method after
`promptRoute` call
- Function now returns early if user cancels dialog instead of
attempting to destructure null

```javascript
const res = await this.promptRoute(prefix, suffix)

if (!res) return  // Handle cancellation

const { repeaters, routeSpeed } = res
```


<!-- START COPILOT CODING AGENT SUFFIX -->



<details>

<summary>Original prompt</summary>

> 
> ----
> 
> *This section details on the original issue you should resolve*
> 
> <issue_title>fix(ui): unable to set direct controller connection when
setting priority route</issue_title>
> <issue_description>When setting a priority route if you don't set any
repeater the request is not sent to backend
> 
> ### Discussed in
https://github.com/zwave-js/zwave-js-ui/discussions/4447
> </issue_description>
> 
> <agent_instructions>The issue should be in `setRoute` method in
NodePanel.vue</agent_instructions>
> 
> ## Comments on the Issue (you are @copilot in this section)
> 
> <comments>
> </comments>
> 


</details>

<!-- START COPILOT CODING AGENT TIPS -->
---

💬 We'd love your input! Share your thoughts on Copilot coding agent in
our [2 minute survey](https://gh.io/copilot-coding-agent-survey).

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: robertsLando <11502495+robertsLando@users.noreply.github.com>
Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>

333 of 441 branches covered (75.51%)

Branch coverage included in aggregate %.

4048 of 21310 relevant lines covered (19.0%)

1.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19273323451.1 11 Nov 2025 05:18PM UTC 68
20.14
GitHub Action Run
Source Files on build 19273323451
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b472afc5 on github
  • Prev Build on master (#19273238312)
  • Next Build on master (#19294172997)
  • 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