Redesign notes list and editor to match Keep-style mockups.

Add checklist, activity link, location, analyze flag, and audio attachments with a real API-backed masonry UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 19:13:01 +03:30
co-authored by Cursor
parent 32af147237
commit 4e3dbb4e00
7 changed files with 2049 additions and 838 deletions
+23 -1
View File
@@ -548,7 +548,11 @@ export type NoteType =
| "meeting"
| "important"
| "warning"
| "next_action";
| "next_action"
| "follow_up"
| "idea"
| "suggestion"
| "personal";
export interface NoteAttachmentDto {
id: string;
@@ -558,6 +562,12 @@ export interface NoteAttachmentDto {
createdAt: string;
}
export interface NoteChecklistItemDto {
id: string;
text: string;
done: boolean;
}
export interface NoteDto {
id: string;
title: string | null;
@@ -567,9 +577,13 @@ export interface NoteDto {
color: string | null;
tags: string[];
reminderAt: string | null;
checklist: NoteChecklistItemDto[];
locationText: string | null;
analyzeEnabled: boolean;
person: PersonSummaryDto | null;
company: CompanySummaryDto | null;
deal: DealSummaryDto | null;
activity: { id: string; title: string } | null;
author: UserSummaryDto | null;
attachments: NoteAttachmentDto[];
createdAt: string;
@@ -584,9 +598,13 @@ export interface CreateNoteRequest {
color?: string;
tags?: string[];
reminderAt?: string | null;
checklist?: NoteChecklistItemDto[];
locationText?: string | null;
analyzeEnabled?: boolean;
personId?: string | null;
companyId?: string | null;
dealId?: string | null;
activityId?: string | null;
}
export interface UpdateNoteRequest {
@@ -597,9 +615,13 @@ export interface UpdateNoteRequest {
color?: string | null;
tags?: string[];
reminderAt?: string | null;
checklist?: NoteChecklistItemDto[];
locationText?: string | null;
analyzeEnabled?: boolean;
personId?: string | null;
companyId?: string | null;
dealId?: string | null;
activityId?: string | null;
}
export type NoteAiSuggestionStatus =