Celtrix icon indicating copy to clipboard operation
Celtrix copied to clipboard

[FEATURE] Simplify Stack Selection Flow

Open JoeCelaster opened this issue 1 month ago • 2 comments

  • Update the project initialization flow to first ask the developer whether they want to use a preset stack or a custom setup.
  • If they choose preset, show the available predefined stacks.
  • If they choose custom, continue to the individual technology selection flow.

JoeCelaster avatar Oct 08 '26 08:10 JoeCelaster

i want to work on this issue

tejalnayak avatar Oct 08 '26 09:10 tejalnayak

Hi @JoeCelaster,

I would like to propose the following solution for Issue #290 – Simplify Stack Selection Flow.

Proposed Solution

I propose updating the project initialization flow to first ask the developer whether they want to use a preset stack or a custom setup. Based on their choice, the wizard will guide them through the appropriate selection flow. Implementation approach: Add an initial selection: At the beginning of project initialization, display two options: Preset Stack and Custom Setup. Preset Stack flow: If the developer selects Preset Stack, display the available predefined stacks using the existing stack options. Custom Setup flow: If the developer selects Custom Setup, continue to the existing individual technology selection flow, allowing the developer to choose technologies separately. Preserve existing functionality: Reuse the existing stack definitions and selection logic wherever possible to avoid unnecessary changes. Handle selections correctly: Ensure the selected path is followed correctly and that the appropriate configuration is passed to the project generation process.

Keep the flow consistent: Follow the project's existing CLI prompt style and provide clear options to the developer.

Testing Plan Verify that the first question displays both Preset Stack and Custom Setup options. Verify that selecting Preset Stack displays the available predefined stacks. Verify that selecting Custom Setup opens the individual technology selection flow. Verify that the selected configuration is correctly used during project initialization. Ensure existing stack selection and project generation functionality continue to work without regression.

Scope I will first inspect the existing project initialization and stack selection logic, then implement the change using the current project patterns. I will keep the changes focused on the initialization flow and add or update relevant tests. Could you please review and approve this proposed solution before I begin implementation? I will incorporate any feedback before proceeding. Thank you!

tejalnayak avatar Oct 13 '26 08:10 tejalnayak