|
Ran
|
Jobs
3
|
Files
1098
|
Run time
2min
|
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 %.
3 of 7 new or added lines in 1 file covered. (42.86%)
62 existing lines in 1 file now uncovered.23708 of 36321 relevant lines covered (65.27%)
47.43 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
45.1 |
0.13% | web/src/queries/software.ts |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 62 |
45.95 |
0.11% | web/web/src/queries/software.ts |
| ID | Flag name | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|---|
| 3 | web | 16114985631.3 | 540 |
68.16 |
GitHub Action Run | |
| 1 | rust | 16030796018.1 | 173 |
21.91 |
GitHub Action Run | |
| 3 | service | 16069055957.3 | 385 |
88.55 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|