Skip to content

Conversation

@dgdavid
Copy link
Contributor

@dgdavid dgdavid commented Jul 4, 2025

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.

Solution

Partially revert dc5ea33 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.

dgdavid and others added 2 commits July 4, 2025 15:57
By keeping selected product in a different cache than software config.
It somehow undo dc5ea33

Co-Authored-By: Imobach González Sosa <[email protected]>
@dgdavid dgdavid requested review from ancorgs and imobachgs July 4, 2025 14:59
@coveralls
Copy link

coveralls commented Jul 4, 2025

Coverage Status

coverage: 76.403% (+0.006%) from 76.397%
when pulling a38fb1e on fix-product-cache
into 94d46cc on master.

@dgdavid dgdavid removed the request for review from ancorgs July 4, 2025 15:03
dgdavid and others added 2 commits July 4, 2025 16:17
Prevents outdated data from being shown in the UI by clearing the cache
of the previously selected product before probing the system. This ensures
the interface reflects the correct, current product state.
@imobachgs imobachgs merged commit 3f739c7 into master Jul 7, 2025
19 checks passed
@imobachgs imobachgs deleted the fix-product-cache branch July 7, 2025 10:53
@imobachgs imobachgs mentioned this pull request Jul 21, 2025
imobachgs added a commit that referenced this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants