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

agama-project / agama / 29411422067
83%

Build:
DEFAULT BRANCH: master
Ran 15 Jul 2026 11:26AM UTC
Jobs 3
Files 1046
Run time 2min
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

15 Jul 2026 11:22AM UTC coverage: 83.13% (+0.001%) from 83.129%
29411422067

push

github

web-flow
refactor(web): add missing `TranslatedString` types in user-facing text props (#3696)

## Summary

- Types user-facing text props as `TranslatedString` instead of plain
`string` across form, core, and page components, so untranslated
literals are rejected at compile time.
- Marks three already-untranslated row-actions labels ("Actions for %s"
in the connections, DASD, and zFCP tables) for translation and reported
them in https://bugzilla.suse.com/show_bug.cgi?id=1271404
- Fixes a type bug in `SelectableDataTable`: `itemActionsLabel` was
declared as `(d: T) => string | string`, which parses as a function type
only, even though a plain value is also accepted at runtime.

## Motivation

Plain string literals passed as props slip through the translation
linter and reach users in English only (related to
https://bugzilla.suse.com/show_bug.cgi?id=1269514, protected link). The
`TranslatedString` tagged type exists precisely to prevent that: it
turns a runtime i18n bug into a compile-time error, since text must go
through `_()` before a component accepts it.

The type was introduced in #2928 seven months ago (Agama v19), but
applying it to component props was overlooked: most user-facing text
props remained plain `string`. #3685 and #3688 recently started closing
that gap; this PR extends the coverage to the remaining user-facing text
props.

## What changed

One commit per component, so each change is easy to review and revert:

**Form components and validation**
- `CheckboxField`: `label`, `aria-label`
- `Fieldset`: `legend`
- `validation-helpers.ts`: all message parameters and return types, plus
the two forwarding helpers in `connection-form/validations.ts`

**Core and layout components**
- `SimpleDropdown`: `label`
- `ResizeHandle`: `label`
- `Loading`: `aria-label`
- `SelectableDataTable`: `itemActionsLabel` and the `label` handed to a
custom `itemActionsComponent`

**Page-specific components**
- `SoftwarePage`: section titles, button labels, empty-state... (continued)

4903 of 6839 branches covered (71.69%)

Branch coverage included in aggregate %.

25579 of 29829 relevant lines covered (85.75%)

124.24 hits per line

Coverage Regressions

Lines Coverage ∆ File
9
31.25
0.0% web/web/src/components/core/ResizeHandle.tsx
7
94.74
0.0% web/web/src/components/core/InstallerL10nOptions.tsx
2
90.48
0.0% web/web/src/components/questions/UnsupportedAutoYaST.tsx
2
85.71
0.0% web/web/src/components/questions/RegistrationCertificateQuestion.tsx
1
90.91
0.0% web/web/src/components/core/SimpleDropdown.tsx
1
93.75
0.0% web/web/src/components/form/validation-helpers.ts
1
84.96
0.0% web/web/src/components/network/ConnectionsTable.tsx
1
98.59
0.0% web/web/src/components/software/SoftwarePage.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 29411422067.3 15 Jul 2026 11:26AM UTC 727
80.02
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 29261150940.3 13 Jul 2026 03:13PM UTC 319
92.41
GitHub Action Run
Source Files on build 29411422067
  • Tree
  • List 1046
  • Changed 33
  • Source Changed 18
  • Coverage Changed 31
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29411422067
  • b016c96f on github
  • Prev Build on master (#29407854209)
  • Next Build on master (#29484988000)
  • Delete
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