Draft
feat(ui): add Fabric-branded progress spinner during command execution#69
Conversation
fix: semantic pr
chore: Introduce release workflowc
…ith pulsing dots Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
Copilot
AI
changed the title
feat(ui): add responsive progress spinner during command execution
feat(ui): add Fabric-branded progress spinner during command execution
Feb 24, 2026
ayeshurun
reviewed
Mar 1, 2026
ayeshurun
reviewed
Mar 1, 2026
…coloring Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
…verlap Co-authored-by: ayeshurun <98805507+ayeshurun@users.noreply.github.com>
This script benchmarks the startup performance of the CLI by measuring module import times, CLI invocation times, and heavy dependency loading. It allows comparisons against a baseline branch or tag.
…opilot/add-responsive-progress-indicator
…ithub.com/ayeshurun/fabric-cli into copilot/add-responsive-progress-indicator
…opilot/add-responsive-progress-indicator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
✨ Description of new changes
Adds a Fabric-branded animated spinner on stderr while CLI commands execute, providing visual feedback for long-running operations.
Design
Spinnercontext manager infab_ui.py— background daemon thread animates braille characters (⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏) on stderr#49C5B1), message text in grey, matching the CLI's existingprint_fabric()andget_common_style()palettestop_active_spinner()called from all output functions (print_output_format(),print_output_error(),print_progress(),print_done(),print_warning(), andprint_info()) so the spinner line is always cleaned up before any console output renders, including during LRO pollingIntegration points
main.py:_execute_command()— wrapsfunc(args)for command-line modefab_interactive.py:handle_command()— wrapsfunc(args)for interactive REPL modeLRO overlap prevention
The spinner is guaranteed not to overlap with Long Running Operation (LRO) polling output. Every output function used by the LRO flow —
print_progress(),print_done(),print_warning(),print_info(),print_output_format(), andprint_output_error()— callsstop_active_spinner()as its first action, clearing the spinner line from stderr before rendering status text. The call is idempotent, so it's safe when the spinner is already stopped or was never started.Tests
11 unit tests covering init, TTY/non-TTY behavior, start/stop lifecycle, idempotent stop, global state management, and fast-command animation skip.
No new dependencies.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.