[MGNLHARDLK-64] "Edit Page” should be dimmed when item is locked Created: 08/Sep/15  Updated: 16/Oct/15  Resolved: 14/Sep/15

Status: Closed
Project: Project - Telia - Hard Locking (closed)
Component/s: None
Affects Version/s: 0.24
Fix Version/s: 0.31

Type: Bug Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Ngoc Nguyenthanh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 3h
Time Spent: 2d 5h
Original Estimate: 3d

Attachments: PNG File Screen Shot 2015-09-09 at 11.22.10 AM.png     PNG File Screen Shot 2015-09-09 at 11.35.22 AM.png    
Template:
Acceptance criteria:
Empty
Account: TeliaSonera (TELIA)
Epic Link: Hard Locking
Sprint: Telia - Sprint WishList, Telia - Sprint 11

 Description   

There are 2 solutions to fix this bug:

1. Change css from table by adding setCellStyleGenerator in ListViewImpl class.
Patch: https://gist.github.com/gjoseph/4abaa7aca7fdd5c7bd81
Of course, we need to change both tree and list configuration for Page, Dam, Resource, Template, Configuration

2. Apply css at LockColumnFormatter

In Lock column, for each locked row, we will add 1 image ("Display: none;" need to be set for this image) and js function onload() for this image.
This js function will find "tr" (parent of image) and add special css class for this "tr" to make grey row

  • Actual implementation:* Choose option 2. Because option 1 will change a lot of code and configure for page, dam, ... It is unnecessary. Option 1 maybe will support in magnolia version 5.5


 Comments   
Comment by Oanh Thai Hoang [ 14/Sep/15 ]

Please check in branch MGNLHARDLK-64 for reviewing

Generated at Mon Feb 12 10:32:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.