Conversation
- Replace 20+ prompt wizard with 5 preset options (GitHub, GitLab, JIRA, Local, Full) - Add auto-detection of issue tracker from git remotes and environment - Reduce preset workflows to 1-5 questions with auto-suggested defaults - Update all 23 init tests to validate preset-based approach 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 tasks
The preset-based init wizard changed the initialization flow from Confirm.ask to Prompt.ask for preset selection. Updated all sync command tests to properly mock the new flow: - test_smart_sync.py: 5 tests updated with preset selection mocks - test_sync_command.py: 18 tests updated with preset selection mocks All tests now select the Local preset (option 4) before running sync operations, matching the new wizard flow. Fixes regression introduced by #329 preset-based init wizard. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.
Description
This PR refactors the
daf initwizard to use a preset-based configuration approach, simplifying the user onboarding experience. Instead of walking users through numerous individual configuration prompts, the wizard now offers predefined presets that encapsulate common workflow configurations. This reduces cognitive load during initial setup and helps new users get started more quickly with sensible defaults.Changes include:
devflow/config/init_wizard.pyto implement preset-based configuration logicdevflow/cli/main.pyto integrate the new wizard flowdocs/getting-started/installation.mdto reflect the new initialization processtests/test_init_command.pyfor the preset-based workflowAGENTS.mdwith relevant project guidanceAssisted-by: Claude
Testing
Steps to test
daf initand observe the preset-based configuration wizarddaf configto confirm the configuration matches the selected presetdaf open,daf status) to ensure the new configuration works as expectedpytest tests/test_init_command.py -vScenarios tested
Deployment considerations