[PAGES-473] Add tool tip to control-bar icon Created: 15/Jul/21  Updated: 21/Jul/21  Resolved: 21/Jul/21

Status: Closed
Project: Magnolia pages module
Component/s: Editor Widget
Affects Version/s: None
Fix Version/s: 6.2.10

Type: Improvement Priority: Neutral
Reporter: Quach Hao Thien Assignee: Quach Hao Thien
Resolution: Fixed Votes: 0
Labels: VN-Implementation, VN-Testing
Remaining Estimate: Not Specified
Time Spent: 1d 5h
Original Estimate: Not Specified

Attachments: PNG File image-2021-07-15-08-34-49-373.png    
Issue Links:
Relates
relates to LIVECOPY-270 Show master reference of component on... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Epic Link: Live Copy maintenance
Sprint: Content Mngmt 08
Story Points: 3

 Description   

Currently the icon displays on the control-bar (Area or Component) have it own meaning, therefore we need a meaningful tooltip which could help to explain the icon while mouse-hover.

E.g: This is a tooltip which states the component is a slave of the master: /travel/tour-type/main/0

AC:

  • Allow to extracts the icons attribute either Json String or String format
  • If the icons attribute is Json string format, it should have the following pattern
    "{'cssClasses': 'icon-foo', 'tooltip': 'This is foo'}"
  • If the icons attribute in String format that obviously the tooltip is not necessary in this case, working like current behaviour

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