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

agama-project / agama / 25050186282

28 Apr 2026 11:28AM UTC coverage: 77.673% (-0.005%) from 77.678%
25050186282

push

github

web-flow
fix(web): avoid misleading UI when no desktops are available (#3436)

While presenting the work done at
https://github.com/agama-project/agama/pull/3420, @joseivanlopez
identified a corner case not handled by it: when products do not offer
any desktop environments.

The previous implementation could show misleading messages such as “No
desktop selected,” offer links to select a desktop that didn't exist, or
display an empty desktop selection page. While this didn't make Agama
crash, it created a confusing and unexpected experience.

This PR ensures the UI adapts gracefully with a few behavioral changes:

* **Avoid misleading messages** by only showing “No desktop selected”
when desktops are actually available, **regardless of whether the
product is configured to suggest a desktop selection**.
* **Prevent empty views and maintain UI consistency** by redirecting
users away from the desktop selection page when no desktops exist and
displaying a clear informational message in the software page section.
The desktop section is intentionally **not hidden** in this case to
preserve layout consistency.

3867 of 6155 branches covered (62.83%)

Branch coverage included in aggregate %.

17 of 19 new or added lines in 4 files covered. (89.47%)

5 existing lines in 2 files now uncovered.

22172 of 27369 relevant lines covered (81.01%)

97.08 hits per line

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

90.24
/web/src/components/software/SoftwarePage.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