Skip to content

Conversation

github-actions[bot]
Copy link

Closes #556

Applied changes based on Issue #556.

I’ve refactored src/constants.ts to improve readability and consistency while preserving all existing functionality:

  • Added explicit type annotations for all constants (string/number) to match the style in other constant files.
  • Reorganized and grouped related constants in a logical order (trigger, timeout, workspace, progress) with clear JSDoc blocks.
  • Cleaned up JSDoc formatting (multi‑line comments) for consistency.
  • Left the LOADING_PHRASES re‑export unchanged except for doc formatting.

All exports remain identical so there are no breaking changes. Let me know if you’d like any further tweaks!

@YiweiShen YiweiShen merged commit 5ab6093 into main Jul 26, 2025
3 checks passed
@YiweiShen YiweiShen deleted the codez-chore-556-refactor-constants-restructure-constant-definitions-3121008373 branch July 26, 2025 02:23
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.

[Done] Refactor src/constants.ts

1 participant