Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from softvar:master #5

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
491f920
chore(deps): bump ini from 1.3.5 to 1.3.8
dependabot[bot] Jan 8, 2021
a9c593c
chore(deps): bump yargs-parser from 13.1.1 to 13.1.2
dependabot[bot] Jan 8, 2021
1735ea8
chore(deps): bump elliptic from 6.5.1 to 6.5.3
dependabot[bot] Jan 8, 2021
046a92e
chore(deps): bump bl from 1.2.2 to 1.2.3
dependabot[bot] Jan 8, 2021
c578b83
Merge pull request #4 from medicalhome-aprn/dependabot/npm_and_yarn/b…
Jan 18, 2021
4194ac0
Merge pull request #3 from medicalhome-aprn/dependabot/npm_and_yarn/i…
Jan 18, 2021
339fae4
Merge pull request #2 from medicalhome-aprn/dependabot/npm_and_yarn/y…
Jan 18, 2021
c5d3df1
Merge branch 'master' into dependabot/npm_and_yarn/elliptic-6.5.3
Jan 18, 2021
72967e4
Fix repo size style
sitiom Mar 13, 2021
9c50bca
Merge pull request #86 from sitiom/patch-1
softvar Mar 14, 2021
c5b1ba2
fix(domUtil.js): fis repo size color on hover
softvar Mar 14, 2021
53955c5
5.0.7
softvar Mar 14, 2021
5ca79c0
5.0.8
softvar Mar 14, 2021
90363c2
fix(domUtil.js): fix #87
softvar Mar 23, 2021
2a74758
5.0.9
softvar Mar 23, 2021
f61bfa2
chore(manifest.json): patch release
softvar Mar 23, 2021
313818c
fix(domUtil.js): fix #89
softvar Apr 6, 2021
dfb314c
5.0.10
softvar Apr 6, 2021
670d564
Merge pull request #83 from medicalhome-aprn/dependabot/npm_and_yarn/…
softvar Apr 8, 2021
1516fba
fix(domUtil.js): fix #93
softvar Apr 22, 2021
15b6c97
5.0.11
softvar Apr 22, 2021
c3e4adf
fix(domUtil): update copy and download file btn location as per new UI
softvar Dec 25, 2021
9e0ead2
5.0.12
softvar Dec 25, 2021
1374884
fix(dependency): Update clipboard.js for stability
gauravmuk Oct 18, 2022
6d08501
fix(node.js): Use LTS Node.js for future support
gauravmuk Oct 18, 2022
2bd8277
Add .vscode to gitignore
gauravmuk Oct 23, 2022
e87b840
Add meta charset utf-8
gauravmuk Oct 23, 2022
92f9d64
Merge pull request #122 from gauravmuk/clipboard-stability-fixes
softvar Oct 28, 2022
20ed709
Merge pull request #123 from gauravmuk/node-lts
softvar Oct 28, 2022
e969443
Merge pull request #124 from gauravmuk/vscode-gitignore
softvar Oct 28, 2022
b4298b0
Merge pull request #125 from gauravmuk/options-utf8
softvar Oct 28, 2022
3c39b44
Update README.md
BandhiyaHardik Oct 29, 2023
6084995
Update README.md
BandhiyaHardik Oct 29, 2023
ee099a4
Merge pull request #136 from BandhiyaHardik/𝕏
softvar Oct 29, 2023
270d75d
fix: Update selector path for filesize and download link
softvar Jun 1, 2024
539993c
6.0.0
softvar Jun 1, 2024
780ec4f
refactor: redesigned options page
softvar Jun 3, 2024
930b461
6.1.0
softvar Jun 3, 2024
e245d81
chore: Updated screenshots in README
softvar Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules/
.idea
.DS_Store
coverage
.vs_code
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 10.16.0
- 16.18.0
- node
install:
- yarn install
Expand Down
42 changes: 35 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## **v6.1.0** - 2024-06-03

- Redesigned Options page to enter GitHub access token for private repos or higher rate limits for public repos

## **v6.0.0** - 2024-06-02

- Support latest GitHub Interface 🎉

## **v5.0.12** - 2021-12-25

- Fix selector path as per new UI design for showing copy file and download options at the correct location.

## **v5.0.11** - 22nd April, 2021

