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

agama-project / agama / 26564326053
81%

Build:
DEFAULT BRANCH: master
Ran 28 May 2026 08:44AM UTC
Jobs 3
Files 930
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

28 May 2026 08:41AM UTC coverage: 81.394% (+0.4%) from 80.979%
26564326053

push

github

web-flow
refactor(web): unify authentication forms and complete SSH Public Keys support (#3531)

## Summary

What began as adding SSH public key support to the first-user workflow
evolved into a broader a
uthentication form refactor. Supporting SSH keys cleanly required
migrating both authentication forms to TanStack Form first, and once
that work was underway, consolidating the flows into a single page
became the most coherent UX direction.

The result is a unified authentication experience that reduces
navigation overhead, improves consistency, and simplifies both
validation and configuration handling.


## What Changed

### Unified authentication form (`authentication-form/`)

The previous `FirstUserForm`, `RootUserForm`, and `UsersPage` flows
(including their routes) have been consolidated into a single
`AuthenticationForm` page.

Both user sections are now visible and editable in one place,
eliminating unnecessary navigation and making related authentication
settings easier to manage together.

### SSH public key support for the first user

The first-user section now supports SSH public keys through an
`ArrayField` implementation with several SSH-specific improvements:

- Newline-aware paste handling via `splitPasteOn=/\r?\n/`, allowing
multi-line key blocks to paste correctly
- Middle truncation of long key entries through `maxEntryWidth=60` for
improved readability
- SSH key validation that rejects malformed entries and private keys

### `ArrayField` enhancements

`ArrayField` was extended to support more flexible entry handling and
better usability:

- Added `splitPasteOn` prop to customize paste splitting behavior
  - Defaults to whitespace/comma splitting
- Supports newline-only splitting for values that legitimately contain
spaces, such as SSH public keys
- Added `maxEntryWidth` prop to truncate long entries using PatternFly’s
`Truncate` component while preserving full values in accessibility
labels
- Added defensive null checks around `value` handl... (continued)

4351 of 6379 branches covered (68.21%)

Branch coverage included in aggregate %.

285 of 296 new or added lines in 17 files covered. (96.28%)

28 existing lines in 13 files now uncovered.

23721 of 28110 relevant lines covered (84.39%)

94.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
76.92
-13.08% web/src/hooks/model/config.ts
2
88.39
web/src/components/users/authentication-form/Form.tsx
2
81.82
web/src/components/users/authentication-form/RootAuthFields.tsx
1
95.59
-1.29% web/src/components/core/Page.tsx
1
98.4
80.45% web/src/components/overview/UsersSummary.tsx
1
92.86
web/src/components/users/authentication-form/FirstUserFields.tsx

Coverage Regressions

Lines Coverage ∆ File
6
76.92
-13.08% web/web/src/hooks/model/config.ts
5
0.0
-50.0% web/src/hooks/model/config/user.ts
5
0.0
-55.56% web/web/src/hooks/model/config/user.ts
2
70.0
-2.73% web/web/src/components/users/UsersPage.tsx
2
98.37
0.06% web/web/src/components/form/ArrayField.tsx
1
98.78
72.85% web/web/src/components/overview/UsersSummary.tsx
1
98.85
-1.15% web/web/src/components/core/Page.tsx
1
84.91
-1.89% web/web/src/api.ts
1
0.0
-100.0% web/src/components/users/index.ts
1
45.45
-4.55% web/src/http.ts
1
47.62
-4.76% web/web/src/http.ts
1
84.91
-1.89% web/src/api.ts
1
0.0
-100.0% web/web/src/components/users/index.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 26564326053.3 28 May 2026 08:44AM UTC 613
77.4
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
3 service 26494037955.3 27 May 2026 06:10AM UTC 317
92.46
GitHub Action Run
Source Files on build 26564326053
  • Tree
  • List 930
  • Changed 33
  • Source Changed 14
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26564326053
  • e684ff29 on github
  • Prev Build on master (#26522287378)
  • Next Build on master (#26572618587)
  • 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