summaryrefslogtreecommitdiff
path: root/source/features/milestone-navigation.tsx
diff options
context:
space:
mode:
authorGravatar Anthony Lenglet <36004334+AnthonyLenglet@users.noreply.github.com> 2019-02-12 08:41:33 +0100
committerGravatar Federico Brigante <github@bfred.it> 2019-02-12 15:41:33 +0800
commit23e0512dda9979a0593577d0143d95a0fb1cacaa (patch)
tree4f3ab9ee7e361e16616853cf517bcd10fcc21e4d /source/features/milestone-navigation.tsx
parentb70cecf2f842dab5c22fb7e4df0e2bbab782fa1d (diff)
downloadrefined-github-23e0512dda9979a0593577d0143d95a0fb1cacaa.tar.gz
refined-github-23e0512dda9979a0593577d0143d95a0fb1cacaa.tar.zst
refined-github-23e0512dda9979a0593577d0143d95a0fb1cacaa.zip
Drop feature `milestone-navigation` (#1769)
Now part of GitHub
Diffstat (limited to 'source/features/milestone-navigation.tsx')
-rw-r--r--source/features/milestone-navigation.tsx26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/features/milestone-navigation.tsx b/source/features/milestone-navigation.tsx
deleted file mode 100644
index a42e57ea..00000000
--- a/source/features/milestone-navigation.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import {React} from 'dom-chef/react';
-import select from 'select-dom';
-import features from '../libs/features';
-import {getRepoURL} from '../libs/utils';
-
-const repoUrl = getRepoURL();
-
-function init() {
- select('.repository-content').before(
- <div class="subnav">
- <div class="subnav-links float-left" role="navigation">
- <a href={`/${repoUrl}/labels`} class="subnav-item">Labels</a>
- <a href={`/${repoUrl}/milestones`} class="subnav-item">Milestones</a>
- </div>
- </div>
- );
-}
-
-features.add({
- id: 'milestone-navigation',
- include: [
- features.isMilestone
- ],
- load: features.onAjaxedPages,
- init
-});