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

agama-project / agama / 21132015497
73%

Build:
DEFAULT BRANCH: master
Ran 19 Jan 2026 09:26AM UTC
Jobs 3
Files 902
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

19 Jan 2026 09:23AM UTC coverage: 72.958% (+0.09%) from 72.87%
21132015497

push

github

web-flow
web: product selection page fixes and improvements (#3039)

## Problem

On the product selection screen, the selected product can visually lose
focus when the user interacts with other interactive elements on the
page, such as the top-right header menu. Although the product remains
selected internally, the UI no longer renders the option as selected.

This issue is caused by a combination of re-renders that recreate the
available products collection and the `isChecked` prop comparing entire
product objects instead of stable values (such as product ids). As a
result, object reference changes cause the selection state to appear
lost.

## Solution

While the issue might have been mitigated by usage of memoization
(`useMemo` or `useCallback`) somewhere, this PR addresses the root cause
by comparing products using stable identifiers (`id`) rather than full
object references, making the selection logic more robust and less
error-prone.

During the work on the regression test, it became clear that the
component would benefit from a broader refactor to improve
maintainability and user experience. As a result, this PR goes beyond a
simple hotfix and delivers a more polished version of the product
selection page, including UX and visual improvements, codebase cleanup,
expanded unit test coverage, and preparation for related near-term
features.

## Testing

* Added new unit tests covering the regression and increasing covered
behaviors
* Manually tested the product selection flow either, in initial
selection and changing the product

2738 of 5096 branches covered (53.73%)

Branch coverage included in aggregate %.

65 of 65 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

20100 of 26207 relevant lines covered (76.7%)

61.12 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.96
3.5% web/web/src/components/product/ProductSelectionPage.tsx
Subprojects
ID Flag name Job ID Ran Files Coverage
3 web 21132015497.3 19 Jan 2026 09:26AM UTC 587
66.41
GitHub Action Run
3 service 21127695779.3 19 Jan 2026 06:37AM UTC 315
89.49
GitHub Action Run
1 rust 19474749743.1 18 Nov 2025 05:18PM UTC 185
22.45
GitHub Action Run
Source Files on build 21132015497
  • Tree
  • List 902
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21132015497
  • bd92c19c on github
  • Prev Build on master (#21127695779)
  • Next Build on master (#21139037645)
  • 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