feat: saved views of my work, across my projects

A person saves named views of «my work»: projects, assigned to me, that I
follow, status categories, priorities, bugs only, overdue and text. They
are private (Mongo my_views, no history), listed and deleted by their
owner (GraphQL myViews / saveMyView / deleteMyView, REST /api/me/views),
and run as the cross-project search, which gains project, priority,
bugsOnly and overdue filters (also in MCP my_issues). The home page shows
them as a bar above «my work», with a drawer to save a new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 14:22:20 +02:00
parent e14f445e6b
commit 5b0396bc10
46 changed files with 2648 additions and 35 deletions

View File

@@ -87,6 +87,29 @@ export interface SavedFilterCriteria {
search?: string | null;
}
/** What a view of «my work» narrows to, across my projects. */
export interface MyViewCriteria {
/** Only these projects (empty: all of mine). */
projectIds?: string[] | null;
assignedToMe?: boolean | null;
watching?: boolean | null;
categories?: StatusCategory[] | null;
priorities?: IssuePriority[] | null;
/** Only types drawn with the bug icon. */
bugsOnly?: boolean | null;
/** Only open tickets past their due date. */
overdue?: boolean | null;
search?: string | null;
}
/** A named view of «my work», mine only. */
export interface MyView {
id: string;
name: string;
criteria: MyViewCriteria;
createdAt: string;
}
/** A named view of the board: private, or shared with the project. */
export interface SavedFilter {
id: string;