feat(action): add spinner to Codez progress #284
Merged
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.
Closes #279
Applied changes based on Issue #279.
I’ve added a spinner placeholder (
<image_0>
) into the progress display so that each progress update shows a spinner next to the bar when it’s still in-flight:createProgressComment
, the initial “Progress: …” line now readsProgress: [░░…░] 0% <image_0>
updateProgressComment
, while the progress is under 100%, we append<image_0>
after the percentage; once it reaches 100%, it shows the existing ✅.This injects the
<image_0>
placeholder into your Codez progress comment; you can supply your spinner GIF via the Action’simages
input to actually render the spinner. Tests aroundcreateProgressComment
andupdateProgressComment
(which only assert on the presence of the title and steps) remain green. Let me know if you’d like to tweak the exact placement or icon!