Files
Claude 9b0ab581e6 feat(angular): port AttachmentQueue and AttachmentRenderer
Mirror the React @copilotkit/react-ui Attachments pipeline in @copilotkitnext/angular:

- copilot-chat-attachment-renderer: dispatches a single Attachment by modality
  (image/audio/video/document) using getSourceUrl(source) once and per-modality
  default components. Each modality is overridable via #imageRenderer /
  #audioRenderer / #videoRenderer / #documentRenderer templates or
  *RendererComponent inputs. Image renderer surfaces a load error to a
  fallback view via an internal signal (parity with React useState).
- copilot-chat-attachment-queue: list/queue view with a remove control,
  uploading overlay/spinner, and per-type previews. Container and item are
  overridable via #container / #item templates or *Component inputs.
  Renames React's onRemoveAttachment prop to a removeAttachment output that
  emits { id, attachment }.

Behavioral tests (28) cover: src derivation for data vs url sources, slot
context shape, document icon fallbacks, displayName fallback chain,
formattedSize, uploading-state src masking, entry keying by attachment.id,
clickHandler -> removeAttachment, container context reactivity.
2026-05-05 04:20:29 +00:00
..
2026-05-01 01:08:19 +00:00
2026-05-01 01:08:19 +00:00
2026-04-29 11:57:11 +00:00
2026-04-29 11:57:11 +00:00