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

hyperglass-community / hyperglass / 45709427994
89%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 10:02PM UTC
Jobs 2
Files 487
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

25 Nov 2026 10:00PM UTC coverage: 89.22% (+0.02%) from 89.198%
45709427994

push

github

web-flow
fix(ui): localise the route table's age and make its tooltips keyboard-reachable (#614)

* fix(ui): localise the route table's age and make its tooltips keyboard-reachable

Add web.locale (BCP 47 language, script and region; default en). The
Age column formats the relative age with the matching dayjs locale,
loaded on demand as its own chunk, falling back to the language and
then English, and the tooltip's UTC time with Intl.DateTimeFormat in
that locale.

The Age and Weight tooltips now sit on a focusable trigger, like the
markers from #581, so they open on keyboard focus and stay open on tap.

Closes #605

* fix(ui): keep the age tooltip 24-hour UTC and share it with the copied table

The age tooltip gets its own Intl options (weekday, date, 24-hour time,
UTC) instead of the cached-time defaults, and asks for [locale, 'en'] so
an unknown locale falls back to English rather than the browser's. The
copied table uses the same formatting as the cells.

dayjs locale lookup also tries language-region without the script
(zh-Hant-TW loads zh-tw), and only a successful load is cached, so a
failed chunk is retried.

FocusableTooltip gives screen readers the tooltip text as a permanent
visually hidden description, since Chakra only sets aria-describedby
while the tooltip is open.

Refs #605

* fix(ui): remember a missing dayjs locale and retry only a failed download

A locale file the bundle doesn't have (MODULE_NOT_FOUND from webpack's
context, ERR_MODULE_NOT_FOUND under Node) is permanent: cache English
for the tag and warn once per page load. Any other failure, such as a
ChunkLoadError, stops the lookup without caching so the next mount
retries the same locale.

Refs #605

1249 of 1527 branches covered (81.79%)

Branch coverage included in aggregate %.

78 of 80 new or added lines in 6 files covered. (97.5%)

22504 of 25096 relevant lines covered (89.67%)

34.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.0
hyperglass/ui/hooks/use-dayjs-locale.ts
Jobs
ID Job ID Ran Files Coverage
1 backend - 45709427994.1 25 Nov 2026 10:05PM UTC 341
89.89
GitHub Action Run
2 frontend - 45709427994.2 25 Nov 2026 10:02PM UTC 146
86.18
GitHub Action Run
Source Files on build 45709427994
  • Tree
  • List 487
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45709427994
  • 71d3ce76 on github
  • Prev Build on main (#45706629247)
  • Next Build on main (#45710111417)
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