Skip to content

Commit 7fce495

Browse files
authored
Drop broken user-scoped search (refined-github#1348)
The new search box left this feature broken. I'm dropping it and reopening the original refined-github#1011 Reverts refined-github#1012 https://user-images.githubusercontent.com/1402241/40501999-e433ff74-5f89-11e8-8340-6647f54ab1f6.png
1 parent 75dcbf0 commit 7fce495

3 files changed

Lines changed: 0 additions & 42 deletions

File tree

readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ GitHub Enterprise is also supported. More info in the options.
100100
- Indent text with <kbd>tab</kbd> inside comment fields (<kbd>shift</kbd> <kbd>tab</kbd> for original behavior).
101101
- [Use the pull request title as the commit title when merging with `Squash and merge`](https://github.com/sindresorhus/refined-github/issues/276).
102102
- [View linked gists inline in comments.](https://user-images.githubusercontent.com/6978877/33911900-c62ee968-df8b-11e7-8685-506ffafc60b4.PNG)
103-
- [Search a user profile page when visiting it.](https://user-images.githubusercontent.com/1402241/35185441-24ad4b1e-fe37-11e7-9e1b-0dc09fc1ada2.png)
104103
- [Avoid opening duplicate issues thanks to the list of possibly-related issues.](https://user-images.githubusercontent.com/29176678/37566899-85953e6e-2abf-11e8-9f0e-52d18c87bbe3.gif)
105104
- [Use the pull request description as the commit message when merging with `Squash and merge`](https://github.com/sindresorhus/refined-github/issues/1322).
106105

source/content.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ import waitForBuild from './features/wait-for-build';
7070
import addDownloadFolderButton from './features/add-download-folder-button';
7171
import hideUselessNewsfeedEvents from './features/hide-useless-newsfeed-events';
7272
import closeOutOfViewModals from './features/close-out-of-view-modals';
73-
import addScopedSearchOnUserProfile from './features/add-scoped-search-on-user-profile';
7473
import monospaceTextareas from './features/monospace-textareas';
7574
import improveShortcutHelp from './features/improve-shortcut-help';
7675
import hideNavigationHoverHighlight from './features/hide-navigation-hover-highlight';
@@ -124,10 +123,6 @@ async function init() {
124123
});
125124
}
126125

127-
if (pageDetect.isUserProfile()) {
128-
enableFeature(addScopedSearchOnUserProfile);
129-
}
130-
131126
enableFeature(focusConfirmationButtons);
132127
enableFeature(addKeyboardShortcutsToCommentFields);
133128
enableFeature(addConfirmationToCommentCancellation);

source/features/add-scoped-search-on-user-profile.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)