export function buildCommentHref( documentId: string, commentId: string, annotationId: string | null ): string { const base = `/documents/${documentId}?commentId=${commentId}`; return annotationId ? `${base}&annotationId=${annotationId}` : base; }