Skip to content

feat: add saved views / custom queues#9

Merged
mpge merged 2 commits into
mainfrom
feat/saved-views
Apr 8, 2026
Merged

feat: add saved views / custom queues#9
mpge merged 2 commits into
mainfrom
feat/saved-views

Conversation

@mpge

@mpge mpge commented Apr 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add SavedView model with saved_views table (name, filters JSON, user_id, is_shared, position)
  • REST API CRUD at /escalated/v1/views with token auth
  • Users see own views + shared views from other users
  • Support for position-based reordering via SavedView::reorder()
  • Registered in Api_Bootstrap

Test plan

  • Verify CRUD operations (create, find, update, delete)
  • Verify filters stored and retrieved as JSON
  • Verify user scoping (own views + shared, excludes others' private)
  • Verify position-based ordering
  • Verify shared flag toggling
  • Verify reorder updates positions correctly

mpge added 2 commits April 8, 2026 08:59
Add SavedView model with dedicated database table for storing named
filter sets (JSON) per user. Supports shared views visible to all
users, position-based ordering, and full CRUD via REST API endpoints
at /escalated/v1/views. Users see their own views plus shared views
from other users. Includes PHPUnit tests for CRUD, scoping, sharing,
and reordering.
Merge main into saved-views branch, resolve API bootstrap conflict
to include all controllers. Apply Pint formatting fixes.
@mpge
mpge merged commit 79b87db into main Apr 8, 2026
1 of 3 checks passed
@mpge
mpge deleted the feat/saved-views branch April 8, 2026 13:10
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.

1 participant