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

agama-project / agama / 23847134209
77%
master: 77%

Build:
Build:
LAST BUILD BRANCH: network-tanstack-form-part6
DEFAULT BRANCH: master
Ran 01 Apr 2026 11:53AM UTC
Jobs 2
Files 886
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

01 Apr 2026 11:50AM UTC coverage: 77.01% (-0.4%) from 77.453%
23847134209

push

github

web-flow
refactor(web): network connection form UX (part 4) (#3351)

This PR continues the network connection form reimplementation, built on
top of https://github.com/agama-project/agama/pull/3349. It adds edit
mode, fixes how the form derives the IP method when editing, and
introduces a not-found empty state.

### Edit mode

`ConnectionForm` is split into `NewConnectionForm` and
`EditConnectionForm`, both delegating to a shared
`ConnectionFormContent`. When a route `id` param is present, the form
pre-populates from the existing connection: IP mode, addresses,
gateways, DNS servers, and search domains are all restored. The
connection name field is not shown: it cannot be changed and the name is
already visible in the breadcrumb.

### Not-found empty state

When the connection id from the route does not match any known
connection, `EditConnectionForm` renders a `ConnectionNotFound` empty
state page instead of crashing.

### Postponed for follow-up PRs

- Auto-generated connection name.
- Evaluate if it "Advanced" mode must be shown when config has no method
but system already has addresses.

3495 of 5546 branches covered (63.02%)

Branch coverage included in aggregate %.

49 of 54 new or added lines in 2 files covered. (90.74%)

167 existing lines in 10 files now uncovered.

21203 of 26525 relevant lines covered (79.94%)

87.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
65.24
1.96% web/src/types/network.ts
3
84.15
2.72% web/src/components/network/ConnectionForm.tsx

Uncovered Existing Lines

Lines Coverage ∆ File
5
92.11
2.22% web/web/src/components/network/ConnectionForm.tsx
7
19.35
-25.81% web/src/components/network/DnsDataList.tsx
7
16.67
-26.67% web/web/src/components/network/DnsSearchDataList.tsx
7
20.69
-27.59% web/web/src/components/network/DnsDataList.tsx
7
15.91
-18.18% web/src/components/network/AddressesDataList.tsx
7
18.42
-21.05% web/web/src/components/network/AddressesDataList.tsx
7
15.15
-24.24% web/src/components/network/DnsSearchDataList.tsx
26
73.12
2.95% web/web/src/types/network.ts
47
17.98
-59.55% web/web/src/components/network/IpSettingsForm.tsx
47
14.41
-56.76% web/src/components/network/IpSettingsForm.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
2 web 23847134209.2 01 Apr 2026 11:53AM UTC 571
72.59
GitHub Action Run
2 service 23785944226.2 31 Mar 2026 07:38AM UTC 315
88.24
GitHub Action Run
Source Files on build 23847134209
  • Tree
  • List 886
  • Changed 15
  • Source Changed 4
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23847134209
  • 478d1207 on github
  • Prev Build on enhance-network-connection-form (#23806851640)
  • 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