From d2966450e1f5ef8a19bf2a8a257fe93b82b426fd Mon Sep 17 00:00:00 2001 From: Leem Date: Thu, 5 Mar 2026 16:07:18 +0800 Subject: [PATCH 1/5] fix issues template --- .github/ISSUE_TEMPLATE/ask-a-question.md | 46 +++++++- .github/ISSUE_TEMPLATE/report-a-bug.md | 89 +++++++++++----- .github/ISSUE_TEMPLATE/request-a-feature.md | 110 ++++++++++++++++++-- 3 files changed, 203 insertions(+), 42 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md index e503998b477..12d3d3452b9 100644 --- a/.github/ISSUE_TEMPLATE/ask-a-question.md +++ b/.github/ISSUE_TEMPLATE/ask-a-question.md @@ -1,10 +1,50 @@ --- name: Ask a question -about: Something is unclear -title: '' +about: Something is unclear or needs clarification +title: '[QUESTION] ' labels: 'type:docs' assignees: '' --- -This should only be used in very rare cases e.g. if you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Discord](https://discord.gg/cGKSsRVCGm) or [Telegram](https://t.me/TronOfficialDevelopersGroupEn). + + +## Question + + + +## Context + + + +**What are you trying to achieve?** + + +**What have you tried so far?** + + +**Relevant documentation or code** + + +## Environment (if applicable) + +- Java-tron version: +- Operating System: +- Java version: + +## Additional Information + + diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md index a0d68121565..3ef08a0dee2 100644 --- a/.github/ISSUE_TEMPLATE/report-a-bug.md +++ b/.github/ISSUE_TEMPLATE/report-a-bug.md @@ -1,50 +1,83 @@ --- name: Report a bug about: Create a report to help us improve -title: '' +title: '[BUG] ' labels: 'type:bug' assignees: '' --- - - - + -#### Software Versions - +## Bug Description + + + +## Environment + +**Software Versions** + - +JVM: +Git Commit: +Version: +Code: ``` ---> -#### Expected behaviour - +**Configuration** + + +## Expected Behavior + + + +## Actual Behavior + -#### Actual behaviour - +## Frequency + +- [ ] Always (100%) +- [ ] Frequently (>50%) +- [ ] Sometimes (10-50%) +- [ ] Rarely (<10%) -#### Frequency - +## Steps to Reproduce + + + +1. +2. +3. + +## Logs and Error Messages + + + +``` +[Paste error messages, stack traces, or relevant logs here] +``` -#### Steps to reproduce the behaviour +## Additional Context -1. [Step 1] -2. [Step 2] -3. [Step ...] + -#### Backtrace +**Screenshots** + -```` -[backtrace] -```` +**Related Issues** + -When submitting logs: please submit them as text and not screenshots. +**Possible Solution** + diff --git a/.github/ISSUE_TEMPLATE/request-a-feature.md b/.github/ISSUE_TEMPLATE/request-a-feature.md index 261f1088ded..0b8d3b3289d 100644 --- a/.github/ISSUE_TEMPLATE/request-a-feature.md +++ b/.github/ISSUE_TEMPLATE/request-a-feature.md @@ -1,28 +1,116 @@ --- name: Request a feature about: Suggest an idea for this project -title: '' +title: '[FEATURE] ' labels: 'type:feature' assignees: '' --- -# Background -# Rationale + -Why should this feature exist? +## Background -What are the use-cases? + -# Specification +## Problem Statement -# Test Specification + -# Scope Of Impact +## Rationale +**Why should this feature exist?** + -# Implementation +**What are the use cases?** + -Do you have ideas regarding the implementation of this feature? +1. +2. +3. -Are you willing to implement this feature? +**Who would benefit from this feature?** + + +## Proposed Solution + + + +### Specification + + + +**API Changes** (if applicable) + + +**Configuration Changes** (if applicable) + + +**Protocol Changes** (if applicable) + + +## Testing Strategy + + + +**Test Scenarios** +1. +2. +3. + +**Performance Considerations** + + +## Scope of Impact + + + +- [ ] Core protocol +- [ ] API/RPC +- [ ] Database +- [ ] Network layer +- [ ] Smart contracts +- [ ] Documentation +- [ ] Other: + +**Breaking Changes** + + +**Backward Compatibility** + + +## Implementation + +**Do you have ideas regarding the implementation?** + + +**Are you willing to implement this feature?** + +- [ ] Yes, I can implement this feature +- [ ] I can help with implementation +- [ ] I need help with implementation +- [ ] I'm just suggesting the idea + +**Estimated Complexity** + +- [ ] Low (minor changes) +- [ ] Medium (moderate changes) +- [ ] High (significant changes) +- [ ] Unknown + +## Alternatives Considered + + + +## Additional Context + + + +**Related Issues/PRs** + + +**References** + From de848ce8f141c031e9d023a1d5239338f4246138 Mon Sep 17 00:00:00 2001 From: Leem Date: Thu, 5 Mar 2026 17:44:19 +0800 Subject: [PATCH 2/5] fix java version example --- .github/ISSUE_TEMPLATE/ask-a-question.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md index 12d3d3452b9..c5fe429563f 100644 --- a/.github/ISSUE_TEMPLATE/ask-a-question.md +++ b/.github/ISSUE_TEMPLATE/ask-a-question.md @@ -43,7 +43,7 @@ These channels provide faster responses for general inquiries. - Java-tron version: - Operating System: -- Java version: +- Java version: ## Additional Information From 32589257bf5bc540cddef27bc8a943df177bc30c Mon Sep 17 00:00:00 2001 From: Leem Date: Thu, 5 Mar 2026 17:49:11 +0800 Subject: [PATCH 3/5] Standardize the writing style of java-tron --- .github/ISSUE_TEMPLATE/ask-a-question.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md index c5fe429563f..25062860ddd 100644 --- a/.github/ISSUE_TEMPLATE/ask-a-question.md +++ b/.github/ISSUE_TEMPLATE/ask-a-question.md @@ -41,7 +41,7 @@ These channels provide faster responses for general inquiries. ## Environment (if applicable) -- Java-tron version: +- java-tron version: - Operating System: - Java version: From 087ea6ce575a8bb0d505fc8a1d684009faca96be Mon Sep 17 00:00:00 2001 From: Leem Date: Fri, 6 Mar 2026 11:36:57 +0800 Subject: [PATCH 4/5] add network type in Environment --- .github/ISSUE_TEMPLATE/ask-a-question.md | 1 + .github/ISSUE_TEMPLATE/report-a-bug.md | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/ask-a-question.md b/.github/ISSUE_TEMPLATE/ask-a-question.md index 25062860ddd..70c957fe92f 100644 --- a/.github/ISSUE_TEMPLATE/ask-a-question.md +++ b/.github/ISSUE_TEMPLATE/ask-a-question.md @@ -41,6 +41,7 @@ These channels provide faster responses for general inquiries. ## Environment (if applicable) +- Network: - java-tron version: - Operating System: - Java version: diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md index 3ef08a0dee2..a00d6a51dee 100644 --- a/.github/ISSUE_TEMPLATE/report-a-bug.md +++ b/.github/ISSUE_TEMPLATE/report-a-bug.md @@ -20,6 +20,9 @@ assignees: '' ## Environment +**Network** + + **Software Versions** From f1ed84664115dd3195a9e9d92a0eb70a323f4cc9 Mon Sep 17 00:00:00 2001 From: Leem Date: Fri, 6 Mar 2026 11:38:13 +0800 Subject: [PATCH 5/5] fix format of "Test Scenarios" --- .github/ISSUE_TEMPLATE/request-a-feature.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/request-a-feature.md b/.github/ISSUE_TEMPLATE/request-a-feature.md index 0b8d3b3289d..b7f456cf263 100644 --- a/.github/ISSUE_TEMPLATE/request-a-feature.md +++ b/.github/ISSUE_TEMPLATE/request-a-feature.md @@ -57,6 +57,7 @@ Please provide as much detail as possible to help us evaluate your feature reque **Test Scenarios** + 1. 2. 3.