-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Convert issue templates to YAML forms + add PR template #15
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| name: 🐛 Bug Report | ||
| description: Report a bug to help us improve | ||
| title: "[BUG]: " | ||
| labels: ["bug", "triage"] | ||
| assignees: [] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for taking the time to report this bug! Please fill out the form below. | ||
|
|
||
| - type: dropdown | ||
| id: package | ||
| attributes: | ||
| label: Affected Package | ||
| description: Which package(s) are affected? | ||
| multiple: true | ||
| options: | ||
| - client (PWA) | ||
| - admin (Dashboard) | ||
| - shared (Hooks/Utils) | ||
| - contracts (Solidity) | ||
| - indexer (GraphQL) | ||
| - agent (Bot) | ||
| - docs (Documentation) | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Bug Description | ||
| description: A clear description of what the bug is | ||
| placeholder: When I click the submit button, the form doesn't submit... | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: reproduction | ||
| attributes: | ||
| label: Steps to Reproduce | ||
| description: Detailed steps to reproduce the behavior | ||
| placeholder: | | ||
| 1. Go to '...' | ||
| 2. Click on '...' | ||
| 3. Scroll down to '...' | ||
| 4. See error | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected Behavior | ||
| description: What should happen instead? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: screenshots | ||
| attributes: | ||
| label: Screenshots/Recordings | ||
| description: Add screenshots or screen recordings if applicable | ||
|
|
||
| - type: dropdown | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| options: | ||
| - Production | ||
| - Staging | ||
| - Local Development | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: input | ||
| id: browser | ||
| attributes: | ||
| label: Browser/OS | ||
| placeholder: "Chrome 120, macOS 14.2" | ||
|
|
||
| - type: dropdown | ||
| id: offline | ||
| attributes: | ||
| label: Offline Related? | ||
| description: Does this occur when offline or during sync? | ||
| options: | ||
| - "No" | ||
| - "Yes - offline mode" | ||
| - "Yes - during sync" | ||
| - "Not sure" | ||
|
|
||
| - type: textarea | ||
| id: ai-context | ||
| attributes: | ||
| label: Additional Context / AI Notes | ||
| description: | | ||
| Add any relevant code snippets, file paths, error messages, or investigation findings. | ||
| AI assistants can populate this section with investigation results. | ||
| placeholder: | | ||
| ## Files Involved | ||
| - `packages/client/src/views/...` | ||
|
|
||
| ## Error Messages | ||
| ``` | ||
| Error stack trace here | ||
| ``` |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: 💬 Ask a Question | ||
| url: https://t.me/greenpilldevguild | ||
| about: Get help from the Greenpill Dev Guild community | ||
| - name: 📚 Documentation | ||
| url: https://docs.greengoods.app | ||
| about: Check our developer documentation first | ||
| - name: 🌱 Green Goods App | ||
| url: https://app.greengoods.app | ||
| about: Visit the live application | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| name: 📜 Smart Contract | ||
| description: Create or modify a smart contract | ||
| title: "[CONTRACT]: " | ||
| labels: ["contract"] | ||
| body: | ||
| - type: dropdown | ||
| id: type | ||
| attributes: | ||
| label: Contract Type | ||
| options: | ||
| - New Contract | ||
| - Upgrade (UUPS) | ||
| - Bug Fix | ||
| - Gas Optimization | ||
| - Security Fix | ||
| - Test Addition | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: summary | ||
| attributes: | ||
| label: Summary | ||
| description: What contract work is needed? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: done-state | ||
| attributes: | ||
| label: Done State | ||
| description: Acceptance criteria for completion | ||
| placeholder: | | ||
| - [ ] Contract implemented | ||
| - [ ] Unit tests (100% coverage) | ||
| - [ ] Fuzz tests for parameters | ||
| - [ ] Gas snapshot updated | ||
| - [ ] NatSpec documentation | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: security | ||
| attributes: | ||
| label: Security Considerations | ||
| description: Security requirements and review needs | ||
| placeholder: | | ||
| - [ ] CEI pattern followed | ||
| - [ ] Reentrancy guards where needed | ||
| - [ ] Access control verified | ||
| - [ ] Events emitted for state changes | ||
| - [ ] No tx.origin for authorization | ||
| - [ ] Input validation | ||
|
|
||
| - type: dropdown | ||
| id: upgrade | ||
| attributes: | ||
| label: Upgrade Impact | ||
| description: Does this affect existing deployments? | ||
| options: | ||
| - N/A - New contract | ||
| - Safe upgrade (storage compatible) | ||
| - Breaking change (migration needed) | ||
| - Gas-only change | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: implementation | ||
| attributes: | ||
| label: Implementation Notes | ||
| description: Contract locations, inheritance, patterns | ||
| placeholder: | | ||
| ## Contract Location | ||
| `packages/contracts/src/...` | ||
|
|
||
| ## Inheritance | ||
| - Inherits from OpenZeppelin `...` | ||
| - Uses EAS schema `...` | ||
|
|
||
| ## Testing | ||
| ```bash | ||
| cd packages/contracts && forge test --match-contract TestName | ||
| ``` | ||
|
|
||
| - type: textarea | ||
| id: resources | ||
| attributes: | ||
| label: Resources | ||
| placeholder: | | ||
| - [Foundry](https://getfoundry.sh/) | ||
| - [OpenZeppelin](https://docs.openzeppelin.com/contracts/5.x/) | ||
| - [EAS](https://docs.attest.org/docs/welcome) | ||
|
Comment on lines
+1
to
+93
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make “Security Considerations” required. ✅ Proposed fix - type: textarea
id: security
attributes:
label: Security Considerations
description: Security requirements and review needs
placeholder: |
- [ ] CEI pattern followed
- [ ] Reentrancy guards where needed
- [ ] Access control verified
- [ ] Events emitted for state changes
- [ ] No tx.origin for authorization
- [ ] Input validation
+ validations:
+ required: true🤖 Prompt for AI Agents |
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: greenpill-dev-guild/.github
Length of output: 192
Fix broken application link in issue template configuration.
The live application URL (https://app.greengoods.app) at line 9 is not reachable (HTTP 000). The contact links to Telegram and documentation are working correctly, but the app link needs to be verified and corrected. Ensure the URL is accurate or replace it with a working alternative.
🤖 Prompt for AI Agents