-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from crnbrdrck/0.1.8
0.1.8
- Loading branch information
Showing
12 changed files
with
109 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
# GitHub User Languages Changelog | ||
If your browser just opened this page, that means that a new version of the extension has gone live! | ||
# 0.1.8 | ||
- Removed the opening of this page when an update is installed | ||
- Fixed issue where requests were being made on pages they shouldn't have been | ||
- Prevented extension from adding anything to a page if the repo data for the account is empty | ||
- Improved design of options page | ||
|
||
Take a look at what was added in this update directly below, or take a look at the project's entire history by reading the entire page! | ||
|
||
## 0.1.7 (latest) | ||
# 0.1.7 | ||
- Added simple settings popup | ||
- Allows for turning on and off the chart legend on all pages | ||
- Allows adding a GitHub personal access token to allow more API usage | ||
- Simply click on the icon in the toolbar to access the settings popup | ||
- Extension now opens a tab briging you here so you can see new changes | ||
|
||
## 0.1.6 | ||
# 0.1.6 | ||
- Added error handling for when querying the API goes wrong | ||
|
||
## 0.1.5 | ||
# 0.1.5 | ||
- New logo courtesy of [ihtiht](https://github.com/ihtiht)! | ||
|
||
## 0.1.4 | ||
# 0.1.4 | ||
- Fixed issues with charts not displaying on Org pages | ||
- Also was an issue where my HTML wasn't correct on Org pages | ||
- Somehow I think the two were related | ||
|
||
## 0.1.3 | ||
# 0.1.3 | ||
- Pie chart now displays on org pages as well as user pages | ||
- The chart is quite large on org pages because Chart.js tries to fill the container width wise and I've set the height to match the width | ||
- If this is a problem, please open an issue and we can discuss this further | ||
|
||
## 0.1.2 | ||
# 0.1.2 | ||
- Added checks to ensure that the extension pulls all of a user's repos using GitHub's pagination | ||
- Previously the extension would only get the first 30 repos created by the user | ||
|
||
## 0.1.1 | ||
# 0.1.1 | ||
- Added caching to avoid over-using the GitHub API | ||
- Currently cache timeout is set to be an hour but will later make this changeable per user | ||
- Due to a difference in ordering between data pulled from cache and from the API, the languages are now drawn in alphabetical order clockwise around the pie chart to keep ordering the same |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> | ||
<style> | ||
body { | ||
width: 400px; | ||
} | ||
body, input[type="text"] { | ||
font-family: "Lato", sans-serif; | ||
font-weight: 400; | ||
} | ||
input[type="text"] { | ||
width: 100%; | ||
width: 90%; | ||
} | ||
input[type="checkbox"] { | ||
vertical-align: middle; | ||
} | ||
footer { | ||
text-align: right; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h3>GitHub User Languages Settings</h3> | ||
<hr /> | ||
<input type="checkbox" id="show-legend" disabled /> | ||
<label for="show-legend">Show Legend In Chart</label> | ||
<hr /> | ||
<input type="text" id="personal-access-token" disabled /> | ||
<label for="personal-access-token">Personal Access Token <small>Click out of input to save</small>.</label> | ||
<p><a id="get-token" href="#">Click here</a> to generate one. These are used to increase the number of API requests you make.</p> | ||
<header> | ||
<img src="https://github.com/crnbrdrck/github-user-languages/raw/master/img/logotype_horizontal.png" alt="gh-user-langs logo" width="400" height="92" /> | ||
</header> | ||
<main> | ||
<h4>Chart Settings</h4> | ||
<input type="checkbox" id="show-legend" disabled /> | ||
<label for="show-legend"><span>Show Legend</span></label> | ||
|
||
<h4>API Token <small>Click out of input to save</small></h4> | ||
<label for="personal-access-token">Token</label> | ||
<input type="text" id="personal-access-token" disabled /> | ||
<p><a id="get-token" href="#">Click here</a> to generate one. These are used to increase the number of API requests you make.</p> | ||
</main> | ||
<footer> | ||
<small>GitHub User Languages v0.1.8</small> | ||
</footer> | ||
<script src="js/popup.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.