Download Ids not persisted between tabs
Describe the bug The Downloads icon tracks pending/ready downloads via Session storage. This allows a user to navigate to different parts of the portal while they wait for the download to be ready. If navigating within the same tab downloads queue behaves as expected. However if the user opens the downloads in a new tab then the queue is reset.
Environment
- AEM Version: Cloud Service
- Asset Share Commons Version: 2.0.4+
- Author, Publish or both: both
To Reproduce Steps to reproduce the behavior:
- Navigate to the home screen
- Add an asset to the downloads queue
- Right+Click an Asset details page and open it in a new tab
- Observe that Downloads queue is reset
Expected behavior As an end user I would expect that during the same browsing session the downloads queue is consistent, even if I open a new tab. Not exactly critical, but would be nice to have.
Screenshots

Sounds like the fix would be to move it to LocalStorage?
I guess its not a big deal since the browser storage is the super-set of possible IDs to show; the Server trims the results down based on what is actually available to the user.