From c4f4fe05fe1392c025170be5c4624ac1b80caa47 Mon Sep 17 00:00:00 2001 From: Roman Cinis <52065414+tsinis@users.noreply.github.com> Date: Wed, 11 Mar 2026 21:40:52 +0100 Subject: [PATCH 1/7] style(pubspec): fix indentation and quote style in topics and screenshots --- pubspec.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index fe0966c..1a916aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,14 +5,14 @@ maintainer: Roman Cinis repository: https://github.com/tsinis/functional_status_codes issue_tracker: https://github.com/tsinis/functional_status_codes/issues topics: - - http-status-code - - status-codes - - status-code - - http - - iana + - http-status-code + - status-codes + - status-code + - http + - iana screenshots: - - description: 'Good/Bad Comparison' + - description: "Good/Bad Comparison" path: doc/comparison.webp environment: From 8408213dc010827330f430318c98a6f2b281dd7e Mon Sep 17 00:00:00 2001 From: Roman Cinis <52065414+tsinis@users.noreply.github.com> Date: Sat, 14 Mar 2026 15:37:08 +0100 Subject: [PATCH 2/7] test: add type check for random status code result - Verifies that StatusCode.random returns an int as well as StatusCode --- .zed/debug.json | 17 +++++++++++++++++ test/src/status_code_test.dart | 1 + 2 files changed, 18 insertions(+) create mode 100644 .zed/debug.json diff --git a/.zed/debug.json b/.zed/debug.json new file mode 100644 index 0000000..92ed2c9 --- /dev/null +++ b/.zed/debug.json @@ -0,0 +1,17 @@ +[ + { + "adapter": "Dart", + "label": "Run example (simple)", + "type": "dart", + "args": ["--simple"], + "request": "launch", + "program": "$ZED_WORKTREE_ROOT/example/lib/main.dart", + }, + { + "adapter": "Dart", + "label": "Run example (real client)", + "type": "dart", + "request": "launch", + "program": "$ZED_WORKTREE_ROOT/example/lib/main.dart", + }, +] diff --git a/test/src/status_code_test.dart b/test/src/status_code_test.dart index 9c6f5e4..56b94b5 100644 --- a/test/src/status_code_test.dart +++ b/test/src/status_code_test.dart @@ -124,6 +124,7 @@ void main() => group('$StatusCode', () { ]; final result = StatusCode.random(from: codes); expect(result, isA()); + expect(result, isA()); expect(codes, contains(result)); }); From 2ca26da62c1ffea41f6c6d74228766289c43014e Mon Sep 17 00:00:00 2001 From: Roman Cinis <52065414+tsinis@users.noreply.github.com> Date: Sat, 14 Mar 2026 17:22:06 +0100 Subject: [PATCH 3/7] docs: standardize markdown headings and formatting in github templates and docs - Update issue template headings from `####` to `##` and `###` for proper hierarchy - Add markdown titles to pull request template and MCP prompt files - Fix minor formatting inconsistencies in CHANGELOG.md and code of conduct - Improve markdown structure consistency across documentation --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- .github/ISSUE_TEMPLATE/build.md | 4 ++-- .github/ISSUE_TEMPLATE/chore.md | 4 ++-- .github/ISSUE_TEMPLATE/ci.md | 4 ++-- .github/ISSUE_TEMPLATE/documentation.md | 4 ++-- .github/ISSUE_TEMPLATE/feature_request.md | 4 ++-- .github/ISSUE_TEMPLATE/performance.md | 4 ++-- .github/ISSUE_TEMPLATE/refactor.md | 4 ++-- .github/ISSUE_TEMPLATE/revert.md | 4 ++-- .github/ISSUE_TEMPLATE/style.md | 4 ++-- .github/ISSUE_TEMPLATE/test.md | 4 ++-- .github/code_of_conduct.md | 2 +- .github/pull_request_template.md | 2 ++ CHANGELOG.md | 3 +-- extension/mcp/prompts/cache_strategy.md | 2 ++ extension/mcp/prompts/handle_response.md | 2 ++ 16 files changed, 30 insertions(+), 25 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f419216..7faf157 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -5,11 +5,11 @@ title: 'fix: ' labels: bug --- -#### Description +## Description A clear and concise description of what the bug is. -#### Steps To Reproduce +### Steps To Reproduce 1. Go to '...' 2. Add '....' diff --git a/.github/ISSUE_TEMPLATE/build.md b/.github/ISSUE_TEMPLATE/build.md index 5046d90..5ff02bc 100644 --- a/.github/ISSUE_TEMPLATE/build.md +++ b/.github/ISSUE_TEMPLATE/build.md @@ -5,10 +5,10 @@ title: 'build: ' labels: build --- -#### Description +## Description Describe what changes need to be done to the build system and why. -#### Requirements +### Requirements - [ ] The build system is passing. diff --git a/.github/ISSUE_TEMPLATE/chore.md b/.github/ISSUE_TEMPLATE/chore.md index f79155d..4befb2e 100644 --- a/.github/ISSUE_TEMPLATE/chore.md +++ b/.github/ISSUE_TEMPLATE/chore.md @@ -5,10 +5,10 @@ title: 'chore: ' labels: chore --- -#### Description +## Description Clearly describe what change is needed and why. If this changes code then please use another issue type. -#### Requirements +### Requirements - [ ] No functional changes to the code. diff --git a/.github/ISSUE_TEMPLATE/ci.md b/.github/ISSUE_TEMPLATE/ci.md index 61109b6..2750f64 100644 --- a/.github/ISSUE_TEMPLATE/ci.md +++ b/.github/ISSUE_TEMPLATE/ci.md @@ -5,10 +5,10 @@ title: 'ci: ' labels: ci --- -#### Description +## Description Describe what changes need to be done to the ci/cd system and why. -#### Requirements +### Requirements - [ ] The ci system is passing. diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md index a8187cf..a93d952 100644 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ b/.github/ISSUE_TEMPLATE/documentation.md @@ -5,10 +5,10 @@ title: 'docs: ' labels: documentation --- -#### Description +## Description Clearly describe what documentation you are looking to add or improve. -#### Requirements +### Requirements - [ ] Requirements go here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index e0c8a4a..28b0ddd 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -5,11 +5,11 @@ title: 'feat: ' labels: feature --- -#### Description +## Description Clearly describe what you are looking to add. The more business/user context the better. -#### Requirements +### Requirements - [ ] Checklist of requirements to be fulfilled. diff --git a/.github/ISSUE_TEMPLATE/performance.md b/.github/ISSUE_TEMPLATE/performance.md index 84b4277..ae171c3 100644 --- a/.github/ISSUE_TEMPLATE/performance.md +++ b/.github/ISSUE_TEMPLATE/performance.md @@ -5,10 +5,10 @@ title: 'perf: ' labels: performance --- -#### Description +## Description Clearly describe what code needs to be changed and what the performance impact is going to be. Bonus point's if you can tie this directly to user experience. -#### Requirements +### Requirements - [ ] There is no drop in the unit or widget test coverage percentage. diff --git a/.github/ISSUE_TEMPLATE/refactor.md b/.github/ISSUE_TEMPLATE/refactor.md index 141e41f..0b2f602 100644 --- a/.github/ISSUE_TEMPLATE/refactor.md +++ b/.github/ISSUE_TEMPLATE/refactor.md @@ -5,10 +5,10 @@ title: 'refactor: ' labels: refactor --- -#### Description +## Description Clearly describe what needs to be refactored any why. Please provide links to related issues (bugs or upcoming features) in order to help prioritize. -#### Requirements +### Requirements - [ ] There is no drop in the unit or widget test coverage percentage. diff --git a/.github/ISSUE_TEMPLATE/revert.md b/.github/ISSUE_TEMPLATE/revert.md index 08f55cf..d6f5fb8 100644 --- a/.github/ISSUE_TEMPLATE/revert.md +++ b/.github/ISSUE_TEMPLATE/revert.md @@ -5,11 +5,11 @@ title: 'revert: ' labels: revert --- -#### Description +## Description Provide a link to a PR/Commit that you are looking to revert and why. -#### Requirements +### Requirements - [ ] Change has been reverted. - [ ] No change in unit/widget test coverage has happened. diff --git a/.github/ISSUE_TEMPLATE/style.md b/.github/ISSUE_TEMPLATE/style.md index 9b1840b..fb5fde6 100644 --- a/.github/ISSUE_TEMPLATE/style.md +++ b/.github/ISSUE_TEMPLATE/style.md @@ -5,10 +5,10 @@ title: 'style: ' labels: style --- -#### Description +## Description Clearly describe what you are looking to change and why. -#### Requirements +### Requirements - [ ] There is no drop in the unit test coverage percentage. diff --git a/.github/ISSUE_TEMPLATE/test.md b/.github/ISSUE_TEMPLATE/test.md index 2b633e4..1637a8f 100644 --- a/.github/ISSUE_TEMPLATE/test.md +++ b/.github/ISSUE_TEMPLATE/test.md @@ -5,10 +5,10 @@ title: 'test: ' labels: test --- -#### Description +## Description List out the tests that need to be added or changed. Please also include any information as to why this was not covered in the past. -#### Requirements +### Requirements - [ ] There is no drop in the unit test coverage percentage. diff --git a/.github/code_of_conduct.md b/.github/code_of_conduct.md index 7258b6b..f332ce7 100644 --- a/.github/code_of_conduct.md +++ b/.github/code_of_conduct.md @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community -standards, including sustained inappropriate behavior, harassment of an +standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 925d145..e19e5ca 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,5 @@ +# Pull Request +