Skip to content

refactor: extract state management logic into policies

Description

This MR refactors the Code Suggestions State Manager to use policies defined in separate modules rather than many if checks.

This MR introduces the first two policies.

Related Issues

Related to #1232 (closed)

How has this been tested?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Merge request reports