Skip to content
Open
Changes from all commits
Commits
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
131 changes: 115 additions & 16 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,127 @@
## Description
<!--
┌─────────────────────────────────────────────────────────────────┐
│ │
│ 🔐 G S E C U R E — Pull Request Template │
│ │
│ Security-first password manager · github.com/HarshYadav152 │
│ │
│ ⚠️ Complete EVERY section before requesting review. │
│ Incomplete PRs will be sent back without review. │
│ │
└─────────────────────────────────────────────────────────────────┘
-->

Please include a summary of the change and which issue is fixed. Include relevant motivation and context.
## 📝 Description

Fixes # (issue number)
<!--
Summarize your changes clearly:
- What problem does this PR solve?
- What approach did you take?
- Any important context reviewers should know?
-->

## Type of change
Fixes # <!-- issue number, e.g. Fixes #41 -->

Please delete options that are not relevant.
---

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
## 🏷️ Type of Change

## How Has This Been Tested?
<!-- Check all that apply — delete none, just uncheck what doesn't apply -->

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
- [ ] 🐛 Bug fix (non-breaking — fixes an issue)
- [ ] ✨ New feature (non-breaking — adds functionality)
- [ ] 💥 Breaking change (alters existing behaviour or API contract)
- [ ] ♻️ Refactor (improves code without changing behaviour)
- [ ] 🔒 Security fix (patches a vulnerability or hardens auth/encryption)
- [ ] 🎨 UI / Styling (visual or layout changes only)
- [ ] 📝 Documentation update
- [ ] ⚙️ Config / CI / tooling change

## Checklist:
---

- [ ] My code follows the style guidelines of this project
## 🧪 How Has This Been Tested?

<!-- Describe every test you ran. Be specific enough that a reviewer can reproduce it. -->

### Test Environment
| | |
|---|---|
| **OS** | |
| **Browser & Version** | |
| **Node.js Version** | |

Comment on lines +46 to +52

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add blank lines around the Test Environment table.

Line 47 violates markdownlint MD058 (blanks-around-tables). Add an empty line between the heading and table (and keep one after the table) to avoid lint failures.

Suggested fix
 ### Test Environment
+
 | | |
 |---|---|
 | **OS** | |
 | **Browser & Version** | |
 | **Node.js Version** | |
+
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
### Test Environment
| | |
|---|---|
| **OS** | |
| **Browser & Version** | |
| **Node.js Version** | |
### Test Environment
| | |
|---|---|
| **OS** | |
| **Browser & Version** | |
| **Node.js Version** | |
🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 47-47: Tables should be surrounded by blank lines

(MD058, blanks-around-tables)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/PULL_REQUEST_TEMPLATE.md around lines 46 - 52, The Test Environment
section's markdown heading "### Test Environment" is immediately adjacent to the
table, triggering MD058; insert a single blank line between the heading and the
table and another blank line after the table so the table is separated from
surrounding content (i.e., add an empty line before the line starting with "| |
|" and one after the final table row) to satisfy blanks-around-tables.

Source: Linters/SAST tools

### Steps to Reproduce / Verify

1.
2.
3.

**✅ Expected result:**

**❌ Result before this PR (for bug fixes):**

### Test Coverage
- [ ] Manually tested end-to-end on local dev
- [ ] Unit tests added or updated
- [ ] All existing tests pass locally
- [ ] No regressions in related features

---

## 🖼️ Screenshots

<!-- UI changes: before & after are required. Delete section for logic-only changes. -->

<details>
<summary>Click to expand</summary>

| Before | After |
|--------|-------|
| | |

</details>

---

## 🔒 Security Checklist (Gsecure-specific)

- [ ] No vault data, passwords, or auth tokens are logged or exposed
- [ ] No new API routes added without middleware protection
- [ ] Encryption / decryption logic is unchanged or explicitly reviewed
- [ ] No secrets or API keys are hardcoded
- [ ] User input is validated and sanitised

---

## ✅ Checklist

### Code Quality
- [ ] I have performed a self-review of my own code
- [ ] My code follows the style guidelines of this project
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] My changes generate no new warnings (`npm run lint` passes)
- [ ] No leftover `console.log`, debug code, or commented-out blocks

### Testing
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] New and existing unit tests pass locally with my changes

### Documentation
- [ ] I have made corresponding changes to the documentation
- [ ] New API endpoints or changed behaviour are documented

### PR Hygiene
- [ ] PR title follows [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `docs:`…)
- [ ] This PR is focused on a single concern — no unrelated changes bundled in
- [ ] Branch is up-to-date with `main`

---

## 👁️ Reviewer Notes

<!-- Anything the reviewer should focus on, known limitations, or planned follow-ups. -->

<!--
Thank you for contributing to Gsecure 🔐
Questions? Reach the maintainer at HarshYadav152@outlook.com
-->