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

zwave-js / zwave-js-ui / 22177442992
19%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2026 10:11AM 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

19 Feb 2026 10:10AM UTC coverage: 19.271%. Remained the same
22177442992

push

github

web-flow
feat: add individual value polling button to UI (#4525)

## Add Manual Poll Value Button to UI

This PR implements the feature to manually poll individual values from
the UI as requested in the issue.

### Changes Made
- [x] Explore codebase and understand architecture
- [x] Create reusable PollValueButton component
- [x] Created dedicated `PollValueButton.vue` component to eliminate
code duplication
- [x] Encapsulates pollValue API call logic and loading state management
  - [x] Handles success/error responses with snackbar notifications
  - [x] Try-finally block for proper error handling
- [x] Add poll button to all values in ValueId.vue
  - [x] Import and use PollValueButton component
  - [x] Added to read-only values (plain text display)
- [x] Added to all writable input types using `append-inner` slot (text,
number, select, combobox, duration, color)
  - [x] Added to boolean button groups
- [x] Only shows for readable values via canPollValue computed property
- [x] Address PR feedback
- [x] Refactored to use `append-inner` slot instead of separate buttons
  - [x] Created dedicated component to eliminate ALL code duplication
- [x] Added button to ALL inputs including read-only values (previously
missing)
  - [x] Button appears consistently across all value types
- [x] Test the implementation
  - [x] Manually tested with mock Z-Wave controller
  - [x] Verified button appears on read-only values
  - [x] Verified button appears on all writable input types
  - [x] Verified polling works correctly
  - [x] Screenshots captured showing UI changes
- [x] Run linting and tests
  - [x] Run lint-fix and lint (passed)
  - [x] Run test suite (all 103 tests passed)
  - [x] Build succeeded

### Technical Details
- **Backend**: pollValue API already exists in ZwaveClient.ts
- **Frontend**: Created reusable `PollValueButton.vue` component
- **Communication**: Uses app.apiRequest('pollValue', [valueId])
- **UI**: Small icon button with loading spinner, appears consi... (continued)

334 of 444 branches covered (75.23%)

Branch coverage included in aggregate %.

4052 of 22316 relevant lines covered (18.16%)

1.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22177442992.1 19 Feb 2026 10:11AM UTC 70
19.27
GitHub Action Run
Source Files on build 22177442992
  • 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
  • 3bdf5c9c on github
  • Prev Build on master (#22176677289)
  • Next Build on master (#22177563191)
  • 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