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

refactor: migration_v6.md #6238

Merged
merged 5 commits into from
Dec 8, 2023
Merged

Conversation

inomdzhon
Copy link
Contributor

@inomdzhon inomdzhon commented Dec 8, 2023

Описание

  • Добавил блок "Содержание".

    Для этого в Styleguide добавил возможность навигироваться по заголовкам.

    Пример использования:

    <a href="{{anchor}}">Some head</a>
    
    ## Some head
  • Отформатировал текста.
  • Изменил структуру.

Изменения

stylguide/utils/third-party добавил несколько утилит, которые помогают конвертировать любой текст в kebab-case. Забрал kebabCase из lodash, а getTextFromChildren из react-children-utils (скорее копипастнул из packages/vkui/lib/children).

- Добавил блок "Содержание". Для это в Styleguide добавил возможность навигироваться по заголовкам.
- Отформатировал текста.
- Изменил структуру.
@inomdzhon inomdzhon added this to the v6 milestone Dec 8, 2023
@inomdzhon inomdzhon self-assigned this Dec 8, 2023
@inomdzhon inomdzhon requested a review from a team as a code owner December 8, 2023 12:24
Copy link
Contributor

github-actions bot commented Dec 8, 2023

👀 Docs deployed

Commit aa93aad

Copy link

codesandbox-ci bot commented Dec 8, 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 aa93aad:

Sandbox Source
VKUI TypeScript Configuration

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b52a56d) 81.14% compared to head (aa93aad) 81.14%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6238   +/-   ##
=======================================
  Coverage   81.14%   81.14%           
=======================================
  Files         324      324           
  Lines       10091    10091           
  Branches     3386     3386           
=======================================
  Hits         8188     8188           
  Misses       1903     1903           
Flag Coverage Δ
unittests 81.14% <ø> (ø)

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.

BlackySoul
BlackySoul previously approved these changes Dec 8, 2023
BlackySoul
BlackySoul previously approved these changes Dec 8, 2023
BlackySoul
BlackySoul previously approved these changes Dec 8, 2023
@inomdzhon inomdzhon merged commit 408f22b into master Dec 8, 2023
15 checks passed
@inomdzhon inomdzhon deleted the imirdzhamolov/fix/migration_v6_typo branch December 8, 2023 13:04
inomdzhon added a commit that referenced this pull request Dec 13, 2023
Используем `lodash` и `react-children-utilities`.

- caused by #6238
inomdzhon added a commit that referenced this pull request Dec 13, 2023
inomdzhon added a commit that referenced this pull request Dec 13, 2023
#6273)

h2. Описание

Исправил техдолги:

- Удалил `styleguide/utils/thirt-party/`, затащив `lodash` и `react-children-utilities`. В #6238 делал решение в лоб.
- В `styleguide/Components/Heading/HeadingRenderer.js` заменил `<Headline level="1" />`  на `<Title level="3" />`, чтобы заголовок третьего уровня был более акцентным по сравнению с текстом этого раздела.

h2. Изменения

- Добавил `tsconfig.json`. Из-за того, что нет `tsconfig.json` в VSCode не работал ESLint.
  - caused by #4250
- `migration_v6.md` – поправил текст в `Компоненты | Accordion`, чтобы не было дублирования названия компонента.
- Поправил уровень заголовков в `ModalRoot`, `Slider` и `Tabs`.
@vkcom-publisher
Copy link
Contributor

v6.0.0 🎉

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