Skip to content

YH-2029: update skeleton for CollectionPage#1277

Open
IrinaYarutkina wants to merge 4 commits into
developfrom
fix/YH-2029
Open

YH-2029: update skeleton for CollectionPage#1277
IrinaYarutkina wants to merge 4 commits into
developfrom
fix/YH-2029

Conversation

@IrinaYarutkina

Copy link
Copy Markdown
Collaborator

YH-2029

  • исправлен компонент CollectionPageSkeleton, опираясь на основной компонент.
  • Исправлены и дескт и моб версии
    Также поправлены дочерние компоненты:
    -AdditionalInfoSkeleton
  • CollectionBody
  • и заголовок в TasksControllerSkeleton

@IrinaYarutkina IrinaYarutkina added bug Something isn't working review the task is currently being reviewed labels May 29, 2026
Comment thread .claude/settings.local.json Outdated
"WebFetch(domain:github.com)"
]
}
"permissions": {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут форматер отработал, такие пустые изменения(не связанные с задачей) лучше не заносить в коммит

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[SUGGESTION] - Я бы даже сказал, что лучше удалить эту папку. Видимо в какой то задаче ктото занес


import styles from './CollectionPage.module.css';

export const CollectionPageSkeleton = () => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Сейчас скелетон не отрабатывает корректно, так как в CollectionPage стоит проверка на наличие коллекции. Ее нужно убрать, так как до получения коллекции показывается заглушка, которой не должно быть
ПОсле того как уберешь это условие нао будет переместить все что передается в пропс content компонента PageWrapper в отдельный компонент CollectionPageContent. И соответственно скелетон также расположить

))}
<Flex direction="column" gap="8">
<TextSkeleton variant="body3" width={62} />
<Skeleton width={70} height={30} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Тут нужно использовать StatusChipSkeleton

<TextSkeleton variant="body3" width={62} />
<Skeleton width={70} height={30} />
</Flex>
<BaseFilterSectionSkeleton length={2} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Следующие ниже 4 элемента также должны быть BaseFilterSectionSkeleton но с length 1

<TextSkeleton variant="body3" width={137} />
<Skeleton width={41} height={39} />
</Flex>
<Skeleton width={270} height={60} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Здесь должен быть AuthorInfoSkeleton


import styles from './CollectionBody.module.css';

export const CollectionBodySkeleton = () => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Здесь совершенно не соответствует структура основному компоненту

Вместо Card -> CardSkeleton и чтобы не отображался заголовок в виде текста, а в виде скелетона
Внутри мапинга использовать PreviewQuestionsItemSkeleton, но проверить чтобы корректно отображался

@PerelomaDenis PerelomaDenis added comments Code improvements are required and removed review the task is currently being reviewed labels May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working comments Code improvements are required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants