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

hyperglass-community / hyperglass / 44927609537
87%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2026 05:01PM UTC
Jobs 2
Files 444
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

21 Nov 2026 05:00PM UTC coverage: 86.804% (+0.08%) from 86.724%
44927609537

push

github

web-flow
feat(ui): fill in the query form from URL parameters (#567)

* feat(ui): fill in the query form from URL parameters

A link such as /?location=<id>&location=<id>&type=<id or name>&target=<value>&var.<variable>=<value> fills in the form once the router is ready. prefillForm applies each value through the same steps as the user's input (locationChange, query type, target, variables), so values the configuration doesn't offer are left out. The query type matches by ID, then by name. The parameters are then removed from the address through the router. The form is never submitted from a link.

The select target now shows the store's target, so a target set without the select shows as chosen.

* docs: describe links that fill in the query form

* fix(ui): tighten URL prefill after review

- An unknown query type stops the prefill also when the locations offer one query type and locationChange chose it, so the link's target isn't applied to it.
- The prefill effect runs after the store mirror, so a no-common-query-types error survives a mount with the router already ready.
- router.replace gets the page's route and the address separately, so a page served as /index.html stays on the shallow path.
- Variables are read as own properties, so IDs such as constructor or toString can be prefilled.
- A target with control characters or line separators is left out; the backend rejects it.
- The parameters left in the address keep their original text.
- Tests mount the form before the router is ready, as on a first load.

* docs: explain device IDs in prefill links

* fix(ui): replace the query in the form when a link fills it in

prefillForm cleared the target and variables only when the link's query
type differed from the one in the form. With the same query type, a
target left out (or missing) kept the old one, and the link's variables
were merged into the old ones; a link without a resolvable query type
kept the old query type when the new locations still offered... (continued)

574 of 841 branches covered (68.25%)

Branch coverage included in aggregate %.

70 of 70 new or added lines in 2 files covered. (100.0%)

18489 of 21120 relevant lines covered (87.54%)

13.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 backend - 44927609537.1 21 Nov 2026 05:02PM UTC 319
88.48
GitHub Action Run
2 frontend - 44927609537.2 21 Nov 2026 05:01PM UTC 125
75.67
GitHub Action Run
Source Files on build 44927609537
  • Tree
  • List 444
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44927609537
  • 455c68a5 on github
  • Prev Build on main (#44925020736)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc