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

agama-project / agama / 23847134209

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

15.91
/web/src/components/network/AddressesDataList.tsx


Source Not Available

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