Skip to content
Open
Show file tree
Hide file tree
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
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/api.md

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

107 changes: 107 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
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
```
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/component.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
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
Comment on lines +1 to +11
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify that the external URLs in the config are reachable
urls=(
  "https://t.me/greenpilldevguild"
  "https://docs.greengoods.app"
  "https://app.greengoods.app"
)

for url in "${urls[@]}"; do
  status=$(curl -o /dev/null -s -w "%{http_code}" -L --max-time 10 "$url" 2>&1)
  echo "$url -> HTTP $status"
done

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
In @.github/ISSUE_TEMPLATE/config.yml around lines 1 - 11, The contact link
under contact_links with name "🌱 Green Goods App" points to a broken URL
(https://app.greengoods.app); update the URL value for that entry to the correct
reachable address (or remove/replace the entry with a working alternative) so
the "🌱 Green Goods App" contact link is valid; locate the contact_links block
and the specific entry by the name "🌱 Green Goods App" and change its url field
accordingly, then verify the link responds successfully.

27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/contract.md

This file was deleted.

93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/contract.yml
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
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Make “Security Considerations” required.
Right now it’s optional, which undermines the contract workflow’s safety checklist.

✅ 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
In @.github/ISSUE_TEMPLATE/contract.yml around lines 1 - 93, The "Security
Considerations" field (id: security, type: textarea) is currently optional; make
it required by adding a validations block with required: true under that field
definition so the template enforces completion of security checklist before
submission.

27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE/design.md

This file was deleted.

Loading