[MGNLUI-4713] Transform letter case for Find Bar result groups Created: 16/Oct/18  Updated: 20/Nov/18  Resolved: 19/Nov/18

Status: Closed
Project: Magnolia UI
Component/s: find bar
Affects Version/s: None
Fix Version/s: 6.0

Type: Task Priority: Neutral
Reporter: Antti Hietala Assignee: Hieu Nguyen Duc
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 7h
Original Estimate: Not Specified

Attachments: PNG File group-labels.png    
Issue Links:
Cloners
clones MGNLUI-4685 Make FindBar i18nizable Closed
Issue split
split to MGNLUI-4788 Provide UI labels for Find Bar result... Closed
relation
is related to LANG-85 Translate Find Bar labels Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Resurface polishing
Sprint: Saigon 158
Story Points: 0.5

 Description   

Decision: Do CSS transform now.

Business benefit: Ability to define and translate Find Bar result group labels.

Acceptance criteria:

  • Default Find Bar result groups have user interface labels:
    • App
    • Top hits
    • Pages, Assets, Stories, Tours
  • The labels are in sentence case, initial capital letter.
  • Customers have a way to define group labels for their own apps.
    • A sensible fallback is provided if the customer does not define a group label, such as the app's title "Products" 

Mockup: https://zpl.io/an9QmBr

 



 Comments   
Comment by Antti Hietala [ 18/Oct/18 ]

Timebox to 3 SP. If making the labels translatable is beyond 3, stop there and extract the task for translatable labels to a new ticket.

Comment by Antti Hietala [ 07/Nov/18 ]

A quick alternative to make group labels look a bit more polished is to transform letter case with CSS:

.supplier {
    text-transform: capitalize;
} 

tours -> Tours

Estimated: 0.5 SP

Comment by Antti Hietala [ 13/Nov/18 ]

Issue split into:

MGNLUI-4788 Provide UI labels for Find Bar result groups
Comment by Dai Ha [ 19/Nov/18 ]

Verified with magnolia-enterprise-pro-demo-bundle-6.0-20181118.232456-634-tomcat-bundle.zip
Result group text from find-bar now in camel case.

Generated at Mon Feb 12 09:19:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.