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

docs(styleguide): fix configuration #5523

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

inomdzhon
Copy link
Contributor

SectionRenderer

Не использовался созданный styleguide/Components/Section/SectionRenderer.js, а бралась из либы @rsg-components/*. Из-за чего для заголовка страницы применялся name (текст, который используется как имя страницы), а не title (текст, который отображается в слева в меню)

image

Было

image

Стало

contentTitle

Заодно добавил новый параметр, который позволит задавать свой заголовок страницы.

Полезно когда хотим отметить принадлежность страницы к какой-либо группе.

Пример из #5496. Отмечаем, что эта страницы является подразделом.

Почему-то собственная обёртка не использовался, а бралась из
либы `@rsg-components/*`.
`contentTitle` полезен когда необходимо добавить в заголовок
страницы дополнительную мета инфоррмацию. Например,
добавить префикс перед `title`.
@inomdzhon inomdzhon added this to the v5.7.0 milestone Jul 26, 2023
@inomdzhon inomdzhon requested a review from a team as a code owner July 26, 2023 08:36
@inomdzhon inomdzhon self-assigned this Jul 26, 2023
@github-actions
Copy link
Contributor

👀 Docs deployed

Commit 64627ad

@codesandbox-ci
Copy link

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 64627ad:

Sandbox Source
VKUI TypeScript Configuration

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e0a424d) 81.69% compared to head (64627ad) 81.69%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5523   +/-   ##
=======================================
  Coverage   81.69%   81.69%           
=======================================
  Files         286      286           
  Lines        9575     9575           
  Branches     3054     3054           
=======================================
  Hits         7822     7822           
  Misses       1753     1753           
Flag Coverage Δ
unittests 81.69% <ø> (ø)

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.

@inomdzhon inomdzhon merged commit 29c5b59 into master Jul 26, 2023
14 checks passed
@inomdzhon inomdzhon deleted the imirdzhamolov/fix/docs-styleguide-configuration branch July 26, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants