Skip to content

🎨 Palette: Enhance CLI progress bars and summary table#360

Merged
abhimehro merged 4 commits intomainfrom
palette-micro-ux-table-progress-10990759234046850177
Feb 19, 2026
Merged

🎨 Palette: Enhance CLI progress bars and summary table#360
abhimehro merged 4 commits intomainfrom
palette-micro-ux-table-progress-10990759234046850177

Conversation

@abhimehro
Copy link
Owner

This PR enhances the CLI user experience by improving visual polish:

  1. Cleaner Progress Bars: Replaced the noisy character with · (middle dot) for the empty portion of progress bars.
  2. Polished Summary Table: Replaced the manual ASCII table printing with a robust print_summary_table function that uses Unicode box-drawing characters when supported (USE_COLORS=True). This makes the final summary report look like a proper "card" or report.
  3. Refactoring: Extracted the table printing logic into a dedicated function, improving readability in main().

Tested manually with python main.py --dry-run and verified automated tests pass.


PR created automatically by Jules for task 10990759234046850177 started by @abhimehro

…summary table

- Updated progress bar empty character from '░' to '·' for a cleaner look.
- Implemented `print_summary_table` to render a polished Unicode box-drawing table when colors are enabled, falling back to ASCII otherwise.
- Extracted table rendering logic into a reusable function for better organization.
- Updated `tests/test_ux.py` to assert the new progress bar character.

Co-authored-by: abhimehro <84992105+abhimehro@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 18, 2026 22:43
@google-labs-jules
Copy link

👋 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.

@trunk-io
Copy link

trunk-io bot commented Feb 18, 2026

😎 Merged manually by @abhimehro - details.

@github-actions
Copy link

👋 Development Partner is reviewing this PR. Will provide feedback shortly.

@gemini-code-assist
Copy link

Summary of Changes

Hello @abhimehro, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the command-line interface's user experience by refining its visual elements. The changes focus on making progress indicators less obtrusive and presenting summary information in a more structured and aesthetically pleasing format, ultimately contributing to a more professional and user-friendly CLI output.

Highlights

  • Progress Bar Enhancement: Replaced the empty portion character in CLI progress bars from a noisy '░' to a cleaner '·' (middle dot) for improved visual clarity.
  • Summary Table Refactoring and Polish: Extracted the summary table printing logic into a dedicated print_summary_table function. This new function supports Unicode box-drawing characters for a more polished 'card' like appearance when USE_COLORS is enabled, with a robust ASCII fallback.
  • Code Readability: Improved the readability of the main() function by abstracting the complex summary table rendering logic into its own function.
Changelog
  • main.py
    • Updated the character used for the empty portion of progress bars from '░' to '·' in countdown_timer and render_progress_bar functions.
    • Introduced a new function print_summary_table to encapsulate the logic for rendering the CLI summary table.
    • Implemented both Unicode box-drawing characters and an ASCII fallback for the summary table rendering within print_summary_table.
    • Replaced the previous inline summary table printing logic with a call to the new print_summary_table function.
  • tests/test_ux.py
    • Modified test_countdown_timer_visuals to assert for the new '·' character in progress bar output, reflecting the visual change.
Activity
  • The pull request was automatically created by Jules for task 10990759234046850177, initiated by @abhimehro.
  • Manual testing was performed with python main.py --dry-run to verify the changes.
  • Automated tests were verified to pass after the changes.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.


# Check for progress bar chars
assert "" in combined_output
assert "·" in combined_output

Check notice

Code scanning / Bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Note test

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the CLI user experience with visual polish improvements to progress bars and the summary table. It replaces the noisy character with the cleaner · (middle dot) in progress bars, and refactors the summary table printing into a dedicated function that uses Unicode box-drawing characters for a more polished report appearance.

Changes:

  • Replaced with · (middle dot) in progress bars for a cleaner visual appearance
  • Extracted summary table printing logic into a new print_summary_table function with Unicode box-drawing support
  • Increased Rules column width from 10 to 12 characters to better accommodate large numbers with thousand separators

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
main.py Updated progress bar characters in countdown_timer and render_progress_bar; added new print_summary_table function with Unicode box-drawing support; refactored main() to use the new function
tests/test_ux.py Updated test assertion to verify the new middle dot character instead of the old light shade character

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is a great step forward in improving the CLI's visual presentation. The new progress bars are cleaner, and the summary table is much more professional. The refactoring of the table printing logic into its own function is also a good move for code clarity. I've found a minor alignment issue in the new Unicode summary table that could cause a visual glitch. My feedback includes a suggested fix for this.

@github-actions
Copy link

👋 Development Partner is reviewing this PR. Will provide feedback shortly.

- Updated progress bar empty character from '░' to '·' for a cleaner look.
- Implemented `print_summary_table` to render a polished Unicode box-drawing table when colors are enabled, falling back to ASCII otherwise.
- Extracted table rendering logic into a reusable function.
- Updated `tests/test_ux.py` to assert the new progress bar character.
- Fixed `TypeError` in `tests/test_content_type.py` caused by duplicate method definition in merged code.

Co-authored-by: abhimehro <84992105+abhimehro@users.noreply.github.com>
@github-actions
Copy link

👋 Development Partner is reviewing this PR. Will provide feedback shortly.

@github-actions
Copy link

👋 Development Partner is reviewing this PR. Will provide feedback shortly.

@abhimehro abhimehro merged commit 8d60d26 into main Feb 19, 2026
10 of 13 checks passed
@abhimehro abhimehro deleted the palette-micro-ux-table-progress-10990759234046850177 branch February 19, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants