🎨 Palette: Enhance CLI feedback and visual hierarchy#27
Conversation
This PR introduces several micro-UX improvements to the onboarding scripts `01_getting_started.py` and `02_logging.py`: - **Improved Data Integrity:** Replaced `random.choices` with `random.sample` to ensure unique customer IDs in demo output. - **Enhanced Feedback:** Added total execution duration measurement and display using `time.perf_counter()`. - **Better Visual Hierarchy:** Added descriptive titles to `rich.rule.Rule` components and extra vertical whitespace for improved readability. - **Cleaner Instructions:** Simplified guidance messages and removed redundant styling when preceded by a titled section rule. - **Educational Context:** Preserved script-specific success messages to maintain the learning value of each tutorial step. Accessibility: - Improved terminal readability through better spacing and structured summaries. - Consistent ID formatting (zero-padding) for improved visual alignment in terminal lists. Co-authored-by: ruh-al-tarikh <203426218+ruh-al-tarikh@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Implemented a series of small, delightful UX touches to the CLI onboarding scripts to make the developer experience smoother and more professional. Changes include unique mock data generation, execution timing, and improved visual layout using Rich components.
PR created automatically by Jules for task 1072498972915862869 started by @ruh-al-tarikh