Add Laravel-inspired UI with styled boxes and dynamic version detection#4
Merged
Add Laravel-inspired UI with styled boxes and dynamic version detection#4
Conversation
…namic version Add comprehensive UI enhancements including ASCII art logo, styled welcome box, colored status messages, and boxed configuration summary. Welcome message now displays detected Rails version dynamically. Key improvements: - New Railstart::UI module with logo, welcome box, section headers, and status messages - TTY::Box integration for styled frames and borders - Dynamic Rails version detection in welcome message - Improved select/multi_select choices using hash format instead of array pairs - Fixed TTY::Prompt default value handling (1-based index) - Bundler context isolation for Rails command execution - Bundle install post-action disabled by default Also includes CHANGELOG update documenting preset system and UI improvements.
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.
Summary
Transforms Railstart CLI with a polished, Laravel-inspired interface featuring ASCII art, styled boxes, and dynamic version detection.
Key Features
Technical Improvements
Railstart::UImodule for CLI presentationFiles Changed
lib/railstart/ui.rb— New UI module (143 lines)lib/railstart/generator.rb— UI integration + TTY::Prompt fixesrailstart.gemspec— Added tty-box dependencyconfig/rails8_defaults.yaml— Disabled bundle install post-actionCHANGELOG.md— Documented v0.2.0 with preset system and UI improvementsTest Plan
Screenshots
Before: Plain text output
After: Styled boxes, ASCII art, colored status messages
Breaking Changes
None - fully backward compatible
Related Issues
Closes #4 (if applicable - improves CLI UX as discussed)