summaryrefslogtreecommitdiff
path: root/source/features/no-unnecessary-split-diff-view.tsx
blob: 30e05147a08de45e5397a03169f3368ebb444700 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import './no-unnecessary-split-diff-view.css';
import * as pageDetect from 'github-url-detection';

import features from '../feature-manager.js';

void features.addCssFeature(import.meta.url, [
	pageDetect.hasFiles,
]);

/*

## Test URLs

### PR files

https://github.com/refined-github/sandbox/pull/50/files?diff=split

### PR files with annotations

https://github.com/fregante/sandbox/pull/30/files

### Compare page

https://github.com/refined-github/sandbox/compare/no-unnecessary-split-diff-view?expand=1&diff=split

### Single commit

https://github.com/refined-github/sandbox/commit/c28cc8e5271452b5b4c347d46a63f717c29417d6?diff=split

*/