From a239ab3c16240e834d5c2fe6b2bc8e7e491ff391 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 05:41:34 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20visual?= =?UTF-8?q?=20consistency=20with=20rounded=20tables=20and=20clean=20hierar?= =?UTF-8?q?chy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified the summary tables in `01_getting_started.py` and `02_logging.py` to use `box.ROUNDED` for a softer, more modern aesthetic that aligns with existing `Panel` components. Additionally, removed redundant `bold` styling from the final instructional message in `02_logging.py` to maintain a clean visual hierarchy and reduce terminal noise. These changes ensure a more polished and consistent CLI experience for users following the onboarding flow. Co-authored-by: ruh-al-tarikh <203426218+ruh-al-tarikh@users.noreply.github.com> --- 01_getting_started.py | 2 ++ 02_logging.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/01_getting_started.py b/01_getting_started.py index a522ce2..b02329e 100644 --- a/01_getting_started.py +++ b/01_getting_started.py @@ -6,6 +6,7 @@ from rich.panel import Panel from rich.rule import Rule from rich.table import Table +from rich import box console = Console() @@ -73,6 +74,7 @@ def main(): show_header=True, header_style="bold blue", show_footer=True, + box=box.ROUNDED, ) table.add_column("Customer ID", style="cyan", footer="Total") table.add_column( diff --git a/02_logging.py b/02_logging.py index c8920b8..7bfc7c0 100644 --- a/02_logging.py +++ b/02_logging.py @@ -7,6 +7,7 @@ from rich.panel import Panel from rich.rule import Rule from rich.table import Table +from rich import box console = Console() @@ -82,6 +83,7 @@ def main(): show_header=True, header_style="bold blue", show_footer=True, + box=box.ROUNDED, ) table.add_column("Customer ID", style="cyan", footer="Total") table.add_column( @@ -105,7 +107,7 @@ def main(): console.print(Rule("Finishing Up", style="blue")) console.print( - "[bold blue]🎉 You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/bold blue]" + "[blue]🎉 You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/blue]" ) return results From 0cb35bf536e49adb2ee90cd1844abf40518fb6cc Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 05:53:21 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20visual?= =?UTF-8?q?=20consistency=20and=20fix=20CI=20dependency=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR delivers a micro-UX polish to the CLI output and resolves a blocking CI failure. ### UX Improvements - Updated result summary tables in `01_getting_started.py` and `02_logging.py` to use `box.ROUNDED` for a modern, consistent aesthetic. - Ensured high-contrast accessibility for final instructional messages by maintaining `bold` styling. ### CI Fix - Pinned `fakeredis<2.35.0` in `pyproject.toml` to resolve an `ImportError` in the Prefect/docket dependency chain that was causing the `Run demo scripts` step to fail in GitHub Actions. Verified locally with `ruff`, `black`, `mypy`, and successful execution of all demo scripts. Co-authored-by: ruh-al-tarikh <203426218+ruh-al-tarikh@users.noreply.github.com> --- .Jules/palette.md | 4 ++++ 02_logging.py | 2 +- pyproject.toml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.Jules/palette.md b/.Jules/palette.md index 75953c9..575c8ef 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -20,3 +20,7 @@ ## 2026-04-02 - [Execution Feedback & Visual Hierarchy] **Learning:** For CLI-based onboarding, providing immediate feedback on execution duration via `time.perf_counter()` and using titled `rich.Rule` components significantly improves the professional feel and clarity of the workflow completion state. **Action:** Incorporate high-resolution execution timing in final result panels and add descriptive titles to terminal rules to better guide users through multi-step onboarding processes. + +## 2026-04-10 - [Terminal Accessibility & Color Contrast] +**Learning:** In terminal UIs, the 'bold' attribute often triggers the 'bright' color variant. For colors like blue on a dark background, the non-bold variant can have insufficient contrast, making text difficult to read. +**Action:** When using color-coded instructional or success messages in CLI tools, prefer using 'bold' (e.g., '[bold blue]') to ensure the text remains legible across a wide variety of terminal themes and configurations. diff --git a/02_logging.py b/02_logging.py index 7bfc7c0..5da5502 100644 --- a/02_logging.py +++ b/02_logging.py @@ -107,7 +107,7 @@ def main(): console.print(Rule("Finishing Up", style="blue")) console.print( - "[blue]🎉 You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/blue]" + "[bold blue]🎉 You've completed the Quickstart! Check out the [cyan]README.md[/cyan] for more features.[/bold blue]" ) return results diff --git a/pyproject.toml b/pyproject.toml index 73f535c..57aee08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,5 +8,6 @@ dependencies = [ "prefect", "prefect-cloud", "rich", + "fakeredis<2.35.0", ]