Skip to content

Commit

Permalink
commit repository update
Browse files Browse the repository at this point in the history
Updated popup menu interface
Updated Strings
Updated README.md
Updated to version 1.0.1
Minor fixes
  • Loading branch information
jhonatasrm committed Jul 22, 2019
1 parent 06137d3 commit 9bc2cfe
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[<img align="right" src="https://img.shields.io/github/release/mozillabrasil/sumo_live_helper.svg">](https://github.com/mozillabrasil/sumo_live_helper/releases)

![sumo_live_helper](src/res/icons/icon.png)
# SUMO Live Helper
# SUMO Live Helper [<img align="right" src="https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_2.png">](https://addons.mozilla.org/en-US/firefox/addon/sumo-live-helper-/)
The goal of this Add-on is for volunteers in SUMO (Support Mozilla) to see when there are new support questions for Firefox Desktop that have not yet been answered. This will help improve the Firefox user experience by getting answers to their problem more quickly.

![SUMO_Live_Helper gif](sumo_live_helper.gif)
Expand Down
8 changes: 7 additions & 1 deletion src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@
"searching_for_opened_questions": {
"message": "Searching for opened questions..."
},
"refresh": {
"message": "Refresh"
},
"clear_notifications": {
"message": "Clear notifications"
},
"version":{
"message": "SUMO Live Helper (v1.0.0)"
"message": "SUMO Live Helper (v1.0.1)"
}
}
8 changes: 7 additions & 1 deletion src/_locales/pt-BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@
"searching_for_opened_questions": {
"message": "Buscando por questões abertas..."
},
"refresh": {
"message": "Atualizar"
},
"clear_notifications": {
"message": "Limpar notificações"
},
"version":{
"message": "SUMO Live Helper (v1.0.0)"
"message": "SUMO Live Helper (v1.0.1)"
}
}
4 changes: 2 additions & 2 deletions src/css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ a.active {
.refresh-size-and-click {
width:16px;
height:16px;
margin-left:181px;
margin-left:200px;
cursor:pointer;
}

.clear-notifications {
width:16px;
height:16px;
margin-left:45px;
margin-left:55px;
cursor:pointer;
}

Expand Down
3 changes: 1 addition & 2 deletions src/html/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
<body>
<div class="main-panel" id="mainPanel">
<div class="col-md-12">
<label data-i18n="extensionName" class="align"></label><img src="../res/icons/refresh.png" id="refresh" class="refresh-size-and-click" title="Refresh"><img src="../res/icons/clear.png" id="clear" class="clear-notifications" title="Clear notifications">
<label data-i18n="extensionName" class="align"></label><img src="../res/icons/refresh.png" id="refresh" class="refresh-size-and-click"><img src="../res/icons/clear.png" id="clear" class="clear-notifications">
</div>
<div class="panel-section-separator"></div>
<div class="col-md-12">
<!-- Questions -->
<div class="col-md-12" style="display: none;" id="questions">
<!-- Questions opened -->
<section>

</section>
</div>
<!-- No questions -->
Expand Down
5 changes: 5 additions & 0 deletions src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ var questions = document.getElementById('questions');
var clear = document.getElementById('clear');
var questionOpened = '';

// title i18n
clear.title = browser.i18n.getMessage("clear_notifications");
refresh.title = browser.i18n.getMessage("refresh");

// Event Listener
clear.addEventListener('click', function(){
clearNotifications();
}, false);
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"description": "__MSG_extensionDescription__",
"version": "1.0.0",
"version": "1.0.1",
"homepage_url": "https://github.com/mozillabrasil/sumo_live_helper",
"default_locale": "en",
"author": "Mozilla Brasil, Jhonatas Rodrigues",
Expand Down
Binary file modified sumo_live_helper.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9bc2cfe

Please sign in to comment.