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

agama-project / agama / 24895234434

24 Apr 2026 02:37PM UTC coverage: 77.57% (+0.4%) from 77.128%
24895234434

push

github

web-flow
feature(web): hint users about desktop selection (#3420)

## Summary

Desktop environment selection is now a first-class part of Agama web UI.
This branch bundles together the changes from 8 previous PRs to prevent
users ending up with a command-line-only openSUSE because not visiting
the software page and selecting a DE. The installation summary reflects
now the software selection in a more complete and informative way, the
confirmation screen alerts when no desktop is selected on products that
expect one, and the software page itself got a full UX revamp.

- Separate, clearly labeled sections for desktops and additional
patterns
- Patterns page migrated to TanStack Form: users can confirm or cancel
the whole selection at once, with no backend calls triggered on pattern
checkbox toggle.
- Product-aware behavior via YAML flags (`desktop_selection: suggested |
optional`), no per-product code branching
- Accessibility improvements that also benefit sighted users

## Motivation

Before this work:

- **Tumbleweed and Leap ship with no default desktop. Not explicitly
selecting one from the software page produced a console-only install.**
See https://github.com/agama-project/agama/discussions/3335
- The software page mixed desktop environments and patterns in a single
checkbox list, with no visible distinction.
- Every checkbox toggle hit the backend instantly, blocking the UI
behind a progress overlay more times than needed.
- The installation summary did not reflect the selected desktop.
- Auto-selected patterns (pulled in by dependencies) were
indistinguishable from the user's own picks in the software page
summary.

## Changes

### 1. Product-level configuration (PRs #3390, #3403, #3406)

Products now declare their desktop-selection policy:

- `suggested` (Tumbleweed, Leap): the UI hints when no desktop is
picked.
- `optional` (SLES and server products): absence is a valid choice, no
hint.

Patterns can be flagged as "desktop" so the UI groups them corr... (continued)

3815 of 6098 branches covered (62.56%)

Branch coverage included in aggregate %.

210 of 214 new or added lines in 10 files covered. (98.13%)

22 existing lines in 4 files now uncovered.

22018 of 27205 relevant lines covered (80.93%)

95.46 hits per line

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

96.6
/web/src/components/software/SoftwarePatternsSelection.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