Revert "Add timestamps to comments proposal (#139849)"

This reverts commit b978d7150c.
This commit is contained in:
Alex Ross
2022-01-12 15:51:57 +01:00
parent 96b6511b5d
commit 4d1d73f6ef
17 changed files with 21 additions and 276 deletions

View File

@@ -10,7 +10,7 @@ import { SerializedError } from 'vs/base/common/errors';
import { IRelativePattern } from 'vs/base/common/glob';
import { IMarkdownString } from 'vs/base/common/htmlContent';
import { IDisposable } from 'vs/base/common/lifecycle';
import { MarshalledId, revive } from 'vs/base/common/marshalling';
import { revive } from 'vs/base/common/marshalling';
import * as performance from 'vs/base/common/performance';
import Severity from 'vs/base/common/severity';
import { Dto } from 'vs/base/common/types';
@@ -160,25 +160,11 @@ export interface CommentProviderFeatures {
options?: modes.CommentOptions;
}
export interface CommentChanges {
readonly uniqueIdInThread: number;
readonly body: IMarkdownString;
readonly userName: string;
readonly userIconPath?: string;
readonly contextValue?: string;
readonly commentReactions?: modes.CommentReaction[];
readonly label?: string;
readonly mode?: modes.CommentMode;
readonly detail?: {
$mid: MarshalledId.Date
} | string;
}
export type CommentThreadChanges = Partial<{
range: IRange,
label: string,
contextValue: string | null,
comments: CommentChanges[],
comments: modes.Comment[],
collapseState: modes.CommentThreadCollapsibleState;
canReply: boolean;
}>;