Skip to content

Added support for Gitlab #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d6190c4
added support for gitlab
Preeti9764 Jun 16, 2025
ae04201
added support for gitlab
Preeti9764 Jun 18, 2025
8f2fc23
making same as pr
Preeti9764 Jun 18, 2025
2de9e58
Merge branch 'gitlab' of https://github.com/Preeti9764/scrum_helper i…
Preeti9764 Jun 18, 2025
6082a6e
fetches all gitlab activites
Preeti9764 Jun 18, 2025
853383e
final merge and changes
Preeti9764 Jun 19, 2025
ca636ec
Merge branch 'master' into gitlab
Preeti9764 Jun 19, 2025
cc20f14
removed the testing logs
Preeti9764 Jun 19, 2025
f0dc29e
removed testing logs
Preeti9764 Jun 19, 2025
e7ef3f2
Update scrumHelper.js
Preeti9764 Jun 19, 2025
ee73d9a
Update scrumHelper.js
Preeti9764 Jun 19, 2025
cc01b87
Update index.css
Preeti9764 Jun 19, 2025
dbdaff7
rebase
Preeti9764 Jul 8, 2025
2dc805c
Merge branch 'master' into gitlab
Preeti9764 Jul 8, 2025
62e7a87
ui changes
Preeti9764 Jul 8, 2025
6716071
fetching gitlab activities
Preeti9764 Jul 9, 2025
78b1a30
ui changes
Preeti9764 Jul 9, 2025
5ef6368
Added correct labels
Preeti9764 Jul 9, 2025
ffae45f
enhanced ui
Preeti9764 Jul 10, 2025
8b224e4
added
Preeti9764 Jul 11, 2025
f449fe9
Merge branch 'master' into gitlab
Preeti9764 Jul 11, 2025
68db974
fix bug
Preeti9764 Jul 11, 2025
de05111
fixed bug
Preeti9764 Jul 12, 2025
86a82fc
fixed duplicate activities
Preeti9764 Jul 12, 2025
9528f1f
added icons
Preeti9764 Jul 12, 2025
c8b235a
Merge branch 'gitlab' of https://github.com/Preeti9764/scrum_helper i…
Preeti9764 Jul 12, 2025
bde1297
fixed disable bug
Preeti9764 Jul 13, 2025
dda08fd
Merge branch 'gitlab' of https://github.com/Preeti9764/scrum_helper i…
Preeti9764 Jul 13, 2025
aed4765
Merge branch 'master' into gitlab
Preeti9764 Jul 13, 2025
ff85be6
fixed syntax bugs
Preeti9764 Jul 13, 2025
a645e97
fixed github report genration
Preeti9764 Jul 13, 2025
b92ae5a
fixed bug
Preeti9764 Jul 13, 2025
c08e6e7
Merge branch 'master' into gitlab
Preeti9764 Jul 13, 2025
44f2155
syncronize injection
Preeti9764 Jul 14, 2025
6092316
removed testing logs
Preeti9764 Jul 14, 2025
44f8e9a
removed testing logs
Preeti9764 Jul 14, 2025
69544ad
Merge branch 'gitlab' of https://github.com/Preeti9764/scrum_helper i…
Preeti9764 Jul 14, 2025
3710b40
changes dark mode
Preeti9764 Jul 14, 2025
43bf00a
z index changed
Preeti9764 Jul 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
# Frontend changes
frontend:
- 'src/**/*.html'
- 'src/**/*.css'
- "src/**/*.html"
- "src/**/*.css"

# JavaScript changes
# JavaScript changes
javascript:
- 'src/scripts/**/*.js'
- 'src/**/*.js'
- "src/scripts/**/*.js"
- "src/**/*.js"

# Core functionality
core:
- 'src/scripts/scrumHelper.js'
- 'src/scripts/emailClientAdapter.js'
- "src/scripts/scrumHelper.js"
- "src/scripts/emailClientAdapter.js"

# Documentation
documentation:
- '**/*.md'
- 'docs/**'
- 'LICENSE'
- 'README.md'
- "**/*.md"
- "docs/**"
- "LICENSE"
- "README.md"

# Configuration files
config:
- '.github/**/*'
- '*.json'
- '*.yml'
- '*.yaml'
- 'package.json'
- 'package-lock.json'
- ".github/**/*"
- "*.json"
- "*.yml"
- "*.yaml"
- "package.json"
- "package-lock.json"

# Browser extension specific
extension:
- 'manifest.json'
- 'src/popup.html'
- 'src/scripts/main.js'
- "manifest.json"
- "src/popup.html"
- "src/scripts/main.js"

# Testing
testing:
- 'tests/**'
- '**/*.test.js'
- '**/*.spec.js'
- "tests/**"
- "**/*.test.js"
- "**/*.spec.js"

# Dependencies
dependencies:
- 'package.json'
- 'package-lock.json'
- 'yarn.lock'
- "package.json"
- "package-lock.json"
- "yarn.lock"

