Skip to content

Commit 1e6b748

Browse files
committed
feature | Revamp the popup UI
1 parent d146637 commit 1e6b748

17 files changed

+826
-424
lines changed

.prettierrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'useTabs': true
22
'tabWidth': 2
3-
'printWidth': 80
3+
'printWidth': 120
44
'singleQuote': true
55
'semi': false
66
'trailingComma': 'all'

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ This chrome extension is a clone of project [**Pluralsight Course Downloader**](
1010
<br><br>
1111
The old extension stopped working because it was not being maintained, so I rewrote the extension. I will be **maintaining** this repository and will be adding more **features**. Currently this extension is in _**BETA**_ stage, so please any report issue that you find. It will help me and other people too.
1212

13+
## Screenshots
14+
![Screenshot-1](./images/screenshot-1.png)
15+
1316
## Installation
1417

1518
You can clone this repository, or download [**zip/tar.gz/.crx(chrome extension)**](https://github.com/sahilsehwag/pluralsight-downloader-chrome-extension/releases/tag/v0.3-alpha), and follow one of the ways mentioned below to install the extension.

images/screenshot-1.png

210 KB
Loading

manifest.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,5 @@
2626
"default_title": "Pluralsight Downloader",
2727
"default_popup": "src/popup.html"
2828
},
29-
"permissions": [
30-
"activeTab",
31-
"declarativeContent",
32-
"storage",
33-
"downloads",
34-
"notifications",
35-
"unlimitedStorage"
36-
]
29+
"permissions": ["activeTab", "declarativeContent", "storage", "downloads", "notifications", "unlimitedStorage"]
3730
}

src/background.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ let listenerInstance = undefined
88
var onChangeFactory =
99
responseCb =>
1010
({ state }) => {
11-
if (
12-
state &&
13-
state.current === 'complete' &&
14-
state.previous === 'in_progress'
15-
) {
11+
if (state && state.current === 'complete' && state.previous === 'in_progress') {
1612
chrome.downloads.onChanged.removeListener(listenerInstance)
1713
responseCb({ actionStatus: 'File downloaded successfully' })
1814
}

src/icons/add.svg

Lines changed: 5 additions & 0 deletions
Loading

src/icons/download.svg

Lines changed: 2 additions & 0 deletions
Loading

src/icons/github.svg

Lines changed: 1 addition & 0 deletions
Loading

src/icons/linkedin.svg

Lines changed: 1 addition & 0 deletions
Loading

src/icons/patreon.svg

Lines changed: 6 additions & 0 deletions
Loading

src/icons/pluralsight.png

710 Bytes
Loading

src/icons/skip.svg

Lines changed: 1 addition & 0 deletions
Loading

src/icons/stop.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)