-
Notifications
You must be signed in to change notification settings - Fork 185
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: Help styleguidist to detect proper name for Tabs page #8203
Conversation
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. |
size-limit report 📦
|
e2e tests |
👀 Docs deployed
Commit 2b93483 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8203 +/- ##
=======================================
Coverage 95.50% 95.51%
=======================================
Files 403 403
Lines 11495 11515 +20
Branches 3807 3819 +12
=======================================
+ Hits 10978 10998 +20
Misses 517 517
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Исправляем отображение `Tabs` страницы в версиях доки v7.1.0 и v7.1.1, так как сейчас в этих версиях страница отображается как https://vkcom.github.io/VKUI/7.1.0/#/TabsModeContext и пропсы соответствуют `TabsModeContext`. Применил патч из #8203 конкретно к коду v7.1.0 и v7.1.1, для каждой версии пересобрал `styleguide` и результат добавил в ветку `gh-pages`.
✅ v7.1.2 🎉 |
В доке, начиная в версиях 7.1.0 7.1.1 пропала страница Tabs. Точнее она есть, но под другим именем
TabsModeContext
: https://vkcom.github.io/VKUI/7.1.0/#/TabsModeContextStyleguide
перестал адекватно понимать где в файлеTabs
именно компонентTabs
.Можно были либо перенести
TabsModeContext
из файлаTabs
в отдельный, либо добавитьdisplayName
в соответсвии с документацией styleguideПроверил по коду, с остальными компонентами такой проблемы нету.
Явных причин по коду в изменениях между 7.0.1 и 7.1.0 для такого эффекта не заметил, возможно, что что-то в типах поменялось.