-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
204 lines (196 loc) · 10.9 KB
/
index.html
File metadata and controls
204 lines (196 loc) · 10.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="src/assets/popup.css">
<link rel="stylesheet" href="src/assets/tag-editor.css">
</head>
<body>
<div class="header">
<h1 id="view-title">📝 My Notes</h1>
<div class="header-actions">
<span class="demo-mode-badge hidden" id="demo-mode-badge">Demo</span>
<span class="count" id="notes-count"></span>
<button id="sync-notes-btn" class="icon-btn" title="Sync Statuses">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"
stroke-linecap="round" stroke-linejoin="round">
<polyline points="23 4 23 10 17 10"></polyline>
<polyline points="1 20 1 14 7 14"></polyline>
<path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>
</svg>
</button>
<button id="open-exporter-btn" class="icon-btn" title="Open History Exporter">📊</button>
<button id="settings-toggle" class="icon-btn" title="Settings">⚙️</button>
</div>
</div>
<div id="notes-view">
<div class="search-bar">
<input type="text" id="search" placeholder="Search by ticket, content or tags...">
<div class="demo-mode-hint hidden" id="demo-mode-hint">Demo Mode active. No real data and no writes to your Jira tracking.</div>
<div class="popup-feedback-row">
<span class="popup-feedback-text">Found something to improve?</span>
<a class="popup-feedback-link" href="https://tally.so/r/yPxMax" target="_blank" rel="noreferrer">Send feedback</a>
</div>
</div>
<div class="notes-list" id="notes-list"></div>
</div>
<div id="settings-view" style="display: none;">
<div class="settings-content">
<div class="settings-group">
<h3>Navigation & Info</h3>
<label class="setting-item">
<div class="setting-info">
<span>Breadcrumb Copy Button</span>
<p>Adds a copy button to ticket breadcrumb.</p>
</div>
<input type="checkbox" data-setting="jira_breadcrumb_copy">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Age Indicators (Lists)</span>
<p>Shows ticket age in current status (Dashboards and Tables). Note: Does not apply to Kanban
boards.</p>
</div>
<input type="checkbox" data-setting="jira_age_indicators">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Kanban Board Age Indicator</span>
<p>Displays the age of tickets directly on Kanban board cards.</p>
</div>
<input type="checkbox" data-setting="jira_board_age">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Quick Notes (Ticket View)</span>
<p>Enable personal notes directly on the Jira issue details page header.</p>
</div>
<input type="checkbox" data-setting="jira_quick_notes_ticket">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Quick Notes (List View)</span>
<p>Enable personal notes icons on Jira lists (Backlog, Tables) and Kanban board cards.</p>
</div>
<input type="checkbox" data-setting="jira_quick_notes_list">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Manual Menu Manager</span>
<p>Add a personalized navigation menu to the Jira sidebar for quick access.</p>
</div>
<input type="checkbox" data-setting="jira_manual_menu">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Hide Junk Elements</span>
<p>Clean UI: Remove 'Ask Rovo', floating icons, and non-essential elements for a focused
workspace.</p>
</div>
<input type="checkbox" data-setting="jira_hide_elements">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Auto-collapse Sidebar</span>
<p>Smart Sidebar: Automatically collapse the Jira sidebar to maximize your workspace.</p>
</div>
<input type="checkbox" data-setting="jira_collapse_sidebar">
</label>
</div>
<div class="settings-group">
<h3>Productivity</h3>
<label class="setting-item">
<div class="setting-info">
<span>Copy for Slack Button</span>
<p>One-click button to copy ticket info formatted for Slack and Notion.</p>
</div>
<input type="checkbox" data-setting="jira_copy_for_slack">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Developer Velocity (Dashboard)</span>
<p>Shows velocity metrics and completed ticket lists per developer.
<strong>Requirement:</strong> Add an 'Issue Statistics' gadget to your dashboard and include
'Velocity' in its title.
</p>
</div>
<input type="checkbox" data-setting="jira_velocity_per_dev">
</label>
<label class="setting-item">
<div class="setting-info">
<span>Story Points Summary (Dashboard)</span>
<p>Calculates Story Points totals and lists pending tickets per assignee.
<strong>Requirement:</strong> Add an 'Issue Statistics' gadget to your dashboard (ensure
title does NOT include 'Velocity').
</p>
</div>
<input type="checkbox" data-setting="jira_sp_summary">
</label>
</div>
<div class="settings-group">
<h3>Zoom</h3>
<label class="setting-item">
<div class="setting-info">
<span>Copy Transcript Button</span>
<p>Adds a "Copy Transcript" button to Zoom recording pages. One-click to copy the entire
transcript with speaker and time info.</p>
</div>
<input type="checkbox" data-setting="zoom_copy_transcript">
</label>
</div>
<div class="settings-group">
<h3>GitHub Integration</h3>
<label class="setting-item">
<div class="setting-info">
<span>Show GH PR Link on Sprint Dashboard</span>
<p>
Adds a direct link to the GitHub Pull Request for each ticket <strong>In Progress / In Review</strong>.
Requires a GitHub <strong>Personal Access Token (Classic)</strong> with all the <strong>repo</strong> permissions activated.
</p>
</div>
<input type="checkbox" data-setting="github_pr_link" id="github-pr-link-toggle">
</label>
<div id="github-pat-section" style="display: none; padding: 8px 0 4px 0;">
<div style="display: flex; flex-direction: column; gap: 6px;">
<label style="font-size: 11px; font-weight: 700; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.05em;">Personal Access Token</label>
<div style="display: flex; gap: 6px; align-items: center;">
<input type="password" id="github-pat-input" placeholder="ghp_xxxxxxxxxxxxxxxxxxxx"
style="flex: 1; padding: 7px 10px; border-radius: 6px; border: 1.5px solid var(--border-light); font-family: inherit; font-size: 12px; background: var(--bg-alt); color: var(--text-main);">
<button id="github-pat-save-btn" class="et-notes-save-btn" style="margin: 0; white-space: nowrap;">Save Token</button>
</div>
<div id="github-pat-status" style="font-size: 11px; color: #36b37e; display: none;"></div>
</div>
</div>
</div>
<div class="settings-group">
<h3>Diagnostics</h3>
<div class="setting-item"
style="display: flex; flex-direction: column; align-items: flex-start; gap: 8px;">
<span style="font-size: 12px; color: #6b778c;">Verify system notifications are working.</span>
<button id="test-notification-btn" class="et-notes-save-btn" style="width: 100%; margin: 0;">Test
System Notification</button>
<div id="notif-status" style="font-size: 11px; margin-top: 4px; display: none;"></div>
</div>
</div>
<div class="settings-group">
<h3>Demo Mode</h3>
<label class="setting-item">
<div class="setting-info">
<span>Use demo data for screenshots</span>
<p>Popup and Analytics Hub will use mock data only, without touching your real local tracking data.</p>
</div>
<input type="checkbox" data-setting="demo_mode">
</label>
<div class="setting-item" style="display: flex; flex-direction: column; align-items: flex-start; gap: 8px;">
<span style="font-size: 12px; color: #6b778c;">Restore the built-in demo dataset after editing notes or tags in Demo Mode.</span>
<button id="reset-demo-data-btn" class="et-notes-save-btn" style="width: 100%; margin: 0; display: none;">Reset Demo Dataset</button>
</div>
</div>
</div>
</div>
<div class="about-footer">
<strong>PMsToolKit v0.9.0</strong> — Created by EricConcha
</div>
<script type="module" src="src/popup/popup.js"></script>
</body>
</html>