Skip to content

Commit

Permalink
Merge pull request yuvipanda#7 from ranashreyas/icon_and_rebrands
Browse files Browse the repository at this point in the history
Icon and Rebrands
  • Loading branch information
ryanlovett authored Feb 1, 2024
2 parents 9e13485 + 0d70f77 commit 1fcc0d1
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nbgitpuller Link Generator WebExtension
# Datahub Link Generator WebExtension

A browser extension to help you generate [nbgitpuller](https://jupyterhub.github.io/nbgitpuller/)
A browser extension to help you generate [Datahub](https://jupyterhub.github.io/nbgitpuller/)
links directly from GitHub.

[Install Firefox Extension](https://addons.mozilla.org/en-US/firefox/addon/nbgitpuller-link-generator/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search)
Expand All @@ -11,9 +11,9 @@ It adds an icon to the browser toolbar which will be enabled whenever you are on

On clicking the button, a form pops up. You can enter a JupyterHub URL and the application
you want to use to open this file, folder or repository. Then you
can just copy the nbgitpuller URL, and share it with your students!
can just copy the Datahub URL, and share it with your students!

![nbgitpuller popover](screenshot-popover.png)
![popover](screenshot-popover.png)

The JupyterHub URL and application you choose are remembered, so
you do not need to enter it over and over again.
Expand All @@ -35,20 +35,20 @@ from the [the Chrome Web Store](https://chrome.google.com/webstore/detail/nbgitp
### On Firefox

1. Download the `.zip` version of the latest [release](https://github.com/yuvipanda/nbgitpuller-link-generator/releases)
of the extension. You want the file named `nbgitpuller_link_generator-<version>.zip`.
of the extension. You want the file named `datahub_link_generator-<version>.zip`.
2. In your firefox, go to the [about:debugging](about:debugging#/runtime/this-firefox) page,
and select the 'This Firefox' tab on the left.
3. Under *Temporary Extensions*, click *Load Temporary Add-on...*.
4. Navigate to the `.zip` file you downloaded in step 1, and select that
5. This should enable the addon! If you go to any repo on GitHub, you should see
the nbgitpuller button now!
the Datahub button now!

You can find more information [here](https://developer.mozilla.org/en-US/docs/Tools/about:debugging#extensions).

### On Google Chrome / Chromium

1. Download the `.zip` version of the latest [release](https://github.com/yuvipanda/nbgitpuller-link-generator/releases)
of the extension. You want the file named `nbgitpuller_link_generator-<version>.zip`.
of the extension. You want the file named `datahub_link_generator-<version>.zip`.
2. Extract the `.zip` file you downloaded.
3. In your Google Chrome / Chromium, go to [chrome://extensions](chrome://extensions/).
4. Enable the *Developer Mode* toggle in the top right. This should make a few options visible
Expand Down
Binary file modified logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nbgitpuller-link-generator",
"name": "datahub-link-generator",
"version": "3.0.0",
"description": "",
"private": true,
Expand All @@ -8,15 +8,15 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/yuvipanda/nbgitpuller-link-generator.git"
"url": "git+https://github.com/berkeley-dsep-infra/nbgitpuller-link-generator-webextension.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/yuvipanda/nbgitpuller-link-generator/issues"
"url": "https://github.com/berkeley-dsep-infra/nbgitpuller-link-generator-webextension/tree/main"
},
"homepage": "https://github.com/yuvipanda/nbgitpuller-link-generator#readme",
"homepage": "https://github.com/berkeley-dsep-infra/nbgitpuller-link-generator-webextension/tree/main",
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
Expand Down
Binary file modified src/icon_32.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 modified src/icon_32_disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Form() {
setFinishedCopying(true);
setTimeout(() => setFinishedCopying(false), 3 * 1000)
}}>
<CopyIcon /> {finishedCopying ? "Copied!" : "Copy nbgitpuller link"}
<CopyIcon /> {finishedCopying ? "Copied!" : "Copy Datahub link"}
</Button>
</Box>
}
Expand Down
6 changes: 3 additions & 3 deletions src/manifest-chrome.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "nbgitpuller Link generator",
"name": "Datahub Link generator",
"version": "3.0",
"description": "A browser extension to generate nbgitpuller (http://jupyterhub.github.io/nbgitpullerbgitpuller) links directly from GitHub",
"description": "A browser extension to generate Datahub links directly from GitHub",
"permissions": [
"tabs"
],
Expand All @@ -13,7 +13,7 @@
"default_icon": {
"32": "icon_32.png"
},
"default_title": "Generate nbgitpuller link",
"default_title": "Generate Datahub link",
"default_popup": "popup.html"
}
}
6 changes: 3 additions & 3 deletions src/manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "nbgitpuller Link generator",
"name": "Datahub Link generator",
"version": "3.0",
"description": "A browser extension to generate nbgitpuller (http://jupyterhub.github.io/nbgitpullerbgitpuller) links directly from GitHub",
"description": "A browser extension to generate Datahub (http://jupyterhub.github.io/nbgitpullerbgitpuller) links directly from GitHub",
"permissions": [
"tabs"
],
Expand All @@ -18,7 +18,7 @@
"default_icon": {
"32": "icon_32.png"
},
"default_title": "Generate nbgitpuller link",
"default_title": "Generate Datahub link",
"default_popup": "popup.html"
}
}
2 changes: 1 addition & 1 deletion src/popup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<title>NBGitPuller</title>
<title>DataHub Link Generator</title>
</head>
<body>
<div id="root" style="width:320px; height:200px;"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/popup_disabled.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<title>NBGitPuller</title>
<title>DataHub</title>
</head>
<body>
<div id="root" style="width:320px; height:200px;">
Expand Down

0 comments on commit 1fcc0d1

Please sign in to comment.