feat: add rainbow wave animation to progress bar#28
Open
AurelianoBR wants to merge 3 commits intoglauberlima:mainfrom
Open
feat: add rainbow wave animation to progress bar#28AurelianoBR wants to merge 3 commits intoglauberlima:mainfrom
AurelianoBR wants to merge 3 commits intoglauberlima:mainfrom
Conversation
Replace static tier-based coloring with a per-character rainbow wave using ANSI 256-color codes. Each filled block gets a different color from a 12-color palette, and the phase shifts once per second based on epoch time, creating a flowing wave effect across invocations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- SC2250: add braces around $color_idx and $_v variable references - SC2310: extract is_present/validate_directory calls from if conditions to avoid set -e being disabled inside conditionals Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use `|| rc=$?` pattern to capture return codes outside any conditional chain, satisfying shellcheck SC2310 which warns about set -e being disabled inside if/&& conditions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
EPOCHSECONDSwhen available (zero cost), falls back todate +%son bash 3.2Test plan
bash -n): 6/6 passed🤖 Generated with Claude Code