Skip to content

feat(ModalPage,ModalCard,ModalRoot): add prop disableModalOverlay#8815

Merged
EldarMuhamethanov merged 8 commits intomasterfrom
e.muhamethanov/8071/add-prop-disableModalOverlay
Aug 8, 2025
Merged

feat(ModalPage,ModalCard,ModalRoot): add prop disableModalOverlay#8815
EldarMuhamethanov merged 8 commits intomasterfrom
e.muhamethanov/8071/add-prop-disableModalOverlay

Conversation

@EldarMuhamethanov
Copy link
Copy Markdown
Contributor


  • Unit-тесты
  • e2e-тесты
  • Release notes

Описание

Нужно добавить свойство disableModalOverlay для ModalCard, ModalPage, ModalRoot. При использовании этот флага должно отключаться отображение и взаимодействие с фоном.

Изменения

  • Добавил флаг disableModalOverlay для ModalCard, ModalPage, ModalRoot
  • При прокидывании флага убрал рендеринг ModalOverlay, а также для ModalOutlet добавил свойство pointer-events: none, чтобы можно было кликать сквозь

Release notes

Улучшения

  • Для ModalCard, ModalPage, ModalRoot добавлено свойство disableModalOverlay, которое позволяет отключить отображение фона модалки

@EldarMuhamethanov EldarMuhamethanov requested a review from a team as a code owner July 31, 2025 12:36
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 31, 2025

size-limit report 📦

Path Size
JS 416.63 KB (+0.12% 🔺)
JS (gzip) 123.97 KB (+0.07% 🔺)
JS (brotli) 101.68 KB (-0.02% 🔽)
JS import Div (tree shaking) 1.56 KB (0%)
CSS 350.11 KB (+0.03% 🔺)
CSS (gzip) 43.43 KB (+0.03% 🔺)
CSS (brotli) 34.63 KB (-0.02% 🔽)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 31, 2025

e2e tests

Playwright Report

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.96%. Comparing base (baddd88) to head (5862de9).
⚠️ Report is 29 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8815   +/-   ##
=======================================
  Coverage   95.95%   95.96%           
=======================================
  Files         419      419           
  Lines       12171    12189   +18     
  Branches     4049     4060   +11     
=======================================
+ Hits        11679    11697   +18     
  Misses        492      492           
Flag Coverage Δ
unittests 95.96% <100.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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 31, 2025

👀 Docs deployed

📦 Package ✅

yarn add @vkontakte/vkui@https://vkui-screenshot.hb.bizmrg.com/pull/8815/5862de94f83279ebcd1d0290654ad3a1b1df1443/pkg/@vkontakte/vkui/_pkg.tgz

Commit 5862de9

Copy link
Copy Markdown
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.

🎉 🙏

inomdzhon
inomdzhon previously approved these changes Jul 31, 2025
Copy link
Copy Markdown
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.

👏👏👏

@EldarMuhamethanov EldarMuhamethanov merged commit c608a82 into master Aug 8, 2025
17 of 20 checks passed
@EldarMuhamethanov EldarMuhamethanov deleted the e.muhamethanov/8071/add-prop-disableModalOverlay branch August 8, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: добавить параметр disableModalOverlay в ModalRoot / ModalPage / ModalCard

4 participants