- Fix [93](https://github.com/softvar/enhanced-github/issues/93) i.e. repo size not appearing properly because of Readme TOC feature.

## **v5.0.10** - 6th April, 2021

- Fix [89](https://github.com/softvar/enhanced-github/issues/89) i.e. repo size not appearing properly because of Readme TOC feature.

## **v5.0.9** - 23rd Mar, 2021

- Fix [#87](https://github.com/softvar/enhanced-github/issues/87)

## **v5.0.7** - 14th Mar, 2021

- Fix repo size color. [#86](https://github.com/softvar/enhanced-github/pull/86)

## **v5.0.6** - 02nd Jan, 2021

- Fix displaying of files having size `0` i.e. pointing to other repositories. FIxes - [#78](https://github.com/softvar/enhanced-github/issues/78)
- Fix displaying of files having size `0` i.e. pointing to other repositories. Fixes - [#78](https://github.com/softvar/enhanced-github/issues/78)

## **v5.0.5** - 30th Dec, 2020

Expand Down Expand Up @@ -36,18 +64,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## **v4.0.1** - 17th July, 2020

- Fix #66 i.e. content appearing multiple times
- Fix #66 i.e. content appearing multiple times

## **v4.0.0** - 26th June, 2020

- Support new GitHub Design. Refer [GitHub Blog](https://github.blog/changelog/2020-06-23-design-updates-to-repositories-and-github-ui/)
- Backward compatibility to the old design, if new UI is not 100% publicly available.
- Fix the options token validation message issue.
- Support new GitHub Design. Refer [GitHub Blog](https://github.blog/changelog/2020-06-23-design-updates-to-repositories-and-github-ui/)
- Backward compatibility to the old design, if new UI is not 100% publicly available.
- Fix the options token validation message issue.

## **v3.1.0** - 6th Jan, 2020

- Extension only utilizes `webNavigation` history for GitHub website using webNavigation event filters. Rest assured, history of any other website is not permitted.
- Updated README with the doc link explaining introduction of `webRequest` and `webNavigation` API for supporting single-page GitHub website.
- Extension only utilizes `webNavigation` history for GitHub website using webNavigation event filters. Rest assured, history of any other website is not permitted.
- Updated README with the doc link explaining introduction of `webRequest` and `webNavigation` API for supporting single-page GitHub website.

## **v3.0.1** - 3rd Jan, 2020

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016-2021 Varun Malhotra
Copyright (c) 2016-2024 Varun Malhotra

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The extension handles the SPA behavior of GitHub website from `v3.0.0` onwards :

Varun Malhotra
<a href="https://varunmalhotra.xyz"><img align="center" alt="Varun Malhotra Website" src="https://img.icons8.com/material/24/000000/domain--v1.png"/></a>
<a href="https://twitter.com/s0ftvar"><img align="center" alt="twitter" src="https://img.icons8.com/fluent/24/000000/twitter.png"/></a>
<a href="https://twitter.com/s0ftvar"><img align="center" alt="𝕏" src="https://img.icons8.com/ios-glyphs/24/twitterx--v2.png"/></a>
<a href="https://stackoverflow.com/users/2494535/softvar"><img align="center" alt="StackOverflow" src="https://img.icons8.com/color/24/000000/stackoverflow.png" /></a>
<a href="https://www.linkedin.com/in/softvar/"><img align="center" alt="LinkedIn" src="https://img.icons8.com/color/24/000000/linkedin.png" /></a>
<a href="https://github.com/softvar"><img align="center" alt="GitHub" src="https://img.icons8.com/fluent/24/000000/github.png"/></a>
Expand All @@ -75,7 +75,7 @@ To tackle this, create a new GitHub Access Token.

Right-click on enhanced-github extension and click on `Options` in the dropdown menu.

<img src="screenshots/extension-options-page.png" width="380" />
<img src="screenshots/2024-redesigned-options.png" width="380" />

5. Enter the valid GitHub Access Token
6. Click on `SAVE` and Enjoy the benefits.
Expand All @@ -84,6 +84,12 @@ This browser extension will automatically pick this valid access token and Bingo

## Screenshots

### 2024 - Updated GitHub UI

#### Screenshot of each file size and it's download link

<img src="screenshots/2024-enhanced-github-new-design.png">

### New GitHub Design - [Blog](https://github.blog/changelog/2020-06-23-design-updates-to-repositories-and-github-ui/)

#### Screenshot of each file size and it's download link
Expand Down Expand Up @@ -163,7 +169,7 @@ Refer [Privacy Policy](https://varunmalhotra.xyz/enhanced-github/#privacy-policy

> The [MIT license](https://opensource.org/licenses/MIT) (MIT)
>
> Copyright (c) 2016-2021 Varun Malhotra
> Copyright (c) 2016-2024 Varun Malhotra
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
Expand Down
24 changes: 24 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// const globals = require('globals');
const pluginJs = require('@eslint/js');
const prettierConfig = require('eslint-config-prettier');

module.exports = [{
languageOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
globals: {
require: 'readonly', // Declare 'require' as a global variable
document: 'readonly',
window: 'readonly',
local: 'readonly',
URL: 'readonly',
setTimeout: 'readonly',
setInterval: 'readonly',
clearInterval: 'readonly',
module: 'readonly'
}
},
},
pluginJs.configs.recommended,
prettierConfig
];
Binary file added images/Reviews1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Reviews2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 17 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Enhanced GitHub",
"short_name": "Enhanced GitHub",
"version": "5.0.6",
"manifest_version": 2,
"version": "6.1.0",
"manifest_version": 3,
"description": "Display repo size, size of each file, download link and option to copy file contents",
"homepage_url": "https://github.com/softvar/enhanced-github",
"author": "Varun Malhotra",
Expand All @@ -11,24 +11,34 @@
"48": "icons/enhanced-github48.png",
"128": "icons/enhanced-github128.png"
},
"browser_action": {
"action": {
"default_icon": "icons/enhanced-github48.png",
"default_popup": "popup.html",
"default_title": "Enhanced GitHub"
},
"permissions": ["*://*.github.com/*", "storage", "webRequest", "webNavigation"],
"permissions": ["storage", "webRequest", "webNavigation"],
"host_permissions": ["*://*.github.com/*"],
"content_scripts": [
{
"matches": ["*://*.github.com/*"],
"js": ["src/inject.js"]
}
],
"background": {
"scripts": ["background.js"],
"persistent": true
"service_worker": "background.js",
"scripts": ["background.js"]
},
"options_ui": {
"page": "options.html",
"chrome_style": true
"open_in_tab": true
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"browser_specific_settings": {
"gecko": {
"id": "{72bd91c9-3dc5-40a8-9b10-dec633c0873f}",
"strict_min_version": "42.0"
}
}
}
Loading