Skip to content

Conversation

github-actions[bot]
Copy link

Closes #421

Applied changes based on Issue #421.

I’ve added a pool of whimsical loading phrases and wired them into both the initial‐render and update paths of the Codez progress bar, so each time the bar is shown it will pick a random quip to display underneath.

Changes in brief:

  • src/constants.ts: Declared and exported LOADING_PHRASES with the full list of one‑liners.
  • src/github/action.ts:
    • Imported LOADING_PHRASES.
    • In createProgressComment, inserted a random loading phrase below the static progress bar before listing the steps.
    • In updateProgressComment, likewise inject a new random phrase on each update underneath the dynamic bar.
  • Ran Prettier over the two edited files for consistent formatting.

Files touched

git diff --stat src/constants.ts src/github/action.ts

Note on tests:
The repository currently has a number of unrelated test failures and type‐export gaps (e.g. missing exports in action.ts/github.ts, TS config warnings) that predated this change. Since those are outside the scope of adding loading phrases, I’ve focused solely on the loading‑phrase feature. Let me know if you’d like those test exports or TS errors addressed as well!

@YiweiShen YiweiShen merged commit e3b42cc into main Jul 13, 2025
3 checks passed
@YiweiShen YiweiShen deleted the codez-chore-421-feat-progress-add-loading-phrases-below-progress-bar branch July 13, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add loading phrases below the Codez progress bar.

1 participant