Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(Card): add labels to Card and CardScroll storybook examples #8299

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andrey-medvedev-vk
Copy link
Contributor

@andrey-medvedev-vk andrey-medvedev-vk commented Feb 21, 2025


  • Release notes

Изменения

  • Исправляем Flex пример из storybook. Раньше мы растягивали пример по высоте, чтобы Banner хорошо смотрелся, но из-за того, что компонент Banner был когда-то отрефакторен и потерял одну из обёрток, пример Flex стал излишне растягиваться по высоте и ломать компонент Banner с нишим кастомным стилем. Убрал растягивание по высоте.
  • во время ревью примеров сторибука с точки зрения доступности было не понятно что за примеры лежат в Card и CardGrid и есть ли что там проверять. Добавил текст в контейнеры. Чтобы было понятно, что это просто визульные примеры. Обсудил это с тестировщиком по доступности и сошлись на том, что этого для примеров будет достаточно. Текст спрятал, потому что примеры должны быть похожи на то, что у нас в дизайне.
  • Из примера Card убрал тег li, который у нас установлен по умолчанию, так как в примере нету обёртки ul и элемент один.

PS: В CardScroll были когда-то не подписанные кнопки, они уже подписаны.

Release notes

Документация

  • Card: обновлен пример в storybook, чтобы при проверке скринридером он не казался пустым
  • CardGrid: обновлен пример в storybook, чтобы при проверке скринридером он не казался пустым

Copy link

codesandbox-ci bot commented Feb 21, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

github-actions bot commented Feb 21, 2025

👀 Docs deployed

Commit 3cd4332

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.46%. Comparing base (c708d03) to head (716acc8).
Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8299      +/-   ##
==========================================
- Coverage   95.54%   95.46%   -0.08%     
==========================================
  Files         404      403       -1     
  Lines       11641    11601      -40     
  Branches     3859     3842      -17     
==========================================
- Hits        11122    11075      -47     
- Misses        519      526       +7     
Flag Coverage Δ
unittests 95.46% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andrey-medvedev-vk andrey-medvedev-vk marked this pull request as ready for review February 26, 2025 10:08
@andrey-medvedev-vk andrey-medvedev-vk requested a review from a team as a code owner February 26, 2025 10:08
Copy link
Contributor

@inomdzhon inomdzhon left a comment

Choose a reason for hiding this comment

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

👏

PS: в релиз ноутах не стоит упомянуть исправления компонентов из этого списка #4931?

@andrey-medvedev-vk
Copy link
Contributor Author

👏

PS: в релиз ноутах не стоит упомянуть исправления компонентов из этого списка #4931?

Спасибо за ревью!
С одной стороны, вроде бы и стоит для консистентности, но в то же время не хочется загромождать релиз ноут этими мелкими доработками. Я бы не добавлял.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants