fix: Add Code Suggestion State Check for Status Bar Icon

Description

In !1872 (merged), loading and error were removed from CODE_SUGGESTIONS_STATUSES but because code suggestion state manager still handles loading and error, status bar item is still exposed to the states.

Please refer to #1537 (closed) for more details

Related Issues

Resolves #1537 (closed)

How has this been tested?

  • Tested by running VS Code Extension locally
    • Open OUTPUT panel and select Extension Host
    • Trigger code suggestion
    • Check TypeError is NOT logged on the OUTPUT panel

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes
Edited by Juhee Lee

Merge request reports

Loading