@#38
Merged
Merged
Conversation
feat: UX mock improvements — environment-aware test generation and smarter mock collection - Add EnvironmentContextCollector: detect test libraries, Java language level, build tool, Lombok presence, and library versions; inject into LLM prompt so generated tests only import libraries actually available on the classpath - Extend GenerationRequest with environmentContext field; PromptBuilder renders it - Rework DependentMethodCollector: collect class annotations, injectable fields with full public API surface, nested collaborator calls, and confirmed call sites - Add doValidate() to GenerateTestsDialog for input validation plus a non-blocking warning when no test libraries are detected on the module classpath - Add progress stage reporting ([1/4]..[4/4]) via ContextBox during generation - Add buildActionableErrorMessage() to map common failures to user guidance - Add errorWithLogs/errorWithSettings notification helpers with action buttons - Add SonarQubeAuth.requireAuthorizationHeader() for fast-fail with actionable message - Refactor JavaHeuristics: extract splitAtMainJava(), fix single-module path matching, add extractDeclaredPackage(), add String-based overloads - Fix output directory to follow the package actually declared in generated code - Fix restrictedNetworkMode type inference in plugin-idea/build.gradle.kts - Add tests: EnvironmentContextCollectorTest, JavaHeuristicsTest, SonarQubeAuthTest, PromptBuilderTest, TemplateRequestHandlebarsTest Co-Authored-By: Claude Opus 4.7 <[email protected]> @
feat: fix settings Apply/OK, remove redundant prompt fields, fix PasswordSafe EDT
- requirePromptProfiles now accepts blank/empty YAML (no longer throws)
- apply() shows error dialog on validation failure instead of silent fail
- SharedCredentialStore save/clear wrapped in runCatching
- loadSettingsModel uses .ifBlank { default } for prompt profile YAML fields
- buildPromptsMap derives standalone fields from profiles "default" entry
- seedLegacyIntoProfiles migrates old standalone prompts into profiles
- Removed 3 redundant UI fields: generationPromptWrapper, commitPrompt, branchDiffPrompt
- Prompt Manager is now the single editor for all 5 prompt categories
- SharedCredentialResolver extracts cross-service credential resolution
Co-Authored-By: Claude Opus 4.8 <[email protected]>
@
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: UX mock improvements — environment-aware test generation and smarter mock collection
@