|
Ran
|
Files
540
|
Run time
16s
|
Badge
README BADGES
|
push
github
fix(web): do not scroll to top when selecting sofware (#2537) ## Problem Recent changes to cache handling in the web interface caused the software selection page to scroll to the top whenever the user changes their selection. This behavior degrades the user experience. * https://bugzilla.suse.com/show_bug.cgi?id=1245732 (protected link) ## Solution Partially revert https://github.com/agama-project/agama/commit/dc5ea33c1 to separate the selected product's cache from the software/config cache. This prevents the src/App wrapper component from being re-rendered when the configuration updates due to software changes, preserving the scroll position. ## Testing Manually tested: used the generated ISO at https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/ (link may no longer work) to verify that changing the software selection no longer causes the page to scroll to the top.
1887 of 3409 branches covered (55.35%)
Branch coverage included in aggregate %.
10714 of 15078 relevant lines covered (71.06%)
64.22 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|