Skip to content

No code intelligence on commit views on recent Phabricator versions

Created by: lguychard

Steps to reproduce:

  1. bitnami/phabricator version: >= 2019.21.0-r25
  2. Navigate to a commit views
  3. Hover tokens

Expected behavior:

  1. Code intelligence hovers appear

Actual behavior:

  1. Code intelligence hovers don't appear

Notes

getLineNumberCellFromCodeElement() expects the line number cell to be a <th>, but on recent Phabricator versions it's a <td> with a data-n attribute:

image