Skip to content

feat: add session status filter#248

Open
intagliated wants to merge 1 commit intoOpen-ACP:mainfrom
intagliated:feature/session-status-filter
Open

feat: add session status filter#248
intagliated wants to merge 1 commit intoOpen-ACP:mainfrom
intagliated:feature/session-status-filter

Conversation

@intagliated
Copy link
Copy Markdown

summary

Add filtering capability to session list API by status.

changes

  • Add Session interface with SessionStatus type
  • Add VALID_STATUSES constant ('active', 'completed', 'expired', 'cancelled')
  • Add filterSessionsByStatus controller function
  • Add unit tests with 4 test cases

testing

  • Unit tests passing for filter logic
  • Manual validation completed
  • No breaking changes

related Issue

Closes #247

type of changes

  • Bug fix
  • New feature
  • Documentation update
  • Tests
  • CI / Build

checklist

  • My code follows the project style guidelines
  • I have performed a self-review of my code
  • I have added tests that prove my fix/feature works
  • New and existing tests pass locally with my changes

- Add Session interface with SessionStatus type
- Add VALID_STATUSES constant (active, completed, expired, cancelled)
- Add filterSessionsByStatus controller function
- Add unit tests with 4 test cases for filter logic
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.

[Feature]: Filter by statuses on the session list API

1 participant