You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
no-useless-split-diff-view is broken on GitHub Enterprise #4483
I think I know what's happening. It checks the left column first, it doesn't find the expected element ([data-split-side="${side}"]:is(.blob-code-addition, .blob-code-deletion)) and therefore it assumes it's empty.
The side detection code needs to be rethought to avoid future issues with this. With the current code, if GitHub changes the selector, this bug will happen again.
For example, it should check whether the selector exists in at least one side. Alternative solutions welcome.
changed the title [-]`hide-empty-split-diff-side` is broken on GitHub Enterprise[/-][+]`no-useless-split-diff-view` is broken on GitHub Enterprise[/+]on Jun 18, 2021
Activity
Disable `hide-empty-split-diff-side` due to #4483
fregante commentedon Jun 17, 2021
The side detection code needs to be rethought to avoid future issues with this. With the current code, if GitHub changes the selector, this bug will happen again.
For example, it should check whether the selector exists in at least one side. Alternative solutions welcome.
simbo commentedon Jun 18, 2021
and disabling this feature seems to have no effect... 🤷♂️
Disable `no-useless-split-diff-view` due to #4483
[-]`hide-empty-split-diff-side` is broken on GitHub Enterprise[/-][+]`no-useless-split-diff-view` is broken on GitHub Enterprise[/+]fregante commentedon Jun 18, 2021
Sorry about that, the feature was named
no-useless-split-diff-view, nothide-empty-split-diff-sideas its PR title suggested.I disabled it globally.