Bug 404341 - collapse duplicative update information
Summary: collapse duplicative update information
Status: RESOLVED DUPLICATE of bug 413272
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-14 13:11 UTC by Harald Sitter
Modified: 2019-10-25 13:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot showing the duplication (142.47 KB, image/png)
2019-02-14 13:11 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2019-02-14 13:11:31 UTC
Created attachment 118070 [details]
screenshot showing the duplication

There are binary packages which contain a huge number of appstream components. And because the update page always lists all components, this can (and does) often result in piles of entirely duplicated and therefore useless information needlessly blowing up the list of updates.

STEPS TO REPRODUCE
1. have a new version of plasma-desktop available (contains like a million components)
2. go to update page

OBSERVED RESULT

I can scroll through largely duplicated information of the plasma-desktop update but duplicated across oh so many components.
There's an update to "Icons-only Task Manager" it goes from 123 to 124. There's an update to "Default Panel" it goes from 123 to 124 (because it is the same effective binary package). There's an update to "Pager" it goes from 123 to 124....
Each component shares the same version, the same changelog, the same everything. Only the actual components offer unique information.

EXPECTED RESULT

It may make sense to "collapse" components if their associated package contains more than N components. This way all the duplicated information would be combined into one entry. This could for example be an entry with the title "The group of components foo, bar, ... " but otherwise looks like a regular entry. Clicking that entry would then expand it and offer a comprehensive list of all components which are part of this group. So by default the duplication goes away since its only one entry in the list, but all the unique information is still preserved if the user wants to know more about what's included.

Collapsing like this possibly also removes a bit of a UX hurdle where visually you can uncheck each component from the update, but effectively that isn't possible since they are all part of the same binary package they only can get all checked or unchecked.


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 5.15
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-02-14 21:46:22 UTC

*** This bug has been marked as a duplicate of bug 403120 ***
Comment 2 Nate Graham 2019-10-24 20:12:00 UTC

*** This bug has been marked as a duplicate of bug 403119 ***
Comment 3 Nate Graham 2019-10-25 13:27:20 UTC

*** This bug has been marked as a duplicate of bug 413272 ***