Page MenuHomePhabricator

Don't swap link cards when opening the link of the card behind
Closed, ResolvedPublic1 Story Points

Description

Link cards are presented usually in pairs. Although the card in front represents the main action (add/remove link in the translation), it is possible to explore the card behind by either hovering (the card behind is temporary revealed allowing to click on the link to open it) or clicking on the card (cards switch positions).

The problem is that when the link from the card behind it is opened, the click event propagates to the whole card and the cards are also swapped. Cards should be only swapped when clicking on the card behind except when clicking on the link.

Event Timeline

Pginer-WMF raised the priority of this task from to Needs Triage.
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF added a project: ContentTranslation.
Amire80 triaged this task as Normal priority.Jul 23 2015, 5:23 PM
Amire80 set Security to None.
santhosh claimed this task.Jul 27 2015, 4:09 AM

Change 227178 had a related patch set uploaded (by Santhosh):
Don't swap link cards when opening the link of the card behind

https://gerrit.wikimedia.org/r/227178

santhosh moved this task from Backlog to In Review on the LE-CX6-Sprint 1 board.

Change 227178 merged by jenkins-bot:
Don't swap link cards when opening the link of the card behind

https://gerrit.wikimedia.org/r/227178

Amire80 closed this task as Resolved.Jul 27 2015, 4:18 PM
Amire80 moved this task from In Review to Done on the LE-CX6-Sprint 1 board.
Amire80 removed a project: Patch-For-Review.
Amire80 edited a custom field.
Amire80 moved this task from Bugs to Links on the ContentTranslation-Release6 board.