[Dash] Centered title should be requested by scopes explicitly and limited to one line

Bug #1365549 reported by Alejandro J. Cura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Rest Scopes
Invalid
Undecided
Unassigned
Ubuntu UX
Invalid
High
James Mulholland
timeout-scope
Invalid
Undecided
Unassigned
unity-scope-click (Ubuntu)
Invalid
High
Unassigned
unity-scope-scopes (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Fix Released
High
Michał Sawicz

Bug Description

When showing overlays, the title is always centered and the attributes and subtitles are left-aligned, so it looks wrong.
This screenshot shows the issue: https://launchpadlibrarian.net/183466031/scopes-less-attrs.png

Saviq's suggestion to fix this is to make titles always left aligned too, and to extend the category renderer so some scopes can align to the center if needed, using something like this:
 { "title" : { "field": "title", "align": "center"}, ...}

All categories that wish to have centered titles need to send the above in components, otherwise will be left-aligned.

NOTE also that this will force just a single line of title, so anything that doesn't fit in one line will be elided.

This is all according to the spec:
https://sites.google.com/a/canonical.com/unity8dash/toolkit/4-cards#TOC-Header-Text-Styles

[UX Comment]
As suggested by Alejandro "With the latest changes to the spec and the unity8 branch there's no need for further changes in the scopes, so I'm marking the click scope as invalid for this bug."

Related branches

Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Ying-Chun Liu (paulliu)
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
assignee: Ying-Chun Liu (paulliu) → Michał Sawicz (saviq)
status: Triaged → In Progress
Revision history for this message
Michał Sawicz (saviq) wrote :

Remote scopes - Wikipedia is affected.

Revision history for this message
Michał Sawicz (saviq) wrote : Re: Centered title should be requested by scopes explicitly and limited to one line

Looking through the apps scope, enforcing the single-line element of this might be a problem, there's a lot of apps whose names won't fit in a single line (especially translated).

Adding ubuntu-ux for design feedback.

description: updated
summary: - Overlays with attributes or subtitles look wrong
+ Centered title should be requested by scopes explicitly and limited to
+ one line
description: updated
Thomas Strehl (strehl-t)
tags: added: touch-2014-09-25
Changed in unity-scope-click (Ubuntu):
status: New → Triaged
importance: Undecided → High
summary: - Centered title should be requested by scopes explicitly and limited to
- one line
+ [Dash] Centered title should be requested by scopes explicitly and
+ limited to one line
Changed in ubuntu-ux:
assignee: nobody → James Mulholland (jamesjosephmulholland)
Revision history for this message
Alejandro J. Cura (alecu) wrote :

I think the spec is wrong where it says that only one line should be shown, because in the scope that shows installed apps there are quite a few that need more than one line of title in English (eg: Dropping Letters, System Settings), and there will be more in other languages too.

kevin gunn (kgunn72)
Changed in ubuntu-ux:
status: New → Fix Committed
Revision history for this message
Facundo Batista (facundo) wrote :

This issue doesn't affect the Ubuntu Rest Scopes project, logo overlays are not used there.

Changed in ubuntu-rest-scopes:
status: New → Invalid
Changed in ubuntu-ux:
importance: Undecided → Critical
importance: Critical → High
kevin gunn (kgunn72)
tags: added: touch-2014-10-02
removed: touch-2014-09-25
Revision history for this message
Alejandro J. Cura (alecu) wrote :

With the latest changes to the spec and the unity8 branch there's no need for further changes in the scopes, so I'm marking the click scope as invalid for this bug.

Changed in unity-scope-click (Ubuntu):
status: Triaged → Invalid
kevin gunn (kgunn72)
tags: added: touch-2014-10-09
removed: touch-2014-10-02
Changed in unity-scope-scopes (Ubuntu):
status: New → Invalid
Changed in timeout-scope:
status: New → Invalid
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
description: updated
Changed in ubuntu-ux:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.