Skip to content

🎨 Palette: Enhance CLI UX with execution timing and visual hierarchy#28

Merged
ruhdevops merged 3 commits intomainfrom
palette/enhance-cli-ux-4887941786672339638
Apr 11, 2026
Merged

🎨 Palette: Enhance CLI UX with execution timing and visual hierarchy#28
ruhdevops merged 3 commits intomainfrom
palette/enhance-cli-ux-4887941786672339638

Conversation

@ruhdevops
Copy link
Copy Markdown
Owner

💡 What:

  • Replaced random.choices with random.sample in 01_getting_started.py and 02_logging.py to ensure unique customer IDs in terminal output.
  • Implemented execution duration tracking using time.perf_counter() and displayed it in the final result panels.
  • Added descriptive titles ("Next Step" and "Conclusion") to rich.rule.Rule separators.
  • Cleaned up redundant bold styling in final instructional messages.

🎯 Why:

  • Unique IDs prevent the demo from appearing buggy or confusing to new users.
  • Execution timing provides immediate feedback on the workflow's performance, making the demo feel like a real-world tool.
  • Rule titles and cleaner messaging improve the visual hierarchy and guide the user more effectively through the onboarding flow.

Accessibility:

  • Improved visual structure and navigation through explicit section headings in the terminal output.

PR created automatically by Jules for task 4887941786672339638 started by @ruh-al-tarikh

This commit introduces several micro-UX improvements to the demo scripts:
- Replaces `random.choices` with `random.sample` to guarantee unique customer IDs.
- Tracks and displays total flow execution duration in the final success panel.
- Enhances visual hierarchy by adding descriptive titles to `rich.rule.Rule` components.
- Simplifies guidance messages to reduce terminal noise.

Co-authored-by: ruh-al-tarikh <203426218+ruh-al-tarikh@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@ruhdevops ruhdevops marked this pull request as ready for review April 7, 2026 15:16
@ruhdevops ruhdevops self-assigned this Apr 11, 2026
@ruhdevops ruhdevops merged commit 36fca95 into main Apr 11, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant