feat: render warnings for partial or omitted references (#222292)

* feat: render warnings for partial or omitted references

* feat: apply warning foreground color to label for omitted reference

* feat: render omitted warning in request attachment widget

* feat: allow clicking to open chat attachment
This commit is contained in:
Joyce Er
2024-07-20 13:39:05 -07:00
committed by GitHub
parent cd0259a1d1
commit 1c7fa5ef1e
11 changed files with 151 additions and 21 deletions

View File

@@ -1763,6 +1763,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatResponseProgressPart: extHostTypes.ChatResponseProgressPart,
ChatResponseProgressPart2: extHostTypes.ChatResponseProgressPart2,
ChatResponseReferencePart: extHostTypes.ChatResponseReferencePart,
ChatResponseReferencePart2: extHostTypes.ChatResponseReferencePart,
ChatResponseCodeCitationPart: extHostTypes.ChatResponseCodeCitationPart,
ChatResponseWarningPart: extHostTypes.ChatResponseWarningPart,
ChatResponseTextEditPart: extHostTypes.ChatResponseTextEditPart,
@@ -1770,6 +1771,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatResponseCommandButtonPart: extHostTypes.ChatResponseCommandButtonPart,
ChatResponseDetectedParticipantPart: extHostTypes.ChatResponseDetectedParticipantPart,
ChatResponseConfirmationPart: extHostTypes.ChatResponseConfirmationPart,
ChatResponseReferencePartStatusKind: extHostTypes.ChatResponseReferencePartStatusKind,
ChatRequestTurn: extHostTypes.ChatRequestTurn,
ChatResponseTurn: extHostTypes.ChatResponseTurn,
ChatLocation: extHostTypes.ChatLocation,