# Additional labels (manually applied, no patterns)
bug: []
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Sync Forks with Upstream
on:
schedule:
# Run daily at 2:00 AM UTC

- cron: '0 2 * * *'

workflow_dispatch:
# Allow manual triggering

Expand All @@ -12,14 +14,17 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write



steps:
- name: Sync forks with upstream
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { Octokit } = require('@octokit/rest');


const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN
Expand All @@ -31,7 +36,7 @@ jobs:
let syncedCount = 0;
let skippedCount = 0;
let errorCount = 0;

try {
// Get all forks
console.log(`Getting forks of ${UPSTREAM_OWNER}/${UPSTREAM_REPO}...`);
Expand Down Expand Up @@ -93,4 +98,6 @@ jobs:
} catch (error) {
console.error('Workflow failed:', error.message);
throw error;
}

}

38 changes: 24 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Scrum Helper

**Scrum Helper** is a Chrome extension that simplifies writing development reports by auto-filling content based on your Git activity. Just enter your GitHub username, select a date range, and choose your preferences, the extension automatically fetches your commits, pull requests, issues, and code reviews via the GitHub API and generates a pre-filled report that you can edit as needed. While currently focused on Git-based workflows, Scrum Helper is designed to expand to other platforms in the future.
Expand Down Expand Up @@ -72,6 +71,7 @@
* *Requires a GitHub token.*

### Usage Standalone

- Click on `GENERATE` button to generate the scrum preview.
- Edit it in the window.
- Copy the rich HTML using the `COPY` button.
Expand Down Expand Up @@ -99,45 +99,55 @@ $ npm install

1. **Install the Extension**


* For Chrome: Load it into your browser through [Chrome Extension Developer Mode](https://developer.chrome.com/docs/extensions/mv3/getstarted/).
<!-- * For Firefox: Load it as a temporary add-on through `about:debugging` as described above. -->




2. **Build the Extension**
* For Chrome: Rebuild or reload the extension in your browser (`chrome://extensions` → Refresh your extension).
<!-- * For Firefox: Reload the temporary add-on by going to `about:debugging` → "This Firefox" → Click "Reload" next to your extension. -->

3. **How to Obtain a GitHub Personal Access Token**


- To use Scrum Helper with authenticated requests (for higher rate limits and private repositories), you need a GitHub personal access token.

#### Steps to Generate a Token

1. **Go to GitHub Developer Settings:**
Visit [https://github.com/settings/tokens](https://github.com/settings/tokens) while logged in to your GitHub account.
Visit [https://github.com/settings/tokens](https://github.com/settings/tokens) while logged in to your GitHub account.

2. **Choose Token Type:**
- Select **"Personal access tokens (classic)"**.
2. **Choose Token Type:**

3. **Generate a New Token:**
- Click **"Generate new token"**.
- Give your token a descriptive name (e.g., "Scrum Helper Extension").
- Set an expiration date if desired.
- Select **"Personal access tokens (classic)"**.

4. **Create and Copy the Token:**
- Click **"Generate token"** at the bottom.
- **Copy the token** and save it securely. You will not be able to see it again!
3. **Generate a New Token:**

5. **Paste the Token in Scrum Helper:**
- Open the Scrum Helper extension popup.
- Paste your token into the "GitHub Token" field.
- Click **"Generate new token"**.
- Give your token a descriptive name (e.g., "Scrum Helper Extension").
- Set an expiration date if desired.

4. **Create and Copy the Token:**

- Click **"Generate token"** at the bottom.
- **Copy the token** and save it securely. You will not be able to see it again!

5. **Paste the Token in Scrum Helper:**

- Open the Scrum Helper extension popup.
- Paste your token into the "GitHub Token" field.

> **Keep your token secret!** Never share it or commit it to public repositories.

**Why use a token?**
GitHub tokens allow the extension to make authenticated requests, increasing your API rate limit and enabling access to private repositories if you grant those permissions.




## About contributing

- Follow the Issues and PRs templates as far as possible.
Expand Down
130 changes: 65 additions & 65 deletions docs/images/icon128x128.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -688,4 +688,34 @@ hr,
color: #2563eb;
font-weight: 500;
text-decoration: underline;
}

.dark-mode #platformDropdownBtn {
background-color: #404040 !important;
border-color: #505050 !important;
color: #ffffff !important;
}

.dark-mode #platformDropdownBtn:focus {
outline: 2px solid #2563eb;
}

#platformDropdownList {
min-width: unset;
width: unset !important;
z-index: 1000 !important;
}

.dark-mode #platformDropdownList {
min-width: unset;
width: unset !important;
z-index: 1000 !important;
}

.dark-mode #platformDropdownList li {
color: #ffffff !important;
}

.dark-mode #platformDropdownList li:hover {
background-color: #374151 !important;
}
Loading