Skip to content

Commit d47f4c6

Browse files
committed
Updated documentation, removed some logging
1 parent 3afa122 commit d47f4c6

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# Useful Forks
2-
3-
Chrome extension, adding a sorted list of starred forks to the GitHub forks page.
2+
Chrome extension, adding a sorted list of starred forks to the GitHub forks page. Results are filtered out if there were never any commits pushed since the fork was created.
43

54
Not published, if you want to install it, enable developer mode in `chrome://extensions` and load the `project` folder as an unpacked extension.
65

7-
![useful](https://user-images.githubusercontent.com/17261478/74049530-9a5e7f00-49d4-11ea-9162-d4ba35764302.PNG)
6+
You should change the [script file](project/useful_forks.js) so that it includes your GitHub username and an [Access Token](https://github.com/settings/tokens/new?scopes=repo&description=UsefulFork).
7+
8+
![example](media/example.png)
89

910
## For devs
11+
The extension uses [content_scripts](https://developer.chrome.com/extensions/content_scripts#declaratively).
1012

11-
The extension uses [content_scripts](https://developer.chrome.com/extensions/content_scripts#declaratively).
13+
## To-do
14+
* Recursive search (for forks of forks)
15+
* Search all forks (paginated results for > 100)
16+
* Publish as a chrome extension
17+
* Allow people to input their Access Token to increase API limits (from Extension's settings rather than through script)

media/example.png

68.4 KB
Loading

project/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Useful Forks !",
2+
"name": "Useful Forks",
33
"version": "1.1",
44
"description": "Displays GitHub forks ordered by stars, and with additional information",
55
"permissions": [

project/useful_forks.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ function add_fork_elements(forkdata_array, user, repo) {
7474
if (!forkdata_array || forkdata_array.length === 0)
7575
return;
7676

77-
console.log(forkdata_array);
78-
7977
let wrapper_html = '<table id="useful_forks_table">';
8078

8179
for (let i = 0; i < Math.min(100, forkdata_array.length); ++i) {
@@ -135,7 +133,6 @@ function prepare_display() {
135133

136134
function check_all_forks(request, user, repo) {
137135
const response = JSON.parse(request.responseText);
138-
console.log(response);
139136
add_fork_elements(response, user, repo);
140137
}
141138

0 commit comments

Comments
 (0)