Files
Naiyuan Qing 86dc4dfcf0 feat(views): complete Views feature — fix 5 review findings + frontend integration (MUL-2704)
Backend fixes:
- A1: Validate project_id belongs to current workspace in ListViews/CreateView
- A2: Export @multica/core/views subpath from package.json
- A3: Fix filter key casing — assigneeType → assignee_type in default views
- A4: Add canManageView auth check to ReorderViews handler
- A5: Move hot-table indexes to migration 111 with CREATE INDEX CONCURRENTLY

Frontend integration (steps 3-8):
- Replace hardcoded scope tabs with dynamic view tabs loaded from server
- Issues page and My Issues page fetch views via GET /api/views
- Active view's filters are passed as server-side params to GET /api/issues
- issueListOptions now accepts an optional filter param
- viewFiltersToApiParams utility maps view JSON filters to API params
- WS view events invalidate the views query cache
- Thread viewFilter through BoardView/ListView/useLoadMoreByStatus for cache key consistency
- Update tests to mock views API and verify new behavior

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-05-27 16:53:04 +08:00
..