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

fix(SubnavigationBar): ignore falsy children #6442

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

BlackySoul
Copy link
Contributor

@BlackySoul BlackySoul commented Jan 24, 2024


  • Unit-тесты

Изменения

Используем hasReactNode(child), чтобы отфильтровать все пустые ноды

@BlackySoul BlackySoul requested a review from a team as a code owner January 24, 2024 10:00
@github-actions github-actions bot added the patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча label Jan 24, 2024
Copy link
Contributor

github-actions bot commented Jan 24, 2024

size-limit report 📦

Path Size
JS 348.54 KB (+0.01% 🔺)
JS (gzip) 106.6 KB (+0.02% 🔺)
JS (brotli) 88.25 KB (+0.18% 🔺)
JS import Div (tree shaking) 1.43 KB (0%)
CSS 257.19 KB (0%)
CSS (gzip) 33.71 KB (0%)
CSS (brotli) 27.38 KB (0%)

Copy link

codesandbox-ci bot commented Jan 24, 2024

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 79aa726:

Sandbox Source
VKUI TypeScript Configuration

Copy link
Contributor

github-actions bot commented Jan 24, 2024

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Jan 24, 2024

👀 Docs deployed

Commit 79aa726

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (43e7905) 81.98% compared to head (79aa726) 82.00%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6442      +/-   ##
==========================================
+ Coverage   81.98%   82.00%   +0.02%     
==========================================
  Files         327      327              
  Lines       10135    10149      +14     
  Branches     3412     3418       +6     
==========================================
+ Hits         8309     8323      +14     
  Misses       1826     1826              
Flag Coverage Δ
unittests 82.00% <100.00%> (+0.02%) ⬆️

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 Jan 24, 2024
@BlackySoul BlackySoul merged commit c913f62 into master Jan 24, 2024
25 checks passed
@BlackySoul BlackySoul deleted the fix/6111/SubnavigationBar_fix_empty_child branch January 24, 2024 16:43
vkcom-publisher pushed a commit that referenced this pull request Jan 24, 2024
* fix(SubnavigationBar): ignore falsy children

* Fix review notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Автоматизация: PR продублируется в ветку последнего минорного релиза для выпуска патча
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: SubnavigationBar mode="fixed" неправильно отображается
3 participants