Skip to content

Commit 2ef57bd

Browse files
committed
changes in manifest and package.json, changed icon, better styling for refresh cache button
Signed-off-by: Vedansh Saini <[email protected]>
1 parent f12bb20 commit 2ef57bd

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scrum_helper_extension",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "This extension helps in writing Scrums in google groups, particularly related to FOSSASIA. It converts a link to a github PR or an Issue to display the PR or the Issue's name along with the link to it.",
55
"repository": {
66
"type": "git",

src/icons/icon.png

549 KB
Loading

src/index.css

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,33 +118,33 @@ body,input,div,h3,h4,p,label,hr, #scrumReport{
118118
.dark-mode a {
119119
color: #00b7ff !important;
120120
}
121-
.refresh-btn {
122-
transition: all 0.3s ease;
123-
position: relative;
124-
overflow: hidden;
125-
background-color: #d2d2d2;
121+
#refreshCache {
122+
background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
123+
border: none;
124+
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
125+
transition: all 0.2s ease;
126126
}
127127

128-
.refresh-btn:hover {
129-
background-color: #999bac;
128+
#refreshCache:hover {
129+
background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
130+
box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
130131
transform: translateY(-1px);
131-
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
132132
}
133133

134-
.refresh-btn:active {
135-
transform: translateY(1px);
136-
box-shadow: none;
134+
#refreshCache:active {
135+
transform: translateY(0);
136+
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
137137
}
138138

139-
.refresh-btn.loading {
140-
pointer-events: none;
141-
opacity: 0.8;
139+
#refreshCache i {
140+
animation: spin 0s linear infinite;
142141
}
143142

144-
.refresh-btn.loading .fa-refresh {
143+
#refreshCache.loading i {
145144
animation: spin 1s linear infinite;
146145
}
147146

148147
@keyframes spin {
149-
100% { transform: rotate(360deg); }
148+
from { transform: rotate(0deg); }
149+
to { transform: rotate(360deg); }
150150
}

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "Scrum Helper Extension",
4-
"version": "1.0",
4+
"version": "2.0",
55
"description": "This extension helps in writing Scrums in Google Groups, particularly related to FOSSASIA.",
66
"action": {
77
"default_popup": "popup.html",

src/popup.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ <h4>Your Github Username</h4>
7373
<input type="date" id="endingDate" class="border-2 border-gray-200 bg-gray-200 rounded-xl p-1">
7474
</div>
7575
</div>
76-
<button id="refreshCache" class="btn-small waves-effect waves-light refresh-btn" title="Force refresh Github data">
77-
<i class="material-icons left">Refresh Data (bypass cache)</i>
78-
</button>
76+
<button id="refreshCache" class="w-full mt-3 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded flex items-center justify-center gap-2 transition-colors duration-200">
77+
<i class="fa fa-refresh"></i>
78+
<span>Refresh Data (bypass cache)</span>
79+
</button>
7980
</div>
8081

8182
<div class="col s12">

0 commit comments

Comments
 (0)