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

feat(ModalCard): add dismissButtonMode #6068

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

BlackySoul
Copy link
Contributor

@BlackySoul BlackySoul commented Nov 1, 2023

- [ ] Unit-тесты

  • e2e-тесты

  • Дизайн-ревью

- [ ] Документация фичи

Описание

Изменения

Добавлен dismissButtonMode=inside|outside для ModalCard, пока выбрана стратегия добавления безопасного места сверху

@BlackySoul BlackySoul requested a review from a team as a code owner November 1, 2023 10:21
@github-actions github-actions bot added the v5 Автоматизация: PR продублируется в ветку v5 label Nov 1, 2023
Copy link
Contributor

github-actions bot commented Nov 1, 2023

size-limit report 📦

Path Size
JS 336.9 KB (+0.16% 🔺)
JS (gzip) 102.89 KB (+0.14% 🔺)
JS (brotli) 84.88 KB (+0.15% 🔺)
JS import Div (tree shaking) 2.71 KB (0%)
CSS 256.31 KB (+0.43% 🔺)
CSS (gzip) 33.7 KB (+0.39% 🔺)
CSS (brotli) 27.32 KB (+0.23% 🔺)

Copy link

codesandbox-ci bot commented Nov 1, 2023

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.

Latest deployment of this branch, based on commit 656b877:

Sandbox Source
VKUI TypeScript Configuration

Copy link
Contributor

github-actions bot commented Nov 1, 2023

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Nov 1, 2023

👀 Docs deployed

Commit 656b877

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (107c29d) 79.38% compared to head (656b877) 79.40%.

Files Patch % Lines
...ponents/ModalCardBase/ModalCardBaseCloseButton.tsx 87.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6068      +/-   ##
==========================================
+ Coverage   79.38%   79.40%   +0.01%     
==========================================
  Files         306      307       +1     
  Lines        9631     9642      +11     
  Branches     3261     3262       +1     
==========================================
+ Hits         7646     7656      +10     
- Misses       1985     1986       +1     
Flag Coverage Δ
unittests 79.40% <90.00%> (+0.01%) ⬆️

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.

mendrew
mendrew previously approved these changes Nov 1, 2023
Copy link
Contributor

@mendrew mendrew left a comment

Choose a reason for hiding this comment

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

Шикарно! 👍

@github-actions github-actions bot added the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Nov 9, 2023
@BlackySoul BlackySoul self-assigned this Nov 13, 2023
@BlackySoul BlackySoul removed the pr-needs-work Автоматизация: PR автоматически закроется через 14 дней при отсутствии активности label Nov 13, 2023
SevereCloud
SevereCloud previously approved these changes Nov 15, 2023
@BlackySoul BlackySoul dismissed stale reviews from SevereCloud and mendrew via ed90c7a November 15, 2023 12:41
@BlackySoul BlackySoul force-pushed the blackysoul/add_close_button_modal_card branch from a4ed0af to ed90c7a Compare November 15, 2023 12:41
@inomdzhon inomdzhon added this to the v5.10.0 milestone Nov 16, 2023
Copy link
Contributor

@mendrew mendrew left a comment

Choose a reason for hiding this comment

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

👍

@BlackySoul BlackySoul merged commit f1a7171 into master Nov 20, 2023
24 checks passed
@BlackySoul BlackySoul deleted the blackysoul/add_close_button_modal_card branch November 20, 2023 10:41
vkcom-publisher pushed a commit that referenced this pull request Nov 20, 2023
* feat(ModalCard): add dismissButtonMode

* fix(ModalCard): resolve conflict + fix safe offset + add doc

* CHORE: Update screenshots

* fix(ModalCard): another spacing iteration

* chore: update screenshots

---------

Co-authored-by: GitHub Action <[email protected]>
@vkcom-publisher
Copy link
Contributor

v5.10.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v5 Автоматизация: PR продублируется в ветку v5
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants