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(PanelHeader): rename boolean props #6277

Merged
merged 7 commits into from
Dec 28, 2023

Conversation

BlackySoul
Copy link
Contributor

@BlackySoul BlackySoul commented Dec 14, 2023


- [ ] Unit-тесты

  • e2e-тесты
  • Дизайн-ревью
  • Документация фичи
  • Гайд миграции

Описание

Проблема: проп separator в PanelHeader так же аффектит spacing между шапкой и контентом на не мобильных экранах, из-за этого могли ловить вот такое невалидное поведение:
image

Изменения

  • Почистила стили в Panel, связанные с visor и separator, они дублируют друг друга
  • Поправила документацию во View, сейчас страница не открывается совсем
  • Добила в PanelHeader проп delimiter, который позволяет управлять разделителями.

@BlackySoul BlackySoul requested a review from a team as a code owner December 14, 2023 07:00
@BlackySoul BlackySoul self-assigned this Dec 14, 2023
@BlackySoul BlackySoul added this to the v6 milestone Dec 14, 2023
Copy link
Contributor

github-actions bot commented Dec 14, 2023

size-limit report 📦

Path Size
JS 347.62 KB (-0.03% 🔽)
JS (gzip) 106.29 KB (+0.01% 🔺)
JS (brotli) 87.81 KB (+0.01% 🔺)
JS import Div (tree shaking) 1.43 KB (0%)
CSS 256.49 KB (-0.6% 🔽)
CSS (gzip) 33.59 KB (-0.21% 🔽)
CSS (brotli) 27.28 KB (-0.24% 🔽)

Copy link

codesandbox-ci bot commented Dec 14, 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 deb5322:

Sandbox Source
VKUI TypeScript Configuration

Copy link
Contributor

github-actions bot commented Dec 14, 2023

e2e tests

Playwright Report

Copy link
Contributor

github-actions bot commented Dec 14, 2023

👀 Docs deployed

Commit deb5322

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (03d7a58) 81.25% compared to head (deb5322) 81.26%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6277   +/-   ##
=======================================
  Coverage   81.25%   81.26%           
=======================================
  Files         326      326           
  Lines       10104    10108    +4     
  Branches     3393     3397    +4     
=======================================
+ Hits         8210     8214    +4     
  Misses       1894     1894           
Flag Coverage Δ
unittests 81.26% <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.

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.

🔥

объединить всё в delemiter – гениально! 💡

добавил несколько комментов с предложениями

packages/vkui/src/components/PanelHeader/PanelHeader.tsx Outdated Show resolved Hide resolved
packages/vkui/src/components/PanelHeader/PanelHeader.tsx Outdated Show resolved Hide resolved
packages/vkui/src/components/PanelHeader/PanelHeader.tsx Outdated Show resolved Hide resolved
packages/vkui/src/components/PanelHeader/Readme.md Outdated Show resolved Hide resolved
packages/vkui/src/components/View/Readme.md Outdated Show resolved Hide resolved
@BlackySoul BlackySoul force-pushed the feat/6264/PanelHeader_rename_separator_props branch from 4ad3b89 to 5cc0c27 Compare December 14, 2023 17:55
SevereCloud
SevereCloud previously approved these changes Dec 15, 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.

Классно придумано! 🔥

Ждёмс новое имя для visor ✍️

mendrew
mendrew previously approved these changes Dec 18, 2023
inomdzhon
inomdzhon previously approved these changes Dec 18, 2023
@BlackySoul BlackySoul dismissed stale reviews from inomdzhon and mendrew via efc5b20 December 21, 2023 06:15
mendrew
mendrew previously approved these changes Dec 21, 2023
inomdzhon
inomdzhon previously approved these changes Dec 21, 2023
@BlackySoul BlackySoul removed their assignment Dec 22, 2023
Zaycevq
Zaycevq previously approved these changes Dec 27, 2023
Copy link

@Zaycevq Zaycevq 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 assigned BlackySoul and unassigned BlackySoul Dec 28, 2023
@BlackySoul BlackySoul dismissed stale reviews from Zaycevq, inomdzhon, and mendrew via deb5322 December 28, 2023 06:00
@BlackySoul BlackySoul force-pushed the feat/6264/PanelHeader_rename_separator_props branch from efc5b20 to deb5322 Compare December 28, 2023 06:00
@BlackySoul BlackySoul merged commit f7c9098 into master Dec 28, 2023
25 checks passed
@BlackySoul BlackySoul deleted the feat/6264/PanelHeader_rename_separator_props branch December 28, 2023 10:24
@inomdzhon inomdzhon removed this from the v6 milestone Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants