refactor: rename ProgressIndicator to CircularProgressIndicator #8527
ci.yml
on: push
Build & Validate
23s
ESLint & Prettier
33s
Test
1m 51s
Deploy Vite Example to Vercel
0s
Annotations
7 errors
|
Build & Validate
Process completed with exit code 1.
|
|
Build & Validate
Type 'unknown' is not assignable to type 'number | undefined'.
|
|
Build & Validate
Property 'uploadProgress' does not exist on type 'LocalAttachmentUploadMetadata & BaseLocalAttachmentMetadata'.
|
|
Build & Validate
Type 'unknown' is not assignable to type 'number | undefined'.
|
|
Test
Process completed with exit code 1.
|
|
src/components/MessageComposer/__tests__/MessageInput.test.tsx > MessageInputFlat > Attachments > Should upload an image when it is dropped on the dropzone:
src/components/MessageComposer/__tests__/MessageInput.test.tsx#L353
AssertionError: expected File{ path: 'some.txt', …(1) } to deeply equal ObjectContaining{…}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="str-chat str-chat__channel"
id="str-chat__channel"
>
<div
class="str-chat__container"
>
<div
class="str-chat__message-options"
>
<button
aria-expanded="false"
aria-haspopup="true"
aria-label="aria/Open Message Actions Menu"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-actions-box-button"
data-testid="message-actions-toggle-button"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--more str-chat__message-action-icon"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 11.25C10.6904 11.25 11.25 10.6904 11.25 10C11.25 9.30964 10.6904 8.75 10 8.75C9.30964 8.75 8.75 9.30964 8.75 10C8.75 10.6904 9.30964 11.25 10 11.25Z"
/>
<path
d="M4.6875 11.25C5.37786 11.25 5.9375 10.6904 5.9375 10C5.9375 9.30964 5.37786 8.75 4.6875 8.75C3.99714 8.75 3.4375 9.30964 3.4375 10C3.4375 10.6904 3.99714 11.25 4.6875 11.25Z"
/>
<path
d="M15.3125 11.25C16.0029 11.25 16.5625 10.6904 16.5625 10C16.5625 9.30964 16.0029 8.75 15.3125 8.75C14.6221 8.75 14.0625 9.30964 14.0625 10C14.0625 10.6904 14.6221 11.25 15.3125 11.25Z"
/>
</svg>
</div>
</button>
<button
aria-label="aria/Open Thread"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reply-in-thread-button"
data-testid="thread-action"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--reply str-chat__message-action-icon"
data-rtl-mirror=""
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M17.5812 15.525C16.2953 14.1555 12.9195 11.25 8.12265 11.25V15L1.87265 8.75L8.12265 2.5V6.25C12.2476 6.25 17.5359 10.1914 18.1226 15.2766C18.1308 15.3424 18.1177 15.4091 18.0854 15.4671C18.0531 15.525 18.0031 15.5712 17.9428 15.5988C17.8825 15.6265 17.815 15.6343 17.75 15.621C17.685 15.6077 17.6259 15.5741 17.5812 15.525Z"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
/>
</svg>
</div>
</button>
<button
aria-expanded="false"
aria-label="aria/Open Reaction Selector"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reactions-button"
data-testid="message-reaction-action"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--emoji str-chat__message-action-icon"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
|
|
src/components/MessageComposer/__tests__/MessageInput.test.tsx > MessageInputFlat > Attachments > Pasting images and files should result in uploading the files and showing previews:
src/components/MessageComposer/__tests__/MessageInput.test.tsx#L353
AssertionError: expected File{ …(1) } to deeply equal ObjectContaining{…}
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="str-chat str-chat__channel"
id="str-chat__channel"
>
<div
class="str-chat__container"
>
<div
class="str-chat__message-options"
>
<button
aria-expanded="false"
aria-haspopup="true"
aria-label="aria/Open Message Actions Menu"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-actions-box-button"
data-testid="message-actions-toggle-button"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--more str-chat__message-action-icon"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 11.25C10.6904 11.25 11.25 10.6904 11.25 10C11.25 9.30964 10.6904 8.75 10 8.75C9.30964 8.75 8.75 9.30964 8.75 10C8.75 10.6904 9.30964 11.25 10 11.25Z"
/>
<path
d="M4.6875 11.25C5.37786 11.25 5.9375 10.6904 5.9375 10C5.9375 9.30964 5.37786 8.75 4.6875 8.75C3.99714 8.75 3.4375 9.30964 3.4375 10C3.4375 10.6904 3.99714 11.25 4.6875 11.25Z"
/>
<path
d="M15.3125 11.25C16.0029 11.25 16.5625 10.6904 16.5625 10C16.5625 9.30964 16.0029 8.75 15.3125 8.75C14.6221 8.75 14.0625 9.30964 14.0625 10C14.0625 10.6904 14.6221 11.25 15.3125 11.25Z"
/>
</svg>
</div>
</button>
<button
aria-label="aria/Open Thread"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reply-in-thread-button"
data-testid="thread-action"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--reply str-chat__message-action-icon"
data-rtl-mirror=""
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M17.5812 15.525C16.2953 14.1555 12.9195 11.25 8.12265 11.25V15L1.87265 8.75L8.12265 2.5V6.25C12.2476 6.25 17.5359 10.1914 18.1226 15.2766C18.1308 15.3424 18.1177 15.4091 18.0854 15.4671C18.0531 15.525 18.0031 15.5712 17.9428 15.5988C17.8825 15.6265 17.815 15.6343 17.75 15.621C17.685 15.6077 17.6259 15.5741 17.5812 15.525Z"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
/>
</svg>
</div>
</button>
<button
aria-expanded="false"
aria-label="aria/Open Reaction Selector"
class="str-chat__button str-chat__button--secondary str-chat__button--ghost str-chat__button--circular str-chat__button--size-sm str-chat__message-actions-box-button str-chat__message-reactions-button"
data-testid="message-reaction-action"
type="button"
>
<div
class="str-chat__button__content"
>
<svg
class="str-chat__icon str-chat__icon--emoji str-chat__message-action-icon"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.75
|