Bug 39662 - Center app tiles in the UMC App Center gallery pane
Center app tiles in the UMC App Center gallery pane
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Alexander Kramer
Alexander Kläser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-29 10:02 CET by Alexander Kläser
Modified: 2016-02-04 14:11 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Design
Max CVSS v3 score:


Attachments
Screenshot of app center gallery (71.86 KB, image/png)
2015-10-29 10:02 CET, Alexander Kläser
Details
Patch center apps (3.23 KB, patch)
2015-12-01 16:05 CET, Alexander Kramer
Details | Diff
Screenshot with 3 column app center where 4 columns should be used (85.67 KB, image/png)
2015-12-01 17:52 CET, Alexander Kläser
Details
Improved patch (3.46 KB, patch)
2015-12-08 11:19 CET, Alexander Kramer
Details | Diff
Empty meta catagory (133.14 KB, image/png)
2015-12-11 10:57 CET, Alexander Kramer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2015-10-29 10:02:04 CET
Created attachment 7233 [details]
Screenshot of app center gallery

Cf. screenshot, the current app tiles in the App Center gallery would look better if they were kept centered when resizing the browser window.
Comment 1 Alexander Kramer univentionstaff 2015-12-01 16:05:33 CET
Created attachment 7335 [details]
Patch center apps

As requested the apps are still aligned left, but also a padding-left is added if the window-size has changed, so the apps are 'centered'.
Comment 2 Alexander Kläser univentionstaff 2015-12-01 17:52:20 CET
Created attachment 7336 [details]
Screenshot with 3 column app center where 4 columns should be used

(In reply to Alexander Kramer from comment #1)
> Created attachment 7335 [details]
> Patch center apps
> 
> As requested the apps are still aligned left, but also a padding-left is
> added if the window-size has changed, so the apps are 'centered'.

Works fine in Chromium + FF and looks good. In the attached windows size, 4 columns should be shown, thus there seems to be a minor mistake in the computations.
Comment 3 Alexander Kramer univentionstaff 2015-12-08 11:19:13 CET
Created attachment 7353 [details]
Improved patch

As requested I improved the patch, so 4 apps are displayed in one row.
Comment 4 Alexander Kramer univentionstaff 2015-12-10 12:49:50 CET
r66253
univention-appcenter (5.0.19-22) 
* Bug #39662: Center app tiles in the UMC App Center gallery pane

r66254 yaml file

Package: univention-appcenter
Version: 5.0.19-22.82.201512101247
Branch: ucs_4.1-0
Scope: errata4.1-0
Comment 5 Alexander Kramer univentionstaff 2015-12-11 10:57:01 CET
Created attachment 7362 [details]
Empty meta catagory

If one have installed at least one app, opens the App Center and starts a live search - then it is possible that a meta category is empty but still visible.
(see screenshot)
Comment 6 Alexander Kramer univentionstaff 2015-12-11 12:52:40 CET
r66276
univention-appcenter (5.0.19-25) 
* Bug #39662: Hide empty meta categories

Successful build
Package: univention-appcenter
Version: 5.0.19-25.85.201512111250
Branch: ucs_4.1-0
Scope: errata4.1-0
Comment 7 Alexander Kläser univentionstaff 2015-12-16 17:57:05 CET
Changes: OK
YAML: OK, added package version.

VERIFIED
Comment 8 Alexander Kläser univentionstaff 2015-12-16 18:02:48 CET
REOPEN again: When making a page reload with an app directly addressed in the URI, the apps are not centered when going back to the app center gallery.
Comment 9 Alexander Kramer univentionstaff 2015-12-21 11:09:20 CET
(In reply to Alexander Kläser from comment #8)
> REOPEN again: When making a page reload with an app directly addressed in
> the URI, the apps are not centered when going back to the app center gallery.

r66487
univention-appcenter (5.0.19-36) 
* Bug #39662: onBack will now trigger _centerApps

Also fixed that sometimes the first meta-category wasn't centered properly.

r66488 yaml file

Successful build
Package: univention-appcenter
Version: 5.0.19-36.94.201512211106
Branch: ucs_4.1-0
Scope: errata4.1-0
Comment 10 Alexander Kläser univentionstaff 2016-01-20 15:36:08 CET
Changes: OK, centering works fine also after reload
YAML: OK, package version is up-to-date

→ VERIFIED
Comment 11 Janek Walkenhorst univentionstaff 2016-02-04 14:11:06 CET
<http://errata.software-univention.de/ucs/4.1/79.html>