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

Valian / live_vue / 418cb1b2e8fbe0f27ea5f1b18d7dbb502dc183a4
80%

Build:
DEFAULT BRANCH: main
Ran 17 Mar 2026 11:20AM UTC
Jobs 1
Files 11
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

17 Mar 2026 11:19AM UTC coverage: 80.374%. Remained the same
418cb1b2e8fbe0f27ea5f1b18d7dbb502dc183a4

push

github

web-flow
fix: useLiveUpload now rebuilds hidden input when uploadConfig.ref changes (#127)

Previously, useLiveUpload() created the hidden input once in onMounted and never
rebuilt it when the server sent a new upload config ref. This caused LiveView
crashes with KeyError from Phoenix.LiveView.Upload.get_upload_by_ref!/2 when
users selected files after a reconnect or LiveView remount.

Extract createInput and removeInput helpers, add watch() on config structural
identity (ref|name|accept|auto_upload|max_entries), and rebuild the hidden input
when any of these fields change. Teardown and cleanup remain in onUnmounted.

Add 9 regression tests covering input rebuild on ref/accept/max_entries changes,
no rebuild on entry changes, and proper cleanup on unmount.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>

344 of 428 relevant lines covered (80.37%)

40.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 418cb1b2e8fbe0f27ea5f1b18d7dbb502dc183a4.1 17 Mar 2026 11:20AM UTC 11
80.37
GitHub Action Run
Source Files on build 418cb1b2e8fbe0f27ea5f1b18d7dbb502dc183a4
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 418cb1b2 on github
  • Prev Build on main (#010464B5...)
  • 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