Skip to content

Commit 53a260c

Browse files
authored
Merge branch 'master' into issue-label
2 parents 49eaa37 + 7d983de commit 53a260c

38 files changed

+4409
-2200
lines changed

.github/labeler.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
# Frontend changes
22
frontend:
3-
- 'src/**/*.html'
4-
- 'src/**/*.css'
3+
- "src/**/*.html"
4+
- "src/**/*.css"
55

6-
# JavaScript changes
6+
# JavaScript changes
77
javascript:
8-
- 'src/scripts/**/*.js'
9-
- 'src/**/*.js'
8+
- "src/scripts/**/*.js"
9+
- "src/**/*.js"
1010

1111
# Core functionality
1212
core:
13-
- 'src/scripts/scrumHelper.js'
14-
- 'src/scripts/emailClientAdapter.js'
13+
- "src/scripts/scrumHelper.js"
14+
- "src/scripts/emailClientAdapter.js"
1515

1616
# Documentation
1717
documentation:
18-
- '**/*.md'
19-
- 'docs/**'
20-
- 'LICENSE'
21-
- 'README.md'
18+
- "**/*.md"
19+
- "docs/**"
20+
- "LICENSE"
21+
- "README.md"
2222

2323
# Configuration files
2424
config:
25-
- '.github/**/*'
26-
- '*.json'
27-
- '*.yml'
28-
- '*.yaml'
29-
- 'package.json'
30-
- 'package-lock.json'
25+
- ".github/**/*"
26+
- "*.json"
27+
- "*.yml"
28+
- "*.yaml"
29+
- "package.json"
30+
- "package-lock.json"
3131

3232
# Browser extension specific
3333
extension:
34-
- 'manifest.json'
35-
- 'src/popup.html'
36-
- 'src/scripts/main.js'
34+
- "manifest.json"
35+
- "src/popup.html"
36+
- "src/scripts/main.js"
3737

3838
# Testing
3939
testing:
40-
- 'tests/**'
41-
- '**/*.test.js'
42-
- '**/*.spec.js'
40+
- "tests/**"
41+
- "**/*.test.js"
42+
- "**/*.spec.js"
4343

4444
# Dependencies
4545
dependencies:
46-
- 'package.json'
47-
- 'package-lock.json'
48-
- 'yarn.lock'
46+
- "package.json"
47+
- "package-lock.json"
48+
- "yarn.lock"
4949

5050
# Additional labels (manually applied, no patterns)
5151
bug: []
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Auto Reply to Assign Requests
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
7+
jobs:
8+
auto-reply:
9+
runs-on: ubuntu-latest
10+
env:
11+
ASSIGN_KEYWORDS: |
12+
assign this to me
13+
please assign
14+
assign me
15+
can you assign
16+
assign to me
17+
can i be assigned
18+
may i be assigned
19+
could you assign
20+
ASSIGN_RESPONSE: |
21+
Please go ahead and create a PR when you are ready. We do not formally assign issues. Contributors are free to pick up any open issue based on their availability. You can open a PR or even a draft PR to let others know that you’re working on it.
22+
steps:
23+
- name: Check for assign request and comment
24+
uses: actions/github-script@v7
25+
with:
26+
script: |
27+
// Get keywords from env, split by newlines, and trim
28+
const assignKeywords = process.env.ASSIGN_KEYWORDS.split('\n').map(k => k.trim()).filter(Boolean);
29+
// Create regex patterns for each keyword (case-insensitive)
30+
const assignPatterns = assignKeywords.map(k => new RegExp(k, 'i'));
31+
const commentBody = context.payload.comment.body;
32+
if (assignPatterns.some(pattern => pattern.test(commentBody))) {
33+
const commenter = context.payload.comment.user.login;
34+
const response = `@${commenter} ${process.env.ASSIGN_RESPONSE}`;
35+
github.rest.issues.createComment({
36+
issue_number: context.payload.issue.number,
37+
owner: context.repo.owner,
38+
repo: context.repo.repo,
39+
body: response
40+
});
41+
}

.github/workflows/sync-upstream.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Sync Forks with Upstream
33
on:
44
schedule:
55
# Run daily at 2:00 AM UTC
6+
67
- cron: '0 2 * * *'
8+
79
workflow_dispatch:
810
# Allow manual triggering
911

