Page MenuHomePhabricator

Clicking "Add link" on a selected work has UX issues
Open, LowPublic

Description

  1. Select a word you want to link
  2. Observe in the sidebar the "+ Add link" button
  3. First issue: the title is incorrectly aligned

image.png (187×384 px, 22 KB)

  1. Click the "+ Add link" button
  2. Second issue: The word is linked but the surface is immediately blurred, losing your place in the document. The sidebar goes back to showing the issues card, so there is no confirmation of your action.
  3. Click on the link to focus it again.
  4. Third issue: An empty link inspector is shown in the sidebar:

image.png (66×379 px, 2 KB)

Event Timeline

Nikerabbit moved this task from Needs Triage to Bugs on the ContentTranslation board.

Change 819094 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/ContentTranslation@master] Fix inheritance of CXTextSelectionContextItem

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

Change 819105 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/ContentTranslation@master] Fix selection of new link in TextSelectionContextItem

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

Change 819106 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/ContentTranslation@master] Fix empty rendering of new CXLinkContextItem's

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

The above three patches fix the three issues in the description respectively.

Change 819094 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Fix inheritance of CXTextSelectionContextItem

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

Change 819105 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Fix selection of new link in TextSelectionContextItem

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

Change 819106 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Fix empty rendering of new CXLinkContextItem's

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