<table><tr><td style="">jgrulich created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4967" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently in discover we show app size, but we don't make difference between download size and installed<br />
size which can be different (e.g. in flatpak backend). This patch adds download/installed size labels into<br />
the UI instead the original "size" label. The download size label is shown only when the application is not<br />
installed or there is an update available. The installed size label is shown all the time, except if the size<br />
is zero which doesn't make sense. If backend doesn't have download/installed size properties implemented then<br />
the original size label is shown instead so current backends remains unchtouched</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R134 Discover Software Store</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4967" rel="noreferrer">https://phabricator.kde.org/D4967</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>discover/qml/ApplicationPage.qml<br />
libdiscover/backends/FlatpakBackend/FlatpakResource.cpp<br />
libdiscover/backends/FlatpakBackend/FlatpakResource.h<br />
libdiscover/resources/AbstractResource.cpp<br />
libdiscover/resources/AbstractResource.h<br />
libdiscover/resources/ResourcesProxyModel.cpp<br />
libdiscover/resources/ResourcesProxyModel.h</div></div></div><br /><div><strong>To: </strong>jgrulich<br /><strong>Cc: </strong>plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>