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

agama-project / agama / 25728644292
81%

Build:
DEFAULT BRANCH: master
Ran 12 May 2026 10:30AM UTC
Jobs 3
Files 902
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

12 May 2026 10:27AM UTC coverage: 79.094% (+0.4%) from 78.718%
25728644292

push

github

web-flow
refactor(web): improve UX of storage mount point inputs (#3445)

## Problem

The usage of the internally called `SelectTypeaheadCreatable` component
(a wrapper around [PatternFly’s typeahead Select with support for
creating new
options](https://www.patternfly.org/components/menus/select/#typeahead-with-create-option))
has proven frustrating for users. When a user types a value and presses
`Tab`, the input is discarded unless they explicitly select the “Use X”
option, which is not intuitive. Also, its dropdown appearance had
mislead some users into thinking it only supports predefined selections
rather than free text input. [~~This is a deliberate design decision in
PatternFly, not a
bug,~~](https://github.com/agama-project/agama/pull/3445#issuecomment-4352350413)
This makes the component fundamentally unsuitable for a field where free
text must always be preserved.

## Solution

To address this usability problem, a lightweight [wrapper around a plain
`<TextInput>` and a native HTML
`<datalist>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/datalist)
has been added as a new `SuggestionsTextField` component. The browser
handles suggestion presentation natively and does not require custom
keyboard navigation, ARIA wiring, or focus management. The input behaves
exactly like a normal text field, and suggestions reflect their purely
optional, assistive nature instead of behaving like options users must
choose from.

## Before vs after

| | Before (`SelectTypeaheadCreatable`) | After (`SuggestionsTextField`)
|
|---|---|---|
| **Props per call site** | 5 required (toggleName, listName, inputName,
clearButtonName, createText) | 2 required (value, suggestions) |
| **Tab behaviour** | Discards typed value unless "Use X" is explicitly
clicked | Always preserves typed value |
| **Free text** | Requires explicit "Use /home" action to commit |
Native, no forced selection |
| **Helper text** | "Select or enter a mount point" | "E.g., /home,
/v... (continued)

4014 of 6157 branches covered (65.19%)

Branch coverage included in aggregate %.

42 of 45 new or added lines in 4 files covered. (93.33%)

185 existing lines in 3 files now uncovered.

22409 of 27250 relevant lines covered (82.23%)

96.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
91.94
web/src/components/form/SuggestionsTextField.tsx
1
4.31
0.0% web/src/components/storage/LogicalVolumePage.tsx

Coverage Regressions

Lines Coverage ∆ File
158
6.01
0.0% web/web/src/components/storage/LogicalVolumePage.tsx
24
89.91
0.0% web/web/src/components/storage/PartitionPage.tsx
3
98.31
0.0% web/web/src/components/storage/FormattableDevicePage.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 25728644292.3 12 May 2026 10:30AM UTC 591
74.63
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 25678662089.3 11 May 2026 03:12PM UTC 311
91.53
GitHub Action Run
Source Files on build 25728644292
  • Tree
  • List 902
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25728644292
  • 99b9a979 on github
  • Prev Build on master (#25678662089)
  • Next Build on master (#25731124574)
  • 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