Skip to content

🎨 Palette: [UX improvement]#29

Merged
ruhdevops merged 1 commit intomainfrom
palette-ux-refinement-5098955952166587499
Apr 9, 2026
Merged

🎨 Palette: [UX improvement]#29
ruhdevops merged 1 commit intomainfrom
palette-ux-refinement-5098955952166587499

Conversation

@ruhdevops
Copy link
Copy Markdown
Owner

This PR implements several micro-UX improvements to the introductory Prefect tutorial scripts to enhance the first-time user experience.

💡 What:

  • Guaranteed unique customer IDs in demo output by switching to random.sample.
  • Improved task pacing by adding a brief 100ms pause during the data fetching phase, ensuring the "Fetching" status spinner is visible and creates a "tactile" feel.
  • Cleaned up the terminal output by removing redundant labels after titled rich.Rule components.

🎯 Why:

  • Duplicate IDs in a "customer list" can be confusing and appear like a bug to new users.
  • Without a slight delay, the "Fetching" state in these small demos was too fast to see, making the workflow feel instantaneous rather than illustrative.
  • Reducing redundant bold styling and labels improves the visual hierarchy and reduces noise in the CLI experience.

♿ Accessibility:

  • These changes focus on visual feedback and clarity, ensuring that state transitions are perceptible to users by giving the UI enough time to register "work in progress" states.

📸 Verification:

  • Both 01_getting_started.py and 02_logging.py were run to confirm the output meets UX standards.
  • Linting (black, ruff) and type-checking (mypy) passed successfully.

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

- Changed `random.choices` to `random.sample` in `get_customer_ids` for unique mock data.
- Added `time.sleep(0.1)` to `get_customer_ids` for perceptible status spinners.
- Removed redundant prefix from "Next Step" guidance in `01_getting_started.py`.
- Verified changes by running both demo scripts and performing lint/type checks.

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 9, 2026 14:36
@ruhdevops ruhdevops merged commit 46d23b5 into main Apr 9, 2026
7 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