Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
helmus committed Oct 9, 2017
1 parent 3a9224c commit ed9aec5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
## Jira Hot Linker

A simple Chrome plugin that will show Jira metadata when hovering over a Jira issue key on github.
A Chrome plugin that will show Jira metadata when hovering over a Jira issue key on github.

Now available trough the Chrome Store !
https://chrome.google.com/webstore/detail/jira-hotlinker/lbifpcpomdegljfpfhgfcjdabbeallhk

Make sure to configure your Jira instance url in the options page after installing.
Make sure to configure your Jira instance url in the options page after installing.
You can find the settings by clicking on the extensions icon and selecting options !

[Click here to open the options page after installing the plugin !](https://chrome.google.com/webstore/detail/jira-hotlinker/lbifpcpomdegljfpfhgfcjdabbeallhk)

You can also find the settings by clicking on the extensions icon and selecting options !
The tooltip is enabled on github.com by default,
you can add new domains by clicking on the extension icon or in the option menu.

### Features
- Title and link to Jira
Expand All @@ -18,3 +18,4 @@ You can also find the settings by clicking on the extensions icon and selecting
- Attachments
- Ticket Type / Status / Priority
- Comments
- Pin a ticket on the screen by dragging the title
2 changes: 1 addition & 1 deletion jira-plugin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Jira HotLinker",
"description": "Jira HotLinker, quick access to Jira metadata when hovering over ticket numbers!",
"version": "1.4.6",
"version": "1.5.0",
"manifest_version": 2,
"icons": {
"128": "resources/jiralink128.png"
Expand Down
6 changes: 0 additions & 6 deletions jira-plugin/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ const executeScript = promisifyChrome(chrome.tabs, 'executeScript');
resetDeclarativeMapping();
});

chrome.runtime.onMessage.addListener(function (request) {
if (request.type === 'open_settings') {
chrome.runtime.openOptionsPage();
}
});

chrome.browserAction.onClicked.addListener(async function (tab) {
const config = await storageGet(defaultConfig);
if (!config.instanceUrl) {
Expand Down
6 changes: 0 additions & 6 deletions jira-plugin/src/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ async function mainAsyncLocal() {
const draggable = require('jquery-ui/ui/widgets/draggable');

const config = await getConfig();
if (document.location.href.startsWith('https://github.com/helmus/Jira-Hot-Linker')) {
$('#readme').find('a:contains(Click here to open)').on('click', (e) => {
e.preventDefault();
chrome.runtime.sendMessage({type: 'open_settings'});
});
}
const INSTANCE_URL = config.instanceUrl;
const jiraProjects = await $.get(await getInstanceUrl() + 'rest/api/2/project');

Expand Down

0 comments on commit ed9aec5

Please sign in to comment.