Skip to content

Commit e1c4a97

Browse files
authored
Merge pull request #7 from klaufel/feat/update-new-interface-and-utils
Update extension
2 parents 98b5f9f + 459fce3 commit e1c4a97

File tree

9 files changed

+175
-160
lines changed

9 files changed

+175
-160
lines changed

README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,47 @@
11
<h1 align="center">
2-
🔷 GoJIRA
2+
🔷 Go JIRA
33
<br/><br/>
44
</h1>
55

66
<h4 align="center">An awesome JIRA browser extension to provides useful tools!</h4>
77

8+
<p align="center">
9+
<a href="https://chrome.google.com/webstore/detail/gojira/kedgeclbpechdggkikfibghmldgehege" target="_blank">Install chrome extension</a>
10+
</p>
11+
812
<p align="center">
913
<a href="#fire-overview">Overview</a> •
10-
<a href="#rocket-getting-started">Getting Started</a>
14+
<a href="#rocket-getting-started">Getting started</a> •
15+
<a href="#rocket-getting-started">Developing</a>
1116
</p>
1217

1318
<p align="center">
14-
<img src="https://user-images.githubusercontent.com/1427623/94141222-b718cb80-fe6c-11ea-919e-324926cd576a.png" width="260" height="533" alt="GoJIRA browser extension for JIRA">
19+
<img src="https://user-images.githubusercontent.com/1427623/99705518-1de7e900-2a9a-11eb-8daa-ffdfe1098060.png" width="260" alt="Go JIRA browser extension for JIRA">
1520
</p>
1621

1722
## :fire: Overview
1823

19-
JIRA browser extension to provides useful tools to manage your dashboards and direct links to your most used JIRA dashboards, such as your current sprint, backlog and quickly access any ticket using its id.
24+
JIRA browser (actually Google chrome) extension to provides useful tools to manage your dashboards and direct links to your most used JIRA dashboards, such as your current sprint, backlog and quickly access any issue.
25+
26+
# :rocket: Getting started
27+
28+
Install the extension in your browser (Google chrome actually):
29+
https://chrome.google.com/webstore/detail/gojira/kedgeclbpechdggkikfibghmldgehege
30+
31+
Configure the extension to get quick access to your current sprint and backlog.
32+
33+
You can quickly search for a task using text or your issue id.
34+
35+
Also collapse and expand the tasks of your sprint that are open or closed or all.
36+
37+
![](https://user-images.githubusercontent.com/1427623/99705636-4839a680-2a9a-11eb-867b-b2ab76e9a452.png)
38+
39+
## Use omnibox for quick search issue
40+
41+
When opening a new tab, you can use the search bar to type: `gojira` and then write the issue you want to search. Its fast!
42+
43+
![](https://user-images.githubusercontent.com/1427623/99706165-f80f1400-2a9a-11eb-8eb6-493e702eb6ee.png)
2044

21-
## :rocket: Getting Started
45+
## :rocket: Developing
2246

2347
Download repository and go to your browser extension manager. Then install this extension with `load unzipped` mode and select the extension folder.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Go JIRA!",
2+
"name": "Go JIRA",
33
"version": "1.0.1",
44
"description": "JIRA browser extension to provides useful tools to manage your dashboards and direct links to your most used JIRA dashboards.",
55
"permissions": ["activeTab", "declarativeContent", "storage"],

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
{
22
"name": "gojira",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "JIRA browser extension to provides useful tools to manage your dashboards and direct links to your most used JIRA dashboards.",
55
"main": "",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"zip": "zip -r gojira.zip ."
8+
"zip": "zip -r gojira-$npm_package_version.zip ."
99
},
1010
"repository": {
1111
"type": "git",
1212
"url": "git+https://github.com/klaufel/gojira.git"
1313
},
14-
"keywords": [],
14+
"keywords": [
15+
"jira",
16+
"chrome",
17+
"extension",
18+
"jira-issue",
19+
"jira-ticket",
20+
"chrome-extension",
21+
"atlassian",
22+
"atlassian-jira"
23+
],
1524
"author": "Juan Carlos Ruiz <[email protected]>",
1625
"license": "ISC",
1726
"bugs": {

src/modules/background/background.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>GoJIRA / Configuration</title>
4+
<title>Go JIRA / Configuration</title>
55
</head>
66
<body>
77
<script src="background.js" type="module"></script>

src/modules/options/options.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>GoJIRA / Configuration</title>
4+
<title>Go JIRA / Configuration</title>
55
<link rel="stylesheet" type="text/css" href="../../styles/base.css" />
66
</head>
77
<body>
88
<div class="wrapper wrapper--form">
9-
<h1>&#x1f537; GoJIRA</h1>
9+
<h1>&#x1f537; Go JIRA</h1>
1010
<p>Configure the extension to be a productivity raptor!</p>
1111
<hr />
12-
<form id="configForm" class="form">
13-
<div id="form"></div>
12+
<form class="form">
13+
<div class="form__options"></div>
1414
<button class="button" type="submit">Save config</button>
1515
<div class="messages"></div>
1616
</form>

src/modules/options/options.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { _browser, syncStorage } from "../../config/repository.js";
22
import { INPUT_FORM, INPUT_KEYS } from "../../config/form.js";
33

4-
const configForm = document.getElementById("configForm");
5-
const formOptions = document.getElementById("form");
4+
const form = document.querySelector(".form");
5+
const formOptions = document.querySelector(".form__options");
66
const messages = document.querySelector(".messages");
77

88
const getDomainUrl = (url) => {
@@ -32,7 +32,7 @@ const genForm = (values) => {
3232
const loadConfig = () => syncStorage(INPUT_KEYS, (values) => genForm(values));
3333

3434
const saveConfig = () => {
35-
configForm.addEventListener("submit", (event) => {
35+
form.addEventListener("submit", (event) => {
3636
event.preventDefault();
3737
messages.innerHTML = "";
3838

0 commit comments

Comments
 (0)