@@ -12,14 +14,17 @@ jobs:
1214
runs-on: ubuntu-latest
1315
permissions:
1416
contents: write
17+
1518

19+
1620
steps:
1721
- name: Sync forks with upstream
1822
uses: actions/github-script@v7
1923
with:
2024
github-token: ${{ secrets.GITHUB_TOKEN }}
2125
script: |
2226
const { Octokit } = require('@octokit/rest');
27+
2328
2429
const octokit = new Octokit({
2530
auth: process.env.GITHUB_TOKEN
@@ -31,7 +36,7 @@ jobs:
3136
let syncedCount = 0;
3237
let skippedCount = 0;
3338
let errorCount = 0;
34-
39+
3540
try {
3641
// Get all forks
3742
console.log(`Getting forks of ${UPSTREAM_OWNER}/${UPSTREAM_REPO}...`);
@@ -93,4 +98,6 @@ jobs:
9398
} catch (error) {
9499
console.error('Workflow failed:', error.message);
95100
throw error;
96-
}
101+
102+
}
103+

CHANGELOG.md

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).
4+
5+
---
6+
7+
## [2.0.0] - 2025-07-19
8+
9+
### Major Revamp
10+
11+
This release marks a significant milestone with a full UI overhaul, Manifest V3 migration, GitHub workflow automation, and performance improvements across the board.
12+
13+
#### Added
14+
- Migrated to Chrome Manifest V3 ensuring long-term browser compatibility and background service worker support (#59).
15+
- Introduced multi-client Google account support, improving reliability across user sessions (#62).
16+
- Added a one-click Scrum report generator UI (#76).
17+
- New UI design: dark mode, settings section, better layout spacing, modern component styling (#83).
18+
- GitHub Action for PR/issue labeling to automate triaging (#101).
19+
- Release drafter GitHub workflow for automated changelog generation (#97).
20+
- New GitHub templates for issues and pull requests (#99).
21+
- Visible org name in the UI for quick org switching (#141).
22+
- Tooltip for project names to improve UI accessibility on narrow screens (#175).
23+
- Auto-sync fork workflow added to help contributors stay up-to-date (#183).
24+
- Separate labels for merged vs. unmerged pull requests for better report clarity (#165).
25+
- Ability to fetch all GitHub activities, not just a subset (#168).
26+
- New icon for the extension (#130).
27+
28+
#### Changed
29+
- Overhauled email subject injection for Yahoo/Outlook clients to fix inconsistencies (#86, #107, #138).
30+
- Refactored date selection UI to prevent bugs and align with new design standards (#152, #173).
31+
- Moved `showCommits` toggle to the report section for better discoverability (#192).
32+
- Improved organization selector UI/UX (#164).
33+
- Simplified repo scope selection logic to be org-aware (#171).
34+
- Navigation revamp with Home button, consistent route behavior (#143).
35+
- Switched from REST API to GitHub GraphQL for commits — faster and within rate limits (#147).
36+
- Optimized API calls for better performance (#133, #118).
37+
- Enhanced selectors for scrum injection to work more reliably across different email clients (#90).
38+
- Replaced ESLint with Biome for code formatting and linting (#60).
39+
40+
#### Fixed
41+
- UI feedback bugs on checkbox selection (#71).
42+
- Popup tabs rendering inconsistently fixed (#78).
43+
- Email subject no longer shows `"false"` when state is uninitialized (#116).
44+
- Scrum messages now inject only into new drafts, not replies (#109).
45+
- Fixed caching issues causing session/context loss (#180).
46+
- Repo list dropdown closes properly on selection (#198).
47+
- Toggle logic for filters corrected (#204).
48+
- Manifest/config syntax cleaned up (#132, #150).
49+
- Spellings standardized to "organization" (#158).
50+
- Scrum reports are now correctly generated when the extension is first loaded (#153).
51+
- Resolved an issue with using multiple Google accounts simultaneously (#124).
52+
- Corrected date interval logic in scrum helper (#40).
53+
54+
#### Removed
55+
- "Blockers" UI section removed for redundancy (#195).
56+
- Reverted premature `showCommits` commit (re-added later correctly) (#131).
57+
58+
#### Documentation
59+
- Developer guide improved: clearer onboarding, structure, contribution steps (#64).
60+
- Firefox setup guide added (#127).
61+
- Issue templates moved to `.github/ISSUE_TEMPLATE` (#113).
62+
- Updated README with new screenshots, instructions, and formatting (#92, #96, #146, #199).
63+
64+
#### Breaking Changes
65+
- Chrome MV2 → MV3: major architectural changes; contributors must update environments (#59).
66+
- Internal settings & commit APIs were restructured. Older DOM-based customizations may break.
67+
68+
#### Upgrade Notes
69+
- Remove older build before installing this.
70+
- Clear storage/cache after upgrade.
71+
72+
---
73+
74+
## [1.9.0] - 2025-06-15
75+
76+
### Features
77+
- GitHub org selector UI redesigned for clarity (#164).
78+
- Report filters now reflect selected repo state instantly (#143).
79+
- Added auto-label workflow using GitHub Actions (#101).
80+
- Added initial Home view layout for upcoming UI upgrade (#83).
81+
82+
### Fixes
83+
- Removed incorrect email content when replying instead of drafting (#109).
84+
- Addressed minor caching and selection persistence bugs (#150).
85+
86+
---
87+
88+
## [1.8.0] - 2025-06-01
89+
90+
### Features
91+
- Added email subject injection logic for Yahoo (#86).
92+
- Firefox support guide added for contributors (#127).
93+
- Enabled project tooltips to handle overflow and narrow UIs (#175).
94+
95+
### Fixes
96+
- Squashed UI bugs related to narrow screen layout shifts (#152).
97+
- Date picker issues fixed for manual selection (#173).
98+
99+
---
100+
101+
## [1.7.0] - 2025-05-10
102+
103+
### Improvements
104+
- Introduced `showCommits` toggle for scrum reports (#131).
105+
- Added UI state persistence across sessions via local storage (#116).
106+
- Fixed organization dropdown selection bug (#138).
107+
108+
### Refactoring
109+
- Cleaned up `manifest.json` to remove deprecated entries (#132).
110+
- Replaced verbose field names with concise identifiers internally.
111+
112+
---
113+
114+
## [1.6.0] - 2025-04-22
115+
116+
### Additions
117+
- GitHub REST API integration added for commit history (#108).
118+
- Extension popup layout redesigned for better readability (#92).
119+
120+
### Fixes
121+
- Scrum reports now generate for selected repositories only (#96).
122+
- Default org fallback behavior corrected (#99).
123+
124+
---
125+
126+
## [1.5.0] - 2025-04-01
127+
128+
### Enhancements
129+
- Introduced new sidebar layout prototype (experimental) (#83).
130+
- PR template created for better contributor formatting (#99).
131+
- GitHub Actions configured for PR sync workflow (initial draft) (#97).
132+
133+
---
134+
135+
## [1.4.0] - 2025-03-20
136+
137+
### Stability & Usability
138+
- Added repo dropdown filter logic fix (#78).
139+
- README restructured with updated use cases and images (#92).
140+
141+
---
142+
143+
## [1.3.0] - 2025-03-01
144+
145+
### Experimental
146+
- GraphQL prototype implemented for commit fetch (feature branch) (#147).
147+
- Added developer docs index structure (#64).
148+
149+
---
150+
151+
## [1.2.0] - 2025-02-15
152+
153+
### UI Changes
154+
- Button spacing & style normalized across popup and settings (#76).
155+
- Scroll behavior stabilized inside the dropdowns and settings (#71).
156+
157+
---
158+
159+
## [1.1.0] - 2019-01-25
160+
161+
### Features
162+
- Scrum message generation integrated with Gmail draft composer (#62).
163+
- Initial GitHub integration for authenticated org repo listing.
164+
165+
---
166+
167+
## [1.0.0] - 2018-12-01
168+
169+
Initial release of Scrum Helper Chrome Extension with:
170+
- Scrum report generation from GitHub issues/PRs.
171+
- Gmail injection for weekly updates.
172+
- Basic organization and repo selection.

0 commit comments

Comments
 